Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2009-02-19 08:41:06 -0500
committerashatalin2009-02-19 08:41:06 -0500
commit0702375a9c3b5c7a7fbfd8752448a23dc8848f38 (patch)
tree36f7a258d664cfa616a93048989039599613961c /plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/editor/VisualIDRegistry.xpt
parent38989ace85a97bb78a15e240a3695ddfc51610b2 (diff)
downloadorg.eclipse.gmf-tooling-0702375a9c3b5c7a7fbfd8752448a23dc8848f38.tar.gz
org.eclipse.gmf-tooling-0702375a9c3b5c7a7fbfd8752448a23dc8848f38.tar.xz
org.eclipse.gmf-tooling-0702375a9c3b5c7a7fbfd8752448a23dc8848f38.zip
String escaping switched on in templates in accordance with OCL string escaping - https://bugs.eclipse.org/bugs/show_bug.cgi?id=242880.
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/editor/VisualIDRegistry.xpt')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/editor/VisualIDRegistry.xpt12
1 files changed, 5 insertions, 7 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/editor/VisualIDRegistry.xpt b/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/editor/VisualIDRegistry.xpt
index f1a4a8a91..d64ea5314 100644
--- a/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/editor/VisualIDRegistry.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/editor/VisualIDRegistry.xpt
@@ -25,10 +25,9 @@
package «editorGen.editor.packageName»;
«EXPAND xpt::Common::generatedClassComment(
- 'This registry is used to determine which type of visual object should be
-created for the corresponding Diagram, Node, ChildNode or Link represented
-by a domain model object.
-'
+ 'This registry is used to determine which type of visual object should be\n' +
+ 'created for the corresponding Diagram, Node, ChildNode or Link represented\n' +
+ 'by a domain model object.\n'
public class «visualIDRegistryClassName» {
@@ -290,9 +289,8 @@ public static int «EXPAND getLinkWithClassVisualIDMethodName»(org.eclipse.emf.ec
«DEFINE isDiagram FOR gmfgen::GenDiagram-»
«IF null <> domainDiagramElement-»
«EXPAND xpt::Common::generatedMemberComment(
- 'User can change implementation of this method to handle some specific
-situations not covered by default logic.
-'
+ 'User can change implementation of this method to handle some specific\n' +
+ 'situations not covered by default logic.\n'
private static boolean isDiagram(«EXPAND MetaModel::QualifiedClassName FOR domainDiagramElement» element) {
return true;

Back to the top