diff --git a/bundles/specmate-model/.project b/bundles/specmate-model/.project
new file mode 100644
index 000000000..ec203a9b5
--- /dev/null
+++ b/bundles/specmate-model/.project
@@ -0,0 +1,17 @@
+
+
+ specmate-model
+ Project specmate-model created by Buildship.
+
+
+
+
+ org.eclipse.buildship.core.gradleprojectbuilder
+
+
+
+
+
+ org.eclipse.buildship.core.gradleprojectnature
+
+
diff --git a/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.css b/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.css
index 2b7260076..d275b031f 100644
--- a/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.css
+++ b/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.css
@@ -4,4 +4,8 @@
.top-margin {
margin-top: 8px;
+}
+
+.monospaced {
+ font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
}
\ No newline at end of file
diff --git a/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.html b/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.html
index ddb27570e..6809a9d1d 100644
--- a/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.html
+++ b/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.html
@@ -57,7 +57,7 @@
{{errorMessage}}
-
+
diff --git a/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.ts b/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.ts
index 205bb2c71..e743b9c8b 100644
--- a/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.ts
+++ b/web/src/app/modules/views/main/editors/modules/contents-container/components/ceg-model-container.component.ts
@@ -12,6 +12,7 @@ import { ConfirmationModal } from '../../../../../../notification/modules/modals
import { AdditionalInformationService } from '../../../../../side/modules/links-actions/services/additional-information.service';
import { ClipboardService } from '../../tool-pallette/services/clipboard-service';
import { TestSpecificationContentContainerBase } from '../base/testspecification-generatable-content-container-base';
+import { min } from 'rxjs/operators';
@Component({
moduleId: module.id.toString(),
@@ -31,7 +32,24 @@ export class CEGModelContainer extends TestSpecificationContentContainerBase Type.is(element, CEGModel);
@@ -39,13 +57,14 @@ export class CEGModelContainer extends TestSpecificationContentContainerBase 0) {
- element.modelRequirements = this.modelDescription;
+ if (description.length > 0) {
+ element.modelRequirements = description;
await this.dataService.updateElement(element, true, Id.uuid);
await this.dataService.commit(this.translate.instant('save'));
await this.dataService.performOperations(element.url, 'generateModel');
@@ -57,7 +76,7 @@ export class CEGModelContainer extends TestSpecificationContentContainerBase