Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2006-02-13 17:19:55 +0000
committerashatalin2006-02-13 17:19:55 +0000
commit261179db3dc08ef4618d968b6a79e7dd7097e115 (patch)
tree9dc34796526693713a2bbe7772353dc730c0adf3 /plugins/org.eclipse.gmf.codegen/templates/editor/VisualIDRegistry.javajet
parentecbc345c467e4ae99fecad96bb95cfd80f082ad4 (diff)
downloadorg.eclipse.gmf-tooling-261179db3dc08ef4618d968b6a79e7dd7097e115.tar.gz
org.eclipse.gmf-tooling-261179db3dc08ef4618d968b6a79e7dd7097e115.tar.xz
org.eclipse.gmf-tooling-261179db3dc08ef4618d968b6a79e7dd7097e115.zip
#127497 Creating diagram file by InitDiagramFileAction in arbitrary location
+ correcting the case of OCL-related classes
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates/editor/VisualIDRegistry.javajet')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/editor/VisualIDRegistry.javajet4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/editor/VisualIDRegistry.javajet b/plugins/org.eclipse.gmf.codegen/templates/editor/VisualIDRegistry.javajet
index 9c4dfca84..8b527ae40 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/editor/VisualIDRegistry.javajet
+++ b/plugins/org.eclipse.gmf.codegen/templates/editor/VisualIDRegistry.javajet
@@ -428,7 +428,7 @@ for (Iterator it = genDiagram.eAllContents(); it.hasNext();) {
/**
* @generated
*/
- private <%=importManager.getImportedName("org.eclipse.emf.query.ocl.conditions.OclConstraintCondition")%> condition;
+ private <%=importManager.getImportedName("org.eclipse.emf.query.ocl.conditions.OCLConstraintCondition")%> condition;
/**
* @generated
@@ -461,7 +461,7 @@ for (Iterator it = genDiagram.eAllContents(); it.hasNext();) {
private Boolean evaluate(EObject context) {
this.evalContext = context.eClass();
if(condition == null) {
- condition = new OclConstraintCondition(body, evalContext);
+ condition = new <%=importManager.getImportedName("org.eclipse.emf.query.ocl.conditions.OCLConstraintCondition")%>(body, evalContext);
}
if(condition != null) {
return booleanCast(condition.evaluate(context));

Back to the top