Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskovalsky2012-02-06 15:53:33 -0500
committermgolubev2012-04-29 12:58:31 -0400
commita4e9f384aff27b519ebe450cb1800640b472eeba (patch)
tree7f8e0435dfa1b792837bb3b80fe4275b7af768e3 /plugins/org.eclipse.gmf.codegen/models/gmfgen.emf
parent6c0266e4294623aeb2d57434b6797e2d1af567ad (diff)
downloadorg.eclipse.gmf-tooling-a4e9f384aff27b519ebe450cb1800640b472eeba.tar.gz
org.eclipse.gmf-tooling-a4e9f384aff27b519ebe450cb1800640b472eeba.tar.xz
org.eclipse.gmf-tooling-a4e9f384aff27b519ebe450cb1800640b472eeba.zip
Intorducing GenVisualEffect's - the codegen input that bounds it all
together
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/models/gmfgen.emf')
-rw-r--r--plugins/org.eclipse.gmf.codegen/models/gmfgen.emf14
1 files changed, 12 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/models/gmfgen.emf b/plugins/org.eclipse.gmf.codegen/models/gmfgen.emf
index a67df8610..dcdcd6195 100644
--- a/plugins/org.eclipse.gmf.codegen/models/gmfgen.emf
+++ b/plugins/org.eclipse.gmf.codegen/models/gmfgen.emf
@@ -19,7 +19,7 @@
@constraints("import"="http://www.eclipse.org/gmf/runtime/1.0.0/notation")
package gmfgen;
-//import "http://www.eclipse.org/emf/2002/GenModel";
+import "http://www.eclipse.org/emf/2002/Ecore";
import "platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.ecore";
// TODO introduce sourceRoot argument (or few of them?) to allow targets other than /src/
@@ -1635,4 +1635,14 @@ class CustomParser extends GenParserImplementation {
class ExternalParser extends GenParserImplementation {
@genmodel(documentation="Optionally, override hint value")
attr String[?] hint;
-} \ No newline at end of file
+}
+
+class GenVisualEffect extends CustomBehaviour {
+ attr String name;
+ attr String pinKind; // TODO: remove when graphdef will be accessible
+ attr String operationName; // TODO: remove when graphdef will be accessible
+ attr String operationType; // TODO: remove when graphdef will be accessible
+ attr String oclExpression;
+ op String getOclExpressionString();
+ op ecore.EClassifier getOperationRuntimeType();
+}

Back to the top