blob: 3bfa1c1f4f9aed7f38790345e97d216386fe58c0 [file] [log] [blame]
package custom
import org.eclipse.gmf.codegen.gmfgen.GenEditorGenerator
class CustomTemplate {
def packageName(GenEditorGenerator it) '''custom'''
def className(GenEditorGenerator it) '''CustomClass'''
def qualifiedClassName(GenEditorGenerator it) '''«packageName(it)».«className(it)»'''
def fullPath(GenEditorGenerator it) '''«qualifiedClassName(it)»'''
def CustomTemplate(GenEditorGenerator it) '''
package «packageName(it)»;
public class «className(it)» {
private static String SOME_VAR = "TEST_PLUGIN_NAME = «it.plugin.name»";
public void customClassMethod() {}
}
'''
}