Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbblajer2007-02-05 15:57:37 +0000
committerbblajer2007-02-05 15:57:37 +0000
commit3493ad9aededb6a19dfac03c60971c7ac16e86b4 (patch)
tree51dae8112f20547d4367676e2a3230da9449b1cb
parentdf250ba38229b669418c2be75a852703e0ef7e16 (diff)
downloadorg.eclipse.gmf-tooling-3493ad9aededb6a19dfac03c60971c7ac16e86b4.tar.gz
org.eclipse.gmf-tooling-3493ad9aededb6a19dfac03c60971c7ac16e86b4.tar.xz
org.eclipse.gmf-tooling-3493ad9aededb6a19dfac03c60971c7ac16e86b4.zip
added copyright to generated code
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Editor.xpt2
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Plugin.xpt9
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/templates/xpt/providers/MarkerNavigationProvider.xpt1
3 files changed, 8 insertions, 4 deletions
diff --git a/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Editor.xpt b/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Editor.xpt
index 4836f957d..eec7b7416 100644
--- a/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Editor.xpt
+++ b/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Editor.xpt
@@ -25,6 +25,7 @@
«ENDDEFINE»
«DEFINE EditorPart FOR gmfgen::GenEditorView-»
+«EXPAND xpt::Common::copyright FOR editorGen»
package «packageName»;
«EXPAND xpt::Common::generatedClassComment»
@@ -57,6 +58,7 @@ public class «className» extends org.eclipse.gmf.runtime.lite.parts.DiagramEdito
«ENDDEFINE»
«DEFINE ViewPart FOR gmfgen::GenEditorView-»
+«EXPAND xpt::Common::copyright FOR editorGen»
package «packageName»;
«EXPAND xpt::Common::generatedClassComment»
diff --git a/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Plugin.xpt b/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Plugin.xpt
index 54a3753a4..5097134fd 100644
--- a/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Plugin.xpt
+++ b/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/Plugin.xpt
@@ -17,6 +17,7 @@
«EXTENSION xpt::providers::ValidationUtils»
«DEFINE Plugin FOR gmfgen::GenPlugin-»
+«EXPAND xpt::Common::copyright FOR editorGen»
package «editorGen.editor.packageName»;
«EXPAND xpt::Common::generatedClassComment»
@@ -186,11 +187,11 @@ public class «activatorClassName» extends org.eclipse.ui.plugin.AbstractUIPlugin
}
«EXPAND xpt::Common::generatedMemberComment("Respects images residing in any plug-in. If path is relative,\n" +
- "then this bundle is looked up for the image, otherwise, for absolute \n" +
- "path, first segment is taken as id of plug-in with image\n" +
+ "then this bundle is looked up for the image, otherwise, for absolute \n" +
+ "path, first segment is taken as id of plug-in with image\n" +
"\n" +
- "@param path the path to image, either absolute (with plug-in id as first segment), or relative for bundled images\n" +
- "@return the image descriptor")»
+ "@param path the path to image, either absolute (with plug-in id as first segment), or relative for bundled images\n" +
+ "@return the image descriptor")»
public static org.eclipse.jface.resource.ImageDescriptor findImageDescriptor(String path) {
final org.eclipse.core.runtime.IPath p = new org.eclipse.core.runtime.Path(path);
if (p.isAbsolute() && p.segmentCount() > 1) {
diff --git a/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/providers/MarkerNavigationProvider.xpt b/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/providers/MarkerNavigationProvider.xpt
index d4cb524e1..29ed05971 100644
--- a/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/providers/MarkerNavigationProvider.xpt
+++ b/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/providers/MarkerNavigationProvider.xpt
@@ -15,6 +15,7 @@
«IMPORT "http://www.eclipse.org/emf/2002/GenModel"»
«DEFINE MarkerNavigationProvider FOR gmfgen::GenDiagram-»
+«EXPAND xpt::Common::copyright FOR editorGen»
package «providersPackageName»;
«EXPAND xpt::Common::generatedClassComment»

Back to the top