Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-05-03 19:08:04 +0000
committerEike Stepper2013-05-03 19:08:04 +0000
commit083e1edec5813cc6a2250165ef909b65c7e9f88d (patch)
tree0048625bb5f0bf39d5e0e3f9f7b0e6020f97c4ef /plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor
parentc9c9f58577c9ef76461a8d21b79ec6fb9f60ffe0 (diff)
downloadcdo-083e1edec5813cc6a2250165ef909b65c7e9f88d.tar.gz
cdo-083e1edec5813cc6a2250165ef909b65c7e9f88d.tar.xz
cdo-083e1edec5813cc6a2250165ef909b65c7e9f88d.zip
Update copyrightsdrops/I20130503-1515
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/.api_filters32
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/org.eclipse.jdt.ui.prefs2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/META-INF/MANIFEST.MF4
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/build.properties2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/copyright.txt4
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.properties2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.xml2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/schema/org.eclipse.emf.cdo.dawn.genmodel.ui.editors.exsd23
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/editor/registry/DawnGenModelEditorRegistry.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawnCodeGenEditorPlugin.java27
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelActionBarContributor.java53
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelEditor.java155
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelModelWizard.java75
13 files changed, 198 insertions, 185 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/.api_filters b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/.api_filters
index 328460a4e9..481cfccb03 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/.api_filters
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/.api_filters
@@ -56,4 +56,36 @@
</message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawnCodeGenEditorPlugin.java" type="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation.DawnCodeGenEditorPlugin">
+ <filter id="338755678">
+ <message_arguments>
+ <message_argument value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation.DawnCodeGenEditorPlugin"/>
+ <message_argument value="copyright"/>
+ </message_arguments>
+ </filter>
+ </resource>
+ <resource path="src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelActionBarContributor.java" type="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation.DawngenmodelActionBarContributor">
+ <filter id="338755678">
+ <message_arguments>
+ <message_argument value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation.DawngenmodelActionBarContributor"/>
+ <message_argument value="copyright"/>
+ </message_arguments>
+ </filter>
+ </resource>
+ <resource path="src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelEditor.java" type="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation.DawngenmodelEditor">
+ <filter id="338755678">
+ <message_arguments>
+ <message_argument value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation.DawngenmodelEditor"/>
+ <message_argument value="copyright"/>
+ </message_arguments>
+ </filter>
+ </resource>
+ <resource path="src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelModelWizard.java" type="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation.DawngenmodelModelWizard">
+ <filter id="338755678">
+ <message_arguments>
+ <message_argument value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation.DawngenmodelModelWizard"/>
+ <message_argument value="copyright"/>
+ </message_arguments>
+ </filter>
+ </resource>
</component>
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/org.eclipse.jdt.ui.prefs
index e970bfd469..aca5a37770 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/org.eclipse.jdt.ui.prefs
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/.settings/org.eclipse.jdt.ui.prefs
@@ -64,7 +64,7 @@ org.eclipse.jdt.ui.keywordthis=false
org.eclipse.jdt.ui.ondemandthreshold=99
org.eclipse.jdt.ui.overrideannotation=true
org.eclipse.jdt.ui.staticondemandthreshold=99
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment"/><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment"/><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment"/><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*\r\n * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n * \r\n * Contributors\:\r\n * Martin Fluegge - initial API and implementation\r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author Martin Fluegge\r\n */</template><template autoinsert\="false" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment"/><template autoinsert\="false" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment"/><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment"/><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment"/><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment"/><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment"/><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*\r\n * Copyright (c) 2004-2013 Eike Stepper (Berlin, Germany) and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n * \r\n * Contributors\:\r\n * Martin Fluegge - initial API and implementation\r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author Martin Fluegge\r\n */</template><template autoinsert\="false" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment"/><template autoinsert\="false" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment"/><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment"/><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
sp_cleanup.add_default_serial_version_id=true
sp_cleanup.add_generated_serial_version_id=false
sp_cleanup.add_missing_annotations=true
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/META-INF/MANIFEST.MF
index 340fc1f250..9613fa7489 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/META-INF/MANIFEST.MF
@@ -2,13 +2,13 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor;singleton:=true
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 2.0.100.qualifier
Bundle-ClassPath: .
Bundle-Activator: org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation.DawnCodeGenEditorPlugin$Implementation
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Export-Package: org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor.registry;version="2.0.0",
+Export-Package: org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor.registry;version="2.0.100",
org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.presentation;version="2.0.0";
uses:="org.eclipse.jface.wizard,
org.eclipse.core.runtime,
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/build.properties b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/build.properties
index ee04f9c127..a345e645d3 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/build.properties
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/build.properties
@@ -1,4 +1,4 @@
-# Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+# Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/copyright.txt b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/copyright.txt
index cea141de92..bfc6e9c3e3 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/copyright.txt
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/copyright.txt
@@ -1,8 +1,8 @@
-Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+Copyright (c) 2004-2013 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
- Martin Fluegge - initial API and implementation \ No newline at end of file
+ Martin Fluegge - initial API and implementation
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.properties b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.properties
index 64af427f7d..b88726153a 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.properties
@@ -1,4 +1,4 @@
-# Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+# Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.xml b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.xml
index 1db6c29055..387a74180b 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/plugin.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
- Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/schema/org.eclipse.emf.cdo.dawn.genmodel.ui.editors.exsd b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/schema/org.eclipse.emf.cdo.dawn.genmodel.ui.editors.exsd
index c07e0b3fc5..55f18cc6af 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/schema/org.eclipse.emf.cdo.dawn.genmodel.ui.editors.exsd
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/schema/org.eclipse.emf.cdo.dawn.genmodel.ui.editors.exsd
@@ -1,5 +1,14 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Eike Stepper - initial API and implementation
+-->
<schema targetNamespace="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
@@ -23,21 +32,21 @@
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
-
+
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
-
+
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
-
+
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
@@ -52,7 +61,7 @@
<attribute name="editor" type="string" use="required">
<annotation>
<documentation>
-
+
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.eclipse.ui.IEditorPart"/>
@@ -62,7 +71,7 @@
<attribute name="file_extension" type="string" use="required">
<annotation>
<documentation>
-
+
</documentation>
</annotation>
</attribute>
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/editor/registry/DawnGenModelEditorRegistry.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/editor/registry/DawnGenModelEditorRegistry.java
index 7af15b31eb..3431911d2d 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/editor/registry/DawnGenModelEditorRegistry.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/editor/registry/DawnGenModelEditorRegistry.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawnCodeGenEditorPlugin.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawnCodeGenEditorPlugin.java
index 007831817e..6defa657f1 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawnCodeGenEditorPlugin.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawnCodeGenEditorPlugin.java
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Fluegge - initial API and implementation
*/
@@ -17,36 +17,29 @@ import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
/**
* This is the central singleton for the DawnCodeGen editor plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @author Martin Fluegge
* @generated
*/
public final class DawnCodeGenEditorPlugin extends EMFPlugin
{
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
* Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final DawnCodeGenEditorPlugin INSTANCE = new DawnCodeGenEditorPlugin();
/**
* Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static Implementation plugin;
/**
* Create the instance. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DawnCodeGenEditorPlugin()
@@ -56,7 +49,7 @@ public final class DawnCodeGenEditorPlugin extends EMFPlugin
/**
* Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the singleton instance.
* @generated
*/
@@ -68,7 +61,7 @@ public final class DawnCodeGenEditorPlugin extends EMFPlugin
/**
* Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the singleton instance.
* @generated
*/
@@ -79,14 +72,14 @@ public final class DawnCodeGenEditorPlugin extends EMFPlugin
/**
* The actual implementation of the Eclipse <b>Plugin</b>. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static class Implementation extends EclipseUIPlugin
{
/**
* Creates an instance. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Implementation()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelActionBarContributor.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelActionBarContributor.java
index 41bb51021a..77a12aa331 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelActionBarContributor.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelActionBarContributor.java
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Fluegge - initial API and implementation
*/
@@ -45,7 +45,7 @@ import java.util.Collection;
/**
* This is the action bar contributor for the Dawngenmodel model editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @author Martin Fluegge
* @generated
*/
@@ -53,29 +53,22 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
ISelectionChangedListener
{
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
* This keeps track of the active editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IEditorPart activeEditorPart;
/**
* This keeps track of the current selection provider. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ISelectionProvider selectionProvider;
/**
* This action opens the Properties view. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IAction showPropertiesViewAction = new Action(
@@ -98,7 +91,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This action refreshes the viewer of the current editor if the editor implements
* {@link org.eclipse.emf.common.ui.viewer.IViewerProvider}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IAction refreshViewerAction = new Action(
@@ -127,7 +120,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This will contain one {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to each descriptor
* generated for the current selection by the item provider. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<IAction> createChildActions;
@@ -135,7 +128,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This is the menu manager into which menu contribution items should be added for CreateChild actions. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IMenuManager createChildMenuManager;
@@ -143,7 +136,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This will contain one {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} corresponding to each descriptor
* generated for the current selection by the item provider. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<IAction> createSiblingActions;
@@ -151,14 +144,14 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This is the menu manager into which menu contribution items should be added for CreateSibling actions. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IMenuManager createSiblingMenuManager;
/**
* This creates an instance of the contributor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DawngenmodelActionBarContributor()
@@ -171,7 +164,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This adds Separators for editor additions to the tool bar. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -184,7 +177,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This adds to the menu bar a menu and some separators for editor additions, as well as the sub-menus for object
* creation items. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -228,7 +221,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* When the active editor changes, this remembers the change and registers with it as a selection provider. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -265,7 +258,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
* This implements {@link org.eclipse.jface.viewers.ISelectionChangedListener}, handling
* {@link org.eclipse.jface.viewers.SelectionChangedEvent}s by querying for the children and siblings that can be
* added to the selected object and updating the menus accordingly. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void selectionChanged(SelectionChangedEvent event)
@@ -318,7 +311,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
* This generates a {@link org.eclipse.emf.edit.ui.action.CreateChildAction} for each object in
* <code>descriptors</code>, and returns the collection of these actions. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
*/
protected Collection<IAction> generateCreateChildActions(Collection<?> descriptors, ISelection selection)
@@ -338,7 +331,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
* This generates a {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} for each object in
* <code>descriptors</code>, and returns the collection of these actions. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
*/
protected Collection<IAction> generateCreateSiblingActions(Collection<?> descriptors, ISelection selection)
@@ -359,7 +352,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
* based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection, by
* inserting them before the specified contribution item <code>contributionID</code>. If <code>contributionID</code>
* is <code>null</code>, they are simply added. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void populateManager(IContributionManager manager, Collection<? extends IAction> actions,
@@ -385,7 +378,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
* This removes from the specified <code>manager</code> all {@link org.eclipse.jface.action.ActionContributionItem}s
* based on the {@link org.eclipse.jface.action.IAction}s contained in the <code>actions</code> collection. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void depopulateManager(IContributionManager manager, Collection<? extends IAction> actions)
@@ -419,7 +412,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This populates the pop-up menu before it appears. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -439,7 +432,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This inserts global actions before the "additions-end" separator. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -457,7 +450,7 @@ public class DawngenmodelActionBarContributor extends EditingDomainActionBarCont
/**
* This ensures that a delete action will clean up all references to deleted objects. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelEditor.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelEditor.java
index 48dd8c881f..1bc2973847 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelEditor.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelEditor.java
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Fluegge - initial API and implementation
*/
@@ -126,7 +126,7 @@ import java.util.Map;
/**
* This is an example of a Dawngenmodel model editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @author Martin Fluegge
* @generated
*/
@@ -134,16 +134,9 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
IMenuListener, IViewerProvider, IGotoMarker, ISelectionChangedListener
{
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
* This keeps track of the editing domain that is used to track all changes to the model. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
protected AdapterFactoryEditingDomain editingDomain;
@@ -151,35 +144,35 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is the one adapter factory used for providing views of the model. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
*/
protected ComposedAdapterFactory adapterFactory;
/**
* This is the content outline page. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IContentOutlinePage contentOutlinePage;
/**
* This is a kludge... <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IStatusLineManager contentOutlineStatusLineManager;
/**
* This is the content outline page's viewer. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected TreeViewer contentOutlineViewer;
/**
* This is the property sheet page. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected PropertySheetPage propertySheetPage;
@@ -187,7 +180,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is the viewer that shadows the selection in the content outline. The parent relation must be correctly defined
* for this to work. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected TreeViewer selectionViewer;
@@ -195,14 +188,14 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This keeps track of the active content viewer, which may be either one of the viewers in the pages or the content
* outline viewer. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Viewer currentViewer;
/**
* This listens to which ever viewer is active. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ISelectionChangedListener selectionChangedListener;
@@ -210,14 +203,14 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This keeps track of all the {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are listening to this
* editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<ISelectionChangedListener> selectionChangedListeners = new ArrayList<ISelectionChangedListener>();
/**
* This keeps track of the selection of the editor as a whole. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ISelection editorSelection = StructuredSelection.EMPTY;
@@ -225,14 +218,14 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* The MarkerHelper is responsible for creating workspace resource markers presented in Eclipse's Problems View. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected MarkerHelper markerHelper = new EditUIMarkerHelper();
/**
* This listens for when the outline becomes active <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IPartListener partListener = new IPartListener()
@@ -285,35 +278,35 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* Resources that have been removed since last activation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<Resource> removedResources = new ArrayList<Resource>();
/**
* Resources that have been changed since last activation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<Resource> changedResources = new ArrayList<Resource>();
/**
* Resources that have been saved. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<Resource> savedResources = new ArrayList<Resource>();
/**
* Map to store the diagnostic associated with a resource. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Map<Resource, Diagnostic> resourceToDiagnosticMap = new LinkedHashMap<Resource, Diagnostic>();
/**
* Controls whether the problem indication should be updated. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean updateProblemIndication = true;
@@ -321,7 +314,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* Adapter used to update the problem indication when resources are demanded loaded. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
protected EContentAdapter problemIndicationAdapter = new EContentAdapter()
@@ -383,7 +376,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This listens for workspace changes. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IResourceChangeListener resourceChangeListener = new IResourceChangeListener()
@@ -480,7 +473,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* Handles activation of the editor or it's associated views. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void handleActivate()
@@ -520,7 +513,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* Handles what to do with changed resources on activation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void handleChangedResources()
@@ -566,7 +559,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* Updates the problems indication with the information described in the specified diagnostic. <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void updateProblemIndication()
@@ -631,7 +624,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* Shows a dialog that asks if conflicting changes should be discarded. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean handleDirtyConflict()
@@ -642,7 +635,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This creates a model editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DawngenmodelEditor()
@@ -653,7 +646,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This sets up the editing domain for the model editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void initializeEditingDomain()
@@ -706,7 +699,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is here for the listener to be able to call it. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -717,7 +710,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This sets the selection into whichever viewer is active. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSelectionToViewer(Collection<?> collection)
@@ -747,7 +740,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
* This returns the editing domain as required by the {@link IEditingDomainProvider} interface. This is important for
* implementing the static methods of {@link AdapterFactoryEditingDomain} and for supporting
* {@link org.eclipse.emf.edit.ui.action.CommandAction}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EditingDomain getEditingDomain()
@@ -757,14 +750,14 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class ReverseAdapterFactoryContentProvider extends AdapterFactoryContentProvider
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ReverseAdapterFactoryContentProvider(AdapterFactory adapterFactory)
@@ -774,7 +767,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -786,7 +779,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -798,7 +791,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -810,7 +803,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -823,7 +816,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This makes sure that one content viewer, either for the current page or the outline view, if it has focus, is the
* current one. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setCurrentViewer(Viewer viewer)
@@ -874,7 +867,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This returns the viewer as required by the {@link IViewerProvider} interface. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public Viewer getViewer()
@@ -885,7 +878,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This creates a context menu for the viewer and adds a listener as well registering the menu for extension. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void createContextMenuFor(StructuredViewer viewer)
@@ -907,7 +900,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is the method called to load a resource into the editing domain's resource set based on the editor's input.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createModel()
@@ -938,7 +931,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* Returns a diagnostic describing the errors and warnings listed in the resource and the specified exception (if
* any). <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Diagnostic analyzeResourceProblems(Resource resource, Exception exception)
@@ -965,7 +958,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is the method used by the framework to install your own controls. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
*/
@Override
@@ -1092,7 +1085,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* If there is just one page in the multi-page editor part, this hides the single tab at the bottom. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void hideTabs()
@@ -1112,7 +1105,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* If there is more than one page in the multi-page editor part, this shows the tabs at the bottom. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void showTabs()
@@ -1131,7 +1124,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is used to track the active viewer. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1147,7 +1140,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is how the framework determines which interfaces we implement. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("rawtypes")
@@ -1174,7 +1167,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This accesses a cached version of the content outliner. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IContentOutlinePage getContentOutlinePage()
@@ -1247,7 +1240,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This accesses a cached version of the property sheet. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IPropertySheetPage getPropertySheetPage()
@@ -1279,7 +1272,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This deals with how we want selection in the outliner to affect the other views. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public void handleContentOutlineSelection(ISelection selection)
@@ -1310,7 +1303,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is for implementing {@link IEditorPart} and simply tests the command stack. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated NOT
*/
@Override
@@ -1330,7 +1323,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is for implementing {@link IEditorPart} and simply saves the model file. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated NOT
*/
@Override
@@ -1410,7 +1403,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
* This returns whether something has been persisted to the URI of the specified resource. The implementation uses the
* URI converter from the editor's resource set to try to open an input stream. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
protected boolean isPersisted(Resource resource)
@@ -1434,7 +1427,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This always returns true because it is not currently supported. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1445,7 +1438,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This also changes the editor's input. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1466,7 +1459,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void doSaveAs(URI uri, IEditorInput editorInput)
@@ -1481,7 +1474,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void gotoMarker(IMarker marker)
@@ -1510,7 +1503,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This is called during startup. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1526,7 +1519,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1537,7 +1530,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void addSelectionChangedListener(ISelectionChangedListener listener)
@@ -1547,7 +1540,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void removeSelectionChangedListener(ISelectionChangedListener listener)
@@ -1558,7 +1551,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to return this editor's overall selection.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ISelection getSelection()
@@ -1569,7 +1562,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to set this editor's overall selection.
* Calling this result will notify the listeners. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSelection(ISelection selection)
@@ -1585,7 +1578,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStatusLineManager(ISelection selection)
@@ -1627,7 +1620,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This looks up a string in the plugin's plugin.properties file. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static String getString(String key)
@@ -1637,7 +1630,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This looks up a string in plugin.properties, making a substitution. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static String getString(String key, Object s1)
@@ -1648,7 +1641,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* This implements {@link org.eclipse.jface.action.IMenuListener} to help fill the context menus with contributions
* from the Edit menu. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void menuAboutToShow(IMenuManager menuManager)
@@ -1658,7 +1651,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EditingDomainActionBarContributor getActionBarContributor()
@@ -1668,7 +1661,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IActionBars getActionBars()
@@ -1678,7 +1671,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AdapterFactory getAdapterFactory()
@@ -1688,7 +1681,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1722,7 +1715,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
/**
* Returns whether the outline view should be presented to the user. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean showOutlineView()
@@ -1734,7 +1727,7 @@ public class DawngenmodelEditor extends MultiPageEditorPart implements IEditingD
* This editor is also a SelectionChangeListener because we simply delegated every SelectionChangeEvent from the
* extension editors to this multipage editor. So every listener like (propertySheet etc.) will be informed about
* changes in the editors of the other pages.
- *
+ *
* @since 1.0
*/
public void selectionChanged(SelectionChangedEvent event)
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelModelWizard.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelModelWizard.java
index 0dcd8b6cfe..8121fbe2ad 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelModelWizard.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/presentation/DawngenmodelModelWizard.java
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Fluegge - initial API and implementation
*/
@@ -70,22 +70,15 @@ import java.util.StringTokenizer;
/**
* This is a simple wizard for creating a new model file. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @author Martin Fluegge
* @generated
*/
public class DawngenmodelModelWizard extends Wizard implements INewWizard
{
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public static final String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Martin Fluegge - initial API and implementation";
-
- /**
* The supported extensions for created files. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<String> FILE_EXTENSIONS = Collections
@@ -94,7 +87,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* A formatted list of supported file extensions, suitable for display. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final String FORMATTED_FILE_EXTENSIONS = DawnCodeGenEditorPlugin.INSTANCE.getString(
@@ -102,28 +95,28 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* This caches an instance of the model package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DawngenmodelPackage dawngenmodelPackage = DawngenmodelPackage.eINSTANCE;
/**
* This caches an instance of the model factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DawngenmodelFactory dawngenmodelFactory = dawngenmodelPackage.getDawngenmodelFactory();
/**
* This is the file creation page. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DawngenmodelModelWizardNewFileCreationPage newFileCreationPage;
/**
* This is the initial object creation page. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DawngenmodelModelWizardInitialObjectCreationPage initialObjectCreationPage;
@@ -131,28 +124,28 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* Remember the selection during initialization for populating the default container. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
protected IStructuredSelection selection;
/**
* Remember the workbench during initialization. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IWorkbench workbench;
/**
* Caches the names of the types that can be created as the root object. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected List<String> initialObjectNames;
/**
* This just records the information. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void init(IWorkbench workbench, IStructuredSelection selection)
@@ -167,7 +160,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* Returns the names of the types that can be created as the root object. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
*/
protected Collection<String> getInitialObjectNames()
@@ -193,7 +186,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* Create a new model. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected EObject createInitialModel()
@@ -205,7 +198,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* Do the work after everything is specified. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -307,14 +300,14 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* This is the one page of the wizard. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DawngenmodelModelWizardNewFileCreationPage extends WizardNewFileCreationPage
{
/**
* Pass in the selection. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DawngenmodelModelWizardNewFileCreationPage(String pageId, IStructuredSelection selection)
@@ -324,7 +317,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* The framework calls this to see if the file is correct. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -346,7 +339,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IFile getModelFile()
@@ -357,14 +350,14 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* This is the page where the type of object to create is selected. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DawngenmodelModelWizardInitialObjectCreationPage extends WizardPage
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Combo initialObjectField;
@@ -376,14 +369,14 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Combo encodingField;
/**
* Pass in the selection. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DawngenmodelModelWizardInitialObjectCreationPage(String pageId)
@@ -393,7 +386,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createControl(Composite parent)
@@ -470,7 +463,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ModifyListener validator = new ModifyListener()
@@ -483,7 +476,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean validatePage()
@@ -493,7 +486,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -517,7 +510,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getInitialObjectName()
@@ -536,7 +529,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getEncoding()
@@ -546,7 +539,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* Returns the label for the specified type name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected String getLabel(String typeName)
@@ -564,7 +557,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<String> getEncodings()
@@ -584,7 +577,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* The framework calls this to create the contents of the wizard. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -648,7 +641,7 @@ public class DawngenmodelModelWizard extends Wizard implements INewWizard
/**
* Get the file from the page. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IFile getModelFile()

Back to the top