Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-05-25 14:06:30 +0000
committeratikhomirov2006-05-25 14:06:30 +0000
commit166823d15faf73b5ba42a687e9276824142224d0 (patch)
tree37d1715c6954e95bf2f723771a4a88a3d6033b8e /plugins/org.eclipse.gmf.graphdef.codegen/templates
parent22dbf7d2719e585fd859932a7142e6df21d85a51 (diff)
downloadorg.eclipse.gmf-tooling-166823d15faf73b5ba42a687e9276824142224d0.tar.gz
org.eclipse.gmf-tooling-166823d15faf73b5ba42a687e9276824142224d0.tar.xz
org.eclipse.gmf-tooling-166823d15faf73b5ba42a687e9276824142224d0.zip
[mgolubev] #139148 Respect gmfgraph.compartment figure
[mgolubev] #143619 Temp fix for misassumption of ParentAssignedViewmap regarding generated getter name
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