Changeset 931
- Timestamp:
- 05/24/12 12:04:50 (12 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
dpf-model-editor/trunk/plugins/no.hib.dpf.codegen.xpand.metamodel/src/no/hib/dpf/codegen/xpand/metamodel/typesystem/types/ArrowType.java
r913 r931 7 7 import no.hib.dpf.codegen.xpand.metamodel.DpfMetamodel; 8 8 import no.hib.dpf.codegen.xpand.metamodel.typesystem.FeatureImpl; 9 import no.hib.dpf.codegen.xpand.metamodel.typesystem.OperationImpl; 9 10 import no.hib.dpf.codegen.xpand.metamodel.typesystem.PropertyImpl; 10 11 import no.hib.dpf.codegen.xpand.metamodel.typesystem.TypeHelper; … … 64 65 }); 65 66 } 67 res.add(new OperationImpl(this, "getConstraints", new ListTypeImpl( 68 model.getTypeForName(DpfMMConstants.CONSTRAINT), model.getTypeSystem(), "List")) { 69 @Override 70 protected Object evaluateInternal(Object target, Object[] params) { 71 return arrow.getConstraints(); 72 } 73 }); 66 74 return res.toArray(new Feature[res.size()]); 67 75 }
![(please configure the [header_logo] section in trac.ini)](/trac/eclipsep/chrome/site/your_project_logo.png)