Explorar o código

provided sensible defaults for Text class

Simon Van Mierlo %!s(int64=9) %!d(string=hai) anos
pai
achega
45a36b394b

+ 3 - 3
users/(default)/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons.metamodel

@@ -349,9 +349,9 @@
 								"value": {
 									"stroke": "#000000",
 									"stroke-dasharray": "",
-									"fill": "#ffffff",
-									"fill-opacity": 0.75,
-									"font-size": "20px",
+									"fill": "#000000",
+									"fill-opacity": 1,
+									"font-size": "12px",
 									"stroke-width": 1
 								}
 							},

+ 10 - 8
users/(default)/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons.model

@@ -1181,9 +1181,9 @@
 									"value": {
 										"stroke": "#000000",
 										"stroke-dasharray": "",
-										"fill": "#ffffff",
-										"fill-opacity": 0.75,
-										"font-size": "20px",
+										"fill": "#000000",
+										"fill-opacity": 1,
+										"font-size": "12px",
 										"stroke-width": 1
 									}
 								},
@@ -23631,7 +23631,8 @@
 		},
 		"edges": [],
 		"metamodels": [
-			"/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons"
+			"/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.defaultIcons",
+			"/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram.defaultIcons"
 		]
 	},
 	"asm": {
@@ -23859,9 +23860,9 @@
 					"value": {
 						"stroke": "#000000",
 						"stroke-dasharray": "",
-						"fill": "#ffffff",
-						"fill-opacity": 0.75,
-						"font-size": "20px",
+						"fill": "#000000",
+						"fill-opacity": 1,
+						"font-size": "12px",
 						"stroke-width": 1
 					}
 				},
@@ -26009,7 +26010,8 @@
 			}
 		],
 		"metamodels": [
-			"/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax"
+			"/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax",
+			"/Formalisms/__LanguageSyntax__/SimpleClassDiagram/SimpleClassDiagram"
 		]
 	}
 }

+ 10 - 10
users/(default)/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax.metamodel

@@ -104,7 +104,7 @@
 					"stroke": "#000000",
 					"stroke-dasharray": "",
 					"fill": "#ffffff",
-					"fill-opacity": 0.75,
+					"fill-opacity": 1,
 					"font-size": "20px",
 					"stroke-width": 1,
 					"arrow-start": "none",
@@ -145,7 +145,7 @@
 					"stroke": "#000000",
 					"stroke-dasharray": "",
 					"fill": "#ffffff",
-					"fill-opacity": 0.75,
+					"fill-opacity": 1,
 					"font-size": "20px",
 					"stroke-width": 1,
 					"arrow-start": "none",
@@ -176,7 +176,7 @@
 					"stroke": "#000000",
 					"stroke-dasharray": "",
 					"fill": "#ffffff",
-					"fill-opacity": 0.75,
+					"fill-opacity": 1,
 					"font-size": "20px",
 					"stroke-width": 1,
 					"arrow-start": "none",
@@ -212,7 +212,7 @@
 					"stroke": "#000000",
 					"stroke-dasharray": "",
 					"fill": "#ffffff",
-					"fill-opacity": 0.75,
+					"fill-opacity": 1,
 					"font-size": "20px",
 					"stroke-width": 1,
 					"arrow-start": "none",
@@ -248,7 +248,7 @@
 					"stroke": "#000000",
 					"stroke-dasharray": "",
 					"fill": "#ffffff",
-					"fill-opacity": 0.75,
+					"fill-opacity": 1,
 					"font-size": "20px",
 					"stroke-width": 1,
 					"arrow-start": "none",
@@ -284,7 +284,7 @@
 					"stroke": "#000000",
 					"stroke-dasharray": "",
 					"fill": "#ffffff",
-					"fill-opacity": 0.75,
+					"fill-opacity": 1,
 					"font-size": "20px",
 					"stroke-width": 1,
 					"arrow-start": "none",
@@ -314,8 +314,8 @@
 				"default": {
 					"stroke": "#000000",
 					"stroke-dasharray": "",
-					"fill": "#ffffff",
-					"fill-opacity": 0.75,
+					"fill": "#000000",
+					"fill-opacity": 1,
 					"font-size": "20px",
 					"stroke-width": 1,
 					"arrow-start": "none",
@@ -346,7 +346,7 @@
 					"stroke": "#000000",
 					"stroke-dasharray": "",
 					"fill": "#ffffff",
-					"fill-opacity": 0.75,
+					"fill-opacity": 1,
 					"font-size": "20px",
 					"stroke-width": 1,
 					"arrow-start": "none",
@@ -425,7 +425,7 @@
 					"stroke": "#000000",
 					"stroke-dasharray": "",
 					"fill": "#ffffff",
-					"fill-opacity": 0.75,
+					"fill-opacity": 1,
 					"font-size": "20px",
 					"stroke-width": 1,
 					"arrow-start": "none",

+ 16 - 2
users/(default)/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntaxMM.model

@@ -3066,7 +3066,7 @@
 							"18": {
 								"textContent": {
 									"type": "string",
-									"value": "textContent"
+									"value": "textContent\nstyle"
 								},
 								"style": {
 									"type": "map<string,string>",
@@ -5172,7 +5172,7 @@
 								"stroke": "#000000",
 								"stroke-dasharray": "",
 								"fill": "#ffffff",
-								"fill-opacity": 0.75,
+								"fill-opacity": 1,
 								"font-size": "20px",
 								"stroke-width": 1,
 								"arrow-start": "none",
@@ -5411,6 +5411,20 @@
 							"name": "textContent",
 							"type": "string",
 							"default": "T..."
+						},
+						{
+							"name": "style",
+							"type": "map<string,string>",
+							"default": {
+								"stroke": "#000000",
+								"stroke-dasharray": "",
+								"fill": "#000000",
+								"fill-opacity": 1,
+								"font-size": "20px",
+								"stroke-width": 1,
+								"arrow-start": "none",
+								"arrow-end": "none"
+							}
 						}
 					]
 				},