瀏覽代碼

matchSubtypes is now default set to true

Simon Van Mierlo 8 年之前
父節點
當前提交
69c476e2a2

+ 1 - 1
libmt.js

@@ -303,7 +303,7 @@ with AToMPM.  If not, see <http://www.gnu.org/licenses/>.
 					[{'name':'__pLabel',			  'type':'string',	'default':''},
 					 {'name':'__pPivotIn',			  'type':'string',	'default':''}, /* hergin motif-integration */
 					 {'name':'__pPivotOut',			  'type':'string',	'default':''}, /* hergin motif-integration */
-					 {'name':'__pMatchSubtypes', 'type':'boolean',	'default':false}];
+					 {'name':'__pMatchSubtypes', 'type':'boolean',	'default':true}];
 				for( var i in asmm.types[t] )
 					patternTypes['__p'+t].push(
 						{'name':asmm.types[t][i]['name'],

+ 1 - 1
users/(default)/Formalisms/__LanguageSyntax__/SimpleClassDiagram/RAMification/rules/R_addMatchSubtypes.model

@@ -2295,7 +2295,7 @@
 				},
 				"attributes": {
 					"type": "code",
-					"value": "newAttr = {'name': '__pMatchSubtypes', 'type': 'boolean', 'default': False}\nresult = getAttr()\nresult.append(newAttr)"
+					"value": "newAttr = {'name': '__pMatchSubtypes', 'type': 'boolean', 'default': True}\nresult = getAttr()\nresult.append(newAttr)"
 				},
 				"constraints": {
 					"type": "code",