blob: 85a47caaa17a9567c8cdec6954427f4077a4a49d [file] [log] [blame]
// Load the standard UML primitive types library
var libURI = M.resource.uri.createURI("platform:/plugin/org.eclipse.uml2.uml.resources/libraries/UMLPrimitiveTypes.library.uml");
var libResource = M.resource.resourceSet.createResource(libURI);
libResource.load(null);
M.resource.resourceSet.resources.add(libResource);
var p : new Property;
p.type = DataType.all.selectOne(pt|pt.name = "Integer");