Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt19
1 files changed, 14 insertions, 5 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt b/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt
index dad7df8ef..a50919176 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/VisualEffectEditPolicy.xpt
@@ -13,17 +13,15 @@
public class «EXPAND xpt::Common::disqualifiedClassName FOR getEditPolicyQualifiedClassName()»«EXPAND extendsList» {
«EXPAND fields-»
+
+ «EXPAND _constructor-»
«EXPAND methods-»
}
«ENDDEFINE»
«DEFINE extendsList FOR gmfgen::GenVisualEffect-»
- «IF isImpactAnalyzerKind(oclExpression)-»
- extends org.eclipse.gmf.tooling.runtime.ocl.edit.policies.ImpactAnalyzerVisualEffectEditPolicyBase
- «ELSE-»
- extends org.eclipse.gmf.tooling.runtime.ocl.edit.policies.ActiveOclVisualEffectEditPolicyBase
- «ENDIF-»
+ extends org.eclipse.gmf.tooling.runtime.edit.policies.effect.AbstractOclVisualEffectEditPolicy
«ENDDEFINE»
«DEFINE fields FOR gmfgen::GenVisualEffect-»
@@ -31,6 +29,17 @@ public class «EXPAND xpt::Common::disqualifiedClassName FOR getEditPolicyQualif
public static final String KEY = "«getEditPolicyQualifiedClassName()»:KEY";
«ENDDEFINE»
+«DEFINE _constructor FOR gmfgen::GenVisualEffect-»
+ «EXPAND xpt::Common::generatedMemberComment»
+ public «EXPAND xpt::Common::disqualifiedClassName FOR getEditPolicyQualifiedClassName()»() {
+ «IF isImpactAnalyzerKind(oclExpression)-»
+ super(org.eclipse.gmf.tooling.runtime.ocl.tracker.OclTrackerFactory.Type.IMPACT_ANALYZER);
+ «ELSE-»
+ super();
+ «ENDIF-»
+ }
+«ENDDEFINE»
+
«DEFINE methods FOR gmfgen::GenVisualEffect-»
«EXPAND setVisualEffectValue-»

Back to the top