Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2010-02-26 12:50:16 -0500
committeratikhomirov2010-02-26 12:50:16 -0500
commite7e5b07cffc3d75fec6498bb764e6fa6c525e153 (patch)
treecac76a259d33af7f75b8e8feedc25c35222de2bb /plugins/org.eclipse.gmf.codegen/models/gmfgen.emf
parentcc1335b08af4ff3613b29c593e02dca6099f2b11 (diff)
downloadorg.eclipse.gmf-tooling-e7e5b07cffc3d75fec6498bb764e6fa6c525e153.tar.gz
org.eclipse.gmf-tooling-e7e5b07cffc3d75fec6498bb764e6fa6c525e153.tar.xz
org.eclipse.gmf-tooling-e7e5b07cffc3d75fec6498bb764e6fa6c525e153.zip
[242150] Allow specification of the output folder
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/models/gmfgen.emf')
-rw-r--r--plugins/org.eclipse.gmf.codegen/models/gmfgen.emf4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/models/gmfgen.emf b/plugins/org.eclipse.gmf.codegen/models/gmfgen.emf
index 98ec1ae84..3ebf25af5 100644
--- a/plugins/org.eclipse.gmf.codegen/models/gmfgen.emf
+++ b/plugins/org.eclipse.gmf.codegen/models/gmfgen.emf
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2005, 2009 Borland Software Corporation
+ * Copyright (c) 2005, 2010 Borland Software Corporation and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -58,6 +58,8 @@ class GenEditorGenerator {
@constraints(ocl="labelParsers.oclIsUndefined() implies (diagram.getAllNodes()->forAll(labels->size()=0) and diagram.links->forAll(labels->size()=0) and not diagram.childNodes->exists(oclIsKindOf(GenChildLabelNode)))", description="No label may be declared without a parser")
val GenParsers[?]#editorGen labelParsers; // labelParser is permitted to be null only when there are basic nodes and links only, no labels
val GenContextMenu[*] contextMenus; // XXX perhaps, as GenPlugin attribute instead?
+ @genmodel(documentation="The target directory for generated editor code. Similar to EMF's GenModel#editorDirectory")
+ attr String pluginDirectory;
}
@constraints(ocl="diagramRunTimeClass.ecoreClass.eAllSuperTypes->including(diagramRunTimeClass.ecoreClass)->one(ePackage.name = 'notation' and name = 'Diagram')", description="'Diagram Runtime Class' must be a notation::Diagram or sub-class")

Back to the top