Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/children/Figure.javajet3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/children/Figure.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/children/Figure.javajet
index 3a1192f49..b687ec355 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/children/Figure.javajet
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/children/Figure.javajet
@@ -10,6 +10,7 @@ final List/*<Figure>*/ fieldsRequired = new LinkedList/*<Figure>*/();
final Stack/*GraphDefDispatcher.LayoutArgs*/ contextStack = new Stack/*GraphDefDispatcher.LayoutArgs*/();
final LinkedList queue = new LinkedList();
final Object marker = new Object();
+final NamingStrategy namingStrategy = NamingStrategy.INSTANCE;
class FieldSupport {
private final Figure myRoot;
@@ -83,7 +84,7 @@ if (fieldSupport.isFieldRequired(nextChild)){
/**
* @generated
*/
- public <%=nextClassName%> getFigure<%=next.getName()%>() {
+ public <%=nextClassName%> <%=namingStrategy.getChildFigureGetterName(next)%>() {
return f<%=CodeGenUtil.capName(next.getName())%>;
}

Back to the top