Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/edithelpers/EditHelperAdvice.xtend')
-rw-r--r--plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/edithelpers/EditHelperAdvice.xtend9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/edithelpers/EditHelperAdvice.xtend b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/edithelpers/EditHelperAdvice.xtend
index af6114a41a6..fc4df2a507d 100644
--- a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/edithelpers/EditHelperAdvice.xtend
+++ b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/xpt/diagram/edithelpers/EditHelperAdvice.xtend
@@ -19,7 +19,7 @@ import com.google.inject.Inject
import org.eclipse.papyrus.gmf.codegen.gmfgen.SpecializationType
import xpt.Common
-public class EditHelperAdvice {
+class EditHelperAdvice {
@Inject extension Common;
def className(SpecializationType it) '''«it.editHelperAdviceClassName»'''
@@ -33,15 +33,12 @@ public class EditHelperAdvice {
def EditHelperAdvice(SpecializationType it) '''
«copyright(diagramElement.diagram.editorGen)»
package «packageName(it)»;
-
+
public class «className(it)» «extendsClause(it)» {
-
- «additions(it)»
+
}
'''
- def additions(SpecializationType it) ''''''
-
def extendsClause(SpecializationType it) '''extends «superClass(it)»'''
def superClass(SpecializationType it) '''org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice'''

Back to the top