Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/.settings/.api_filters35
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/.settings/org.eclipse.jdt.ui.prefs2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/build.properties2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/copyright.txt4
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/plugin.properties2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/plugin.xml2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelActionBarContributor.java53
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelEditor.java153
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelModelWizard.java75
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnGenModelEditorPlugin.java27
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateDawnGenModelEMFAction.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateEMFFragmentAction.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/creators/EMFFragmentCreator.java2
13 files changed, 184 insertions, 177 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/.settings/.api_filters b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/.settings/.api_filters
new file mode 100644
index 0000000000..af30cea913
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/.settings/.api_filters
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<component id="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui" version="2">
+ <resource path="src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelActionBarContributor.java" type="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.dawnEmfGenmodel.presentation.DawnEmfGenmodelActionBarContributor">
+ <filter id="338755678">
+ <message_arguments>
+ <message_argument value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.dawnEmfGenmodel.presentation.DawnEmfGenmodelActionBarContributor"/>
+ <message_argument value="copyright"/>
+ </message_arguments>
+ </filter>
+ </resource>
+ <resource path="src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelEditor.java" type="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.dawnEmfGenmodel.presentation.DawnEmfGenmodelEditor">
+ <filter id="338755678">
+ <message_arguments>
+ <message_argument value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.dawnEmfGenmodel.presentation.DawnEmfGenmodelEditor"/>
+ <message_argument value="copyright"/>
+ </message_arguments>
+ </filter>
+ </resource>
+ <resource path="src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelModelWizard.java" type="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.dawnEmfGenmodel.presentation.DawnEmfGenmodelModelWizard">
+ <filter id="338755678">
+ <message_arguments>
+ <message_argument value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.dawnEmfGenmodel.presentation.DawnEmfGenmodelModelWizard"/>
+ <message_argument value="copyright"/>
+ </message_arguments>
+ </filter>
+ </resource>
+ <resource path="src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnGenModelEditorPlugin.java" type="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.dawnEmfGenmodel.presentation.DawnGenModelEditorPlugin">
+ <filter id="338755678">
+ <message_arguments>
+ <message_argument value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.dawnEmfGenmodel.presentation.DawnGenModelEditorPlugin"/>
+ <message_argument value="copyright"/>
+ </message_arguments>
+ </filter>
+ </resource>
+</component>
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/.settings/org.eclipse.jdt.ui.prefs
index e970bfd469..aca5a37770 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/.settings/org.eclipse.jdt.ui.prefs
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/.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.emf.ui/build.properties b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/build.properties
index 54fba31812..21be68ee5b 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/build.properties
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/build.properties
@@ -1,4 +1,4 @@
-# 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.emf.ui/copyright.txt b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/copyright.txt
index cea141de92..bfc6e9c3e3 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/copyright.txt
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/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.emf.ui/plugin.properties b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/plugin.properties
index 954fc55df9..e990917a00 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/plugin.properties
@@ -1,4 +1,4 @@
-# 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.emf.ui/plugin.xml b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/plugin.xml
index 2383bbf23a..9988d3f4e4 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/plugin.xml
@@ -2,7 +2,7 @@
<?eclipse version="3.0"?>
<!--
- 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.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelActionBarContributor.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelActionBarContributor.java
index 3cf1b9d5d0..7ef7ddbfd4 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelActionBarContributor.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelActionBarContributor.java
@@ -1,10 +1,10 @@
/*
- * 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Fluegge - initial API and implementation
*/
@@ -46,7 +46,7 @@ import java.util.Collection;
/**
* This is the action bar contributor for the DawnEmfGenmodel model editor. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
* @author Martin Fluegge
*/
@@ -54,29 +54,22 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
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(
@@ -99,7 +92,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* 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(
@@ -128,7 +121,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* 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;
@@ -136,7 +129,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* 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;
@@ -144,7 +137,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* 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;
@@ -152,14 +145,14 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* 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 DawnEmfGenmodelActionBarContributor()
@@ -172,7 +165,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* This adds Separators for editor additions to the tool bar. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -185,7 +178,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* 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
@@ -229,7 +222,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* 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
@@ -266,7 +259,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
* 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)
@@ -319,7 +312,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
* 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)
@@ -339,7 +332,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
* 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)
@@ -360,7 +353,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
* 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,
@@ -386,7 +379,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
* 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)
@@ -420,7 +413,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* This populates the pop-up menu before it appears. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -440,7 +433,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* This inserts global actions before the "additions-end" separator. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -458,7 +451,7 @@ public class DawnEmfGenmodelActionBarContributor extends EditingDomainActionBarC
/**
* 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.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelEditor.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelEditor.java
index 675bb13a0f..df987b4dd5 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelEditor.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelEditor.java
@@ -1,10 +1,10 @@
/*
- * 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Fluegge - initial API and implementation
*/
@@ -124,7 +124,7 @@ import java.util.Map;
/**
* This is an example of a DawnEmfGenmodel model editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @author Martin Fluegge
* @generated
*/
@@ -132,16 +132,9 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
IMenuListener, IViewerProvider, IGotoMarker
{
/**
- * <!-- 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;
@@ -149,35 +142,35 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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;
@@ -185,7 +178,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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;
@@ -193,14 +186,14 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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;
@@ -208,14 +201,14 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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;
@@ -223,14 +216,14 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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()
@@ -283,35 +276,35 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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;
@@ -319,7 +312,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* Adapter used to update the problem indication when resources are demanded loaded. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
protected EContentAdapter problemIndicationAdapter = new EContentAdapter()
@@ -381,7 +374,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This listens for workspace changes. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected IResourceChangeListener resourceChangeListener = new IResourceChangeListener()
@@ -478,7 +471,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* Handles activation of the editor or it's associated views. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void handleActivate()
@@ -518,7 +511,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* Handles what to do with changed resources on activation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void handleChangedResources()
@@ -564,7 +557,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* Updates the problems indication with the information described in the specified diagnostic. <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void updateProblemIndication()
@@ -629,7 +622,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* Shows a dialog that asks if conflicting changes should be discarded. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean handleDirtyConflict()
@@ -640,7 +633,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This creates a model editor. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DawnEmfGenmodelEditor()
@@ -651,7 +644,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
* 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -786,7 +779,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -798,7 +791,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -810,7 +803,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -823,7 +816,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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 DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This is the method used by the framework to install your own controls. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
*/
@Override
@@ -1036,7 +1029,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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()
@@ -1056,7 +1049,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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()
@@ -1075,7 +1068,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This is used to track the active viewer. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1091,7 +1084,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This is how the framework determines which interfaces we implement. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("rawtypes")
@@ -1118,7 +1111,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This accesses a cached version of the content outliner. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IContentOutlinePage getContentOutlinePage()
@@ -1191,7 +1184,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This accesses a cached version of the property sheet. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IPropertySheetPage getPropertySheetPage()
@@ -1223,7 +1216,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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)
@@ -1254,7 +1247,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This is for implementing {@link IEditorPart} and simply tests the command stack. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1266,7 +1259,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This is for implementing {@link IEditorPart} and simply saves the model file. <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1339,7 +1332,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
* 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)
@@ -1363,7 +1356,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This always returns true because it is not currently supported. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1374,7 +1367,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This also changes the editor's input. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1395,7 +1388,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected void doSaveAs(URI uri, IEditorInput editorInput)
@@ -1410,7 +1403,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void gotoMarker(IMarker marker)
@@ -1439,7 +1432,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This is called during startup. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1455,7 +1448,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -1466,7 +1459,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void addSelectionChangedListener(ISelectionChangedListener listener)
@@ -1476,7 +1469,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* This implements {@link org.eclipse.jface.viewers.ISelectionProvider}. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void removeSelectionChangedListener(ISelectionChangedListener listener)
@@ -1487,7 +1480,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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()
@@ -1498,7 +1491,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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 NOT
*/
public void setSelection(ISelection selection)
@@ -1514,7 +1507,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStatusLineManager(ISelection selection)
@@ -1556,7 +1549,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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)
@@ -1566,7 +1559,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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)
@@ -1577,7 +1570,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* 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)
@@ -1587,7 +1580,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EditingDomainActionBarContributor getActionBarContributor()
@@ -1597,7 +1590,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IActionBars getActionBars()
@@ -1607,7 +1600,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AdapterFactory getAdapterFactory()
@@ -1617,7 +1610,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
@Override
@@ -1651,7 +1644,7 @@ public class DawnEmfGenmodelEditor extends MultiPageEditorPart implements IEditi
/**
* Returns whether the outline view should be presented to the user. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean showOutlineView()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelModelWizard.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelModelWizard.java
index 1c8552258a..f1169abe26 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelModelWizard.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnEmfGenmodelModelWizard.java
@@ -1,10 +1,10 @@
/*
- * 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
* 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 -->
- *
+ *
* @generated
* @author Martin Fluegge
*/
public class DawnEmfGenmodelModelWizard 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.unmodifiableList(Arrays
@@ -94,7 +87,7 @@ public class DawnEmfGenmodelModelWizard 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 = DawnGenModelEditorPlugin.INSTANCE.getString(
@@ -102,28 +95,28 @@ public class DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* This caches an instance of the model package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DawnEmfGenmodelPackage dawnEmfGenmodelPackage = DawnEmfGenmodelPackage.eINSTANCE;
/**
* This caches an instance of the model factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DawnEmfGenmodelFactory dawnEmfGenmodelFactory = dawnEmfGenmodelPackage.getDawnEmfGenmodelFactory();
/**
* This is the file creation page. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DawnEmfGenmodelModelWizardNewFileCreationPage newFileCreationPage;
/**
* This is the initial object creation page. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DawnEmfGenmodelModelWizardInitialObjectCreationPage initialObjectCreationPage;
@@ -131,28 +124,28 @@ public class DawnEmfGenmodelModelWizard 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 DawnEmfGenmodelModelWizard 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 DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* Create a new model. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected EObject createInitialModel()
@@ -205,7 +198,7 @@ public class DawnEmfGenmodelModelWizard 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 DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* This is the one page of the wizard. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DawnEmfGenmodelModelWizardNewFileCreationPage extends WizardNewFileCreationPage
{
/**
* Pass in the selection. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DawnEmfGenmodelModelWizardNewFileCreationPage(String pageId, IStructuredSelection selection)
@@ -324,7 +317,7 @@ public class DawnEmfGenmodelModelWizard 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 DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IFile getModelFile()
@@ -357,14 +350,14 @@ public class DawnEmfGenmodelModelWizard 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 DawnEmfGenmodelModelWizardInitialObjectCreationPage extends WizardPage
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Combo initialObjectField;
@@ -376,14 +369,14 @@ public class DawnEmfGenmodelModelWizard 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 DawnEmfGenmodelModelWizardInitialObjectCreationPage(String pageId)
@@ -393,7 +386,7 @@ public class DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createControl(Composite parent)
@@ -470,7 +463,7 @@ public class DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ModifyListener validator = new ModifyListener()
@@ -483,7 +476,7 @@ public class DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected boolean validatePage()
@@ -493,7 +486,7 @@ public class DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -517,7 +510,7 @@ public class DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getInitialObjectName()
@@ -536,7 +529,7 @@ public class DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getEncoding()
@@ -546,7 +539,7 @@ public class DawnEmfGenmodelModelWizard 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 DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected Collection<String> getEncodings()
@@ -584,7 +577,7 @@ public class DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* The framework calls this to create the contents of the wizard. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -649,7 +642,7 @@ public class DawnEmfGenmodelModelWizard extends Wizard implements INewWizard
/**
* Get the file from the page. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public IFile getModelFile()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnGenModelEditorPlugin.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnGenModelEditorPlugin.java
index 7a7a763f34..8cf8f6415e 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnGenModelEditorPlugin.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src-gen/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/dawnEmfGenmodel/presentation/DawnGenModelEditorPlugin.java
@@ -1,10 +1,10 @@
/*
- * 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
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Fluegge - initial API and implementation
*/
@@ -19,36 +19,29 @@ import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
/**
* This is the central singleton for the DawnGenModel editor plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @author Martin Fluegge
* @generated
*/
public final class DawnGenModelEditorPlugin 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 DawnGenModelEditorPlugin INSTANCE = new DawnGenModelEditorPlugin();
/**
* 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 DawnGenModelEditorPlugin()
@@ -58,7 +51,7 @@ public final class DawnGenModelEditorPlugin extends EMFPlugin
/**
* Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the singleton instance.
* @generated
*/
@@ -70,7 +63,7 @@ public final class DawnGenModelEditorPlugin extends EMFPlugin
/**
* Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the singleton instance.
* @generated
*/
@@ -81,14 +74,14 @@ public final class DawnGenModelEditorPlugin 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.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateDawnGenModelEMFAction.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateDawnGenModelEMFAction.java
index 7e1150cf63..9e8c2fe7bb 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateDawnGenModelEMFAction.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateDawnGenModelEMFAction.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.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateEMFFragmentAction.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateEMFFragmentAction.java
index 2fc03a0b7d..415b5a1ef9 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateEMFFragmentAction.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/actions/GenerateEMFFragmentAction.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.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/creators/EMFFragmentCreator.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/creators/EMFFragmentCreator.java
index c4fb32818a..3a21cc9816 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/creators/EMFFragmentCreator.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/emf/ui/creators/EMFFragmentCreator.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

Back to the top