Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--features/org.eclipse.emf.cdo.dawn.examples-feature/feature.xml8
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt72
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreDiagramEditor.java53
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/.settings/org.eclipse.jdt.core.prefs67
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttribute2CreateCommand.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttributeCreateCommand.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AClassCreateCommand.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AInterfaceCreateCommand.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperation2CreateCommand.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperationCreateCommand.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAAttributeCompartmentEditPart.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAOperationClassCompartmentEditPart.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAggregationsEditPart.java6
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAssociationsEditPart.java6
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassCompositionsEditPart.java6
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassEditPart.java24
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassImplementedInterfacesEditPart.java6
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassSubClassesEditPart.java6
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAAttributeInterfaceCompartmentEditPart.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAOperationInterfaceCompartmentEditPart.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceEditPart.java24
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AClassItemSemanticEditPolicy.java14
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/ACoreRootCanonicalEditPolicy.java3
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AInterfaceItemSemanticEditPolicy.java14
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AcoreBaseItemSemanticEditPolicy.java12
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorPlugin.java29
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorUtil.java15
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDocumentProvider.java32
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcorePaletteFactory.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreVisualIDRegistry.java8
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/Messages.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/ModelElementSelectionPage.java3
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreParserProvider.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreViewProvider.java17
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/sheet/AcorePropertySection.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AAttributeItemProvider.java62
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ABasicClassItemProvider.java128
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassChildItemProvider.java147
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassItemProvider.java173
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ACoreRootItemProvider.java128
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AInterfaceItemProvider.java62
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AOperationItemProvider.java85
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AParameterItemProvider.java122
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreEditPlugin.java50
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreItemProviderAdapterFactory.java192
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AAttribute.java12
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ABasicClass.java53
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClass.java71
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClassChild.java85
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ACoreRoot.java53
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AInterface.java12
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AOperation.java23
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AParameter.java43
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AccessType.java156
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcoreFactory.java63
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcorePackage.java620
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AAttributeImpl.java20
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ABasicClassImpl.java51
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassChildImpl.java66
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassImpl.java52
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ACoreRootImpl.java51
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AInterfaceImpl.java20
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AOperationImpl.java27
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AParameterImpl.java48
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcoreFactoryImpl.java162
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcorePackageImpl.java351
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreAdapterFactory.java239
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreSwitch.java296
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF6
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/AllTestsDawn.java3
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/DawnWrapperResourceTest.java53
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/GMFTest.java10
73 files changed, 2039 insertions, 2214 deletions
diff --git a/features/org.eclipse.emf.cdo.dawn.examples-feature/feature.xml b/features/org.eclipse.emf.cdo.dawn.examples-feature/feature.xml
index ba3836b187..a43f92988d 100644
--- a/features/org.eclipse.emf.cdo.dawn.examples-feature/feature.xml
+++ b/features/org.eclipse.emf.cdo.dawn.examples-feature/feature.xml
@@ -29,21 +29,21 @@
</license>
<plugin
- id="org.eclipse.emf.cdo.dawn.reference.editor"
+ id="org.eclipse.emf.cdo.dawn.examples.acore"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
- id="org.eclipse.emf.cdo.dawn.reference.editor.diagram"
+ id="org.eclipse.emf.cdo.dawn.examples.acore.diagram"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
- id="org.eclipse.emf.cdo.dawn.reference.editor.diagram.dawn"
+ id="org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn"
download-size="0"
install-size="0"
version="0.0.0"
@@ -51,7 +51,7 @@
unpack="false"/>
<plugin
- id="org.eclipse.emf.cdo.dawn.reference.editor.edit"
+ id="org.eclipse.emf.cdo.dawn.examples.acore.edit"
download-size="0"
install-size="0"
version="0.0.0"
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt
index e6aa21feda..0521163351 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt
@@ -32,7 +32,7 @@
«EXPAND dawnEditPartProvider FOR this»
«EXPAND fragmentXML FOR this»
«EXPAND dawnEditPolicyProvider FOR this»
- «EXPAND manifestMF FOR this.GMFGenEditorGenerator»
+ «EXPAND manifestMF FOR this»
«EXPAND buildPROPERTIES FOR this.GMFGenEditorGenerator»
«EXPAND classpath FOR this.GMFGenEditorGenerator»
@@ -45,10 +45,10 @@
package «this.GMFGenEditorGenerator.editor.packageName»;
import «this.GMFGenEditorGenerator.diagram.domainDiagramElement.genPackage.basePackage».«this.GMFGenEditorGenerator.diagram.domainDiagramElement.ecoreClass.ePackage.name».«this.GMFGenEditorGenerator.diagram.domainDiagramElement.ecoreClass.name»;
-import org.eclipse.emf.cdo.dawn.diagram.part.IDawnDiagramEditor;
-import org.eclipse.emf.cdo.dawn.notifications.DawnNotificationUtil;
+import org.eclipse.emf.cdo.dawn.editors.IDawnEditor;
+import org.eclipse.emf.cdo.dawn.editors.IDawnEditorSupport;
+import org.eclipse.emf.cdo.dawn.editors.impl.DawnGMFEditorSupport;
import org.eclipse.emf.cdo.dawn.ui.DawnEditorInput;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
import org.eclipse.emf.cdo.ui.CDOEditorInput;
import org.eclipse.emf.cdo.view.CDOView;
@@ -67,21 +67,18 @@ import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IFileEditorInput;
«EXPAND generatedComment -»
-public class «this.dawnEditorClassName» extends «GMFGenEditorGenerator.editor.className» implements IDawnDiagramEditor
+public class «this.dawnEditorClassName» extends «GMFGenEditorGenerator.editor.className» implements IDawnEditor
{
-
- private CDOTransaction transaction;
-
- private boolean dirty;
-
public static String ID = "«this.GMFGenEditorGenerator.editor.packageName».«this.dawnEditorClassName» ";
+ private IDawnEditorSupport dawnEditorSupport;
«EXPAND generatedComment -»
public «this.dawnEditorClassName» ()
{
super();
setDocumentProvider(new «this.dawnDocumentProviderClassName»());
+ setDawnEditorSupport(new DawnGMFEditorSupport(this));
}
«EXPAND generatedComment -»
@@ -100,11 +97,9 @@ public class «this.dawnEditorClassName» extends «GMFGenEditorGenerator.editor.cl
Shell shell = getSite().getShell();
ErrorDialog.openError(shell, title, msg, x.getStatus());
}
- transaction = (CDOTransaction)((DawnEditorInput)input).getView();
-
- DawnNotificationUtil.registerResourceListeners(getEditingDomain().getResourceSet(), this);
- DawnNotificationUtil.registerTransactionListeners(transaction, this);
- DawnNotificationUtil.setChangeSubscriptionPolicy(transaction);
+
+ dawnEditorSupport.setView(((DawnEditorInput)input).getView());
+ dawnEditorSupport.registerListeners();
}
«EXPAND generatedComment -»
@@ -120,7 +115,7 @@ public class «this.dawnEditorClassName» extends «GMFGenEditorGenerator.editor.cl
{
try
{
- dirty = false;
+ dawnEditorSupport.setDirty(false);
updateState(getEditorInput());
validateState(getEditorInput());
performSave(false, monitor);
@@ -143,13 +138,13 @@ public class «this.dawnEditorClassName» extends «GMFGenEditorGenerator.editor.cl
@Override
public boolean isDirty()
{
- return dirty;
+ return dawnEditorSupport.isDirty();
}
«EXPAND generatedComment -»
public String getContributorID()
{
- return null;
+ return ID;
}
«EXPAND generatedComment -»
@@ -176,25 +171,32 @@ public class «this.dawnEditorClassName» extends «GMFGenEditorGenerator.editor.cl
}
finally
{
- if (transaction != null && !transaction.isClosed())
- {
- transaction.close();
- }
+ dawnEditorSupport.close();
}
}
«EXPAND generatedComment -»
public CDOView getView()
{
- return transaction;
+ return dawnEditorSupport.getView();
}
«EXPAND generatedComment -»
public void setDirty()
{
- dirty = true;
+ dawnEditorSupport.setDirty(true);
((AbstractDocumentProvider)getDocumentProvider()).changed(getEditorInput());
}
+
+ public void setDawnEditorSupport(IDawnEditorSupport dawnEditorSupport)
+ {
+ this.dawnEditorSupport = dawnEditorSupport;
+ }
+
+ public IDawnEditorSupport getDawnEditorSupport()
+ {
+ return dawnEditorSupport;
+ }
}
«ENDFILE»
@@ -361,7 +363,7 @@ public class «this.dawnCreationWizardClassName» extends «this.GMFGenEditorGenera
}
catch (PartInitException e)
{
- ErrorDialog.openError(getContainer().getShell(), Messages.ClassdiagramCreationWizardOpenEditorError, null,
+ ErrorDialog.openError(getContainer().getShell(), Messages.«this.GMFGenEditorGenerator.diagram.creationWizardClassName»OpenEditorError, null,
e.getStatus());
}
}
@@ -775,7 +777,7 @@ public class «this.dawnDocumentProviderClassName» extends «this.GMFGenEditorGene
}
}
}
- throw new RuntimeException(Messages.ClassdiagramDocumentProvider_NoDiagramInResourceError);
+ throw new RuntimeException(Messages.«this.GMFGenEditorGenerator.diagram.documentProviderClassName»_NoDiagramInResourceError);
}
catch (Exception e)
{
@@ -795,7 +797,7 @@ public class «this.dawnDocumentProviderClassName» extends «this.GMFGenEditorGene
}
else
{
- throw new CoreException(new Status(IStatus.ERROR, ClassdiagramDiagramEditorPlugin.ID, 0, NLS.bind(
+ throw new CoreException(new Status(IStatus.ERROR, «this.GMFGenEditorGenerator.plugin.activatorClassName».ID, 0, NLS.bind(
Messages.«this.GMFGenEditorGenerator.diagram.documentProviderClassName»_IncorrectInputError, new Object[] { element,
"org.eclipse.ui.part.FileEditorInput", "org.eclipse.emf.common.ui.URIEditorInput" }), //$NON-NLS-1$ //$NON-NLS-2$
null));
@@ -957,22 +959,20 @@ public class «dawnEditPolicyProviderClassName» extends AbstractProvider implemen
«REM»##############################################################################################################«ENDREM»
-«DEFINE manifestMF FOR GenEditorGenerator»
+«DEFINE manifestMF FOR DawnGMFGenerator»
«FILE "META-INF/MANIFEST.MF"»Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Dawn
-Bundle-SymbolicName: org.eclipse.emf.cdo.dawn.reference.editor.diagram.dawn;singleton:=true
-Bundle-Version: 0.2.0.qualifier
-Fragment-Host: org.eclipse.emf.cdo.dawn.reference.editor.diagram;bundle-version="0.2.0"
+Bundle-Name: Dawn «this.GMFGenEditorGenerator.plugin.name»
+Bundle-SymbolicName: «this.fragmentName»;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Fragment-Host: «this.GMFGenEditorGenerator.plugin.iD»;bundle-version="0.2.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.eclipse.emf.cdo.dawn;bundle-version="0.2.0",
org.eclipse.emf.cdo.dawn.util;bundle-version="0.0",
org.eclipse.emf.cdo.ui;bundle-version="3.0.0",
org.eclipse.emf.cdo.dawn.ui;bundle-version="0.2.0"
-Export-Package: org.eclipse.emf.cdo.dawn.reference.editor.classdiagram.diagram.edit.parts;version="0.2.0",
- org.eclipse.emf.cdo.dawn.reference.editor.classdiagram.diagram.edit.policies;version="0.2.0",
- org.eclipse.emf.cdo.dawn.reference.editor.classdiagram.diagram.part;version="0.2.0",
- org.eclipse.emf.cdo.dawn.reference.editor.classdiagram.diagram.providers;version="0.2.0"
+Export-Package:
+
«ENDFILE»
«ENDDEFINE»
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreDiagramEditor.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreDiagramEditor.java
index 4b395417a7..0d5cd68e64 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreDiagramEditor.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreDiagramEditor.java
@@ -10,10 +10,10 @@
******************************************************************************/
package org.eclipse.emf.cdo.dawn.examples.acore.diagram.part;
-import org.eclipse.emf.cdo.dawn.diagram.part.IDawnDiagramEditor;
-import org.eclipse.emf.cdo.dawn.notifications.DawnNotificationUtil;
+import org.eclipse.emf.cdo.dawn.editors.IDawnEditor;
+import org.eclipse.emf.cdo.dawn.editors.IDawnEditorSupport;
+import org.eclipse.emf.cdo.dawn.editors.impl.DawnGMFEditorSupport;
import org.eclipse.emf.cdo.dawn.ui.DawnEditorInput;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
import org.eclipse.emf.cdo.ui.CDOEditorInput;
import org.eclipse.emf.cdo.view.CDOView;
@@ -34,20 +34,19 @@ import org.eclipse.ui.IFileEditorInput;
/**
* @author Martin Fluegge
*/
-public class DawnAcoreDiagramEditor extends AcoreDiagramEditor implements IDawnDiagramEditor
+public class DawnAcoreDiagramEditor extends AcoreDiagramEditor implements IDawnEditor
{
- private CDOTransaction transaction;
-
- private boolean dirty;
-
public static String ID = "org.eclipse.emf.cdo.dawn.examples.acore.diagram.part.DawnAcoreDiagramEditor";
+ private IDawnEditorSupport dawnEditorSupport;
+
public DawnAcoreDiagramEditor()
{
super();
AcoreDiagramEditorPlugin.getInstance().logInfo("CDO Editor ist starting");
setDocumentProvider(new DawnAcoreDocumentProvider());
+ setDawnEditorSupport(new DawnGMFEditorSupport(this));
}
@Override
@@ -67,11 +66,13 @@ public class DawnAcoreDiagramEditor extends AcoreDiagramEditor implements IDawnD
Shell shell = getSite().getShell();
ErrorDialog.openError(shell, title, msg, x.getStatus());
}
- transaction = (CDOTransaction)((DawnEditorInput)input).getView();
+ // transaction = (CDOTransaction)((DawnEditorInput)input).getView();
+ dawnEditorSupport.setView(((DawnEditorInput)input).getView());
+ dawnEditorSupport.registerListeners();
- DawnNotificationUtil.registerResourceListeners(getEditingDomain().getResourceSet(), this);
- DawnNotificationUtil.registerTransactionListeners(transaction, this);
- DawnNotificationUtil.setChangeSubscriptionPolicy(transaction);
+ // DawnNotificationUtil.registerResourceListeners(getEditingDomain().getResourceSet(), this);
+ // DawnNotificationUtil.registerTransactionListeners(transaction, this);
+ // DawnNotificationUtil.setChangeSubscriptionPolicy(transaction);
}
@Override
@@ -85,7 +86,8 @@ public class DawnAcoreDiagramEditor extends AcoreDiagramEditor implements IDawnD
{
try
{
- dirty = false;
+ // dirty = false;
+ dawnEditorSupport.setDirty(false);
updateState(getEditorInput());
validateState(getEditorInput());
performSave(false, monitor);
@@ -110,12 +112,12 @@ public class DawnAcoreDiagramEditor extends AcoreDiagramEditor implements IDawnD
// return super.isDirty() | transaction.isDirty();
// return transaction.isDirty();
// return super.isDirty() ;
- return dirty;
+ return dawnEditorSupport.isDirty();
}
public String getContributorID()
{
- return null;
+ return ID;
}
/**
@@ -143,22 +145,31 @@ public class DawnAcoreDiagramEditor extends AcoreDiagramEditor implements IDawnD
}
finally
{
- if (transaction != null && !transaction.isClosed())
- {
- transaction.close();
- }
+ dawnEditorSupport.close();
}
}
public CDOView getView()
{
// TODO Auto-generated method stub
- return transaction;
+ // return transaction;
+ return dawnEditorSupport.getView();
}
public void setDirty()
{
- dirty = true;
+ // dirty = true;
+ dawnEditorSupport.setDirty(true);
((AbstractDocumentProvider)getDocumentProvider()).changed(getEditorInput());
}
+
+ public void setDawnEditorSupport(IDawnEditorSupport dawnEditorSupport)
+ {
+ this.dawnEditorSupport = dawnEditorSupport;
+ }
+
+ public IDawnEditorSupport getDawnEditorSupport()
+ {
+ return dawnEditorSupport;
+ }
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/.settings/org.eclipse.jdt.core.prefs
index 73fe0bd48b..373f66341d 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/.settings/org.eclipse.jdt.core.prefs
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/.settings/org.eclipse.jdt.core.prefs
@@ -1,4 +1,4 @@
-#Sat Jun 05 21:13:40 CEST 2010
+#Sun Jun 06 13:27:08 CEST 2010
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
@@ -7,6 +7,71 @@ org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=ignore
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=ignore
+org.eclipse.jdt.core.compiler.problem.deadCode=ignore
+org.eclipse.jdt.core.compiler.problem.deprecation=ignore
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
+org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=ignore
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=ignore
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=ignore
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=ignore
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=ignore
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=ignore
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=ignore
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nullReference=ignore
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=ignore
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=ignore
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=ignore
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=ignore
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=ignore
+org.eclipse.jdt.core.compiler.problem.unusedLabel=ignore
+org.eclipse.jdt.core.compiler.problem.unusedLocal=ignore
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=ignore
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=ignore
org.eclipse.jdt.core.compiler.source=1.5
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttribute2CreateCommand.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttribute2CreateCommand.java
index 1b7d24f852..ce6e81106d 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttribute2CreateCommand.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttribute2CreateCommand.java
@@ -42,6 +42,7 @@ public class AAttribute2CreateCommand extends EditElementCommand
/**
* FIXME: replace with setElementToEdit()
+ *
* @generated
*/
protected EObject getElementToEdit()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttributeCreateCommand.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttributeCreateCommand.java
index ff60d8441e..49b34d6007 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttributeCreateCommand.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AAttributeCreateCommand.java
@@ -42,6 +42,7 @@ public class AAttributeCreateCommand extends EditElementCommand
/**
* FIXME: replace with setElementToEdit()
+ *
* @generated
*/
protected EObject getElementToEdit()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AClassCreateCommand.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AClassCreateCommand.java
index 5ab6039916..f5896a50df 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AClassCreateCommand.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AClassCreateCommand.java
@@ -42,6 +42,7 @@ public class AClassCreateCommand extends EditElementCommand
/**
* FIXME: replace with setElementToEdit()
+ *
* @generated
*/
protected EObject getElementToEdit()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AInterfaceCreateCommand.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AInterfaceCreateCommand.java
index ed80a8ede0..f2645ad47f 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AInterfaceCreateCommand.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AInterfaceCreateCommand.java
@@ -42,6 +42,7 @@ public class AInterfaceCreateCommand extends EditElementCommand
/**
* FIXME: replace with setElementToEdit()
+ *
* @generated
*/
protected EObject getElementToEdit()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperation2CreateCommand.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperation2CreateCommand.java
index 4ce577867b..2e76f3617b 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperation2CreateCommand.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperation2CreateCommand.java
@@ -42,6 +42,7 @@ public class AOperation2CreateCommand extends EditElementCommand
/**
* FIXME: replace with setElementToEdit()
+ *
* @generated
*/
protected EObject getElementToEdit()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperationCreateCommand.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperationCreateCommand.java
index 76d30326fe..d7e8798606 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperationCreateCommand.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/commands/AOperationCreateCommand.java
@@ -42,6 +42,7 @@ public class AOperationCreateCommand extends EditElementCommand
/**
* FIXME: replace with setElementToEdit()
+ *
* @generated
*/
protected EObject getElementToEdit()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAAttributeCompartmentEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAAttributeCompartmentEditPart.java
index 3440e62958..dfd3aef981 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAAttributeCompartmentEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAAttributeCompartmentEditPart.java
@@ -86,7 +86,7 @@ public class AClassAAttributeCompartmentEditPart extends ListCompartmentEditPart
protected void setRatio(Double ratio)
{
// nothing to do -- parent layout does not accept Double constraints as ratio
- // super.setRatio(ratio);
+ // super.setRatio(ratio);
}
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAOperationClassCompartmentEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAOperationClassCompartmentEditPart.java
index a2c524c4e9..59dbd68cd0 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAOperationClassCompartmentEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAOperationClassCompartmentEditPart.java
@@ -86,7 +86,7 @@ public class AClassAOperationClassCompartmentEditPart extends ListCompartmentEdi
protected void setRatio(Double ratio)
{
// nothing to do -- parent layout does not accept Double constraints as ratio
- // super.setRatio(ratio);
+ // super.setRatio(ratio);
}
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAggregationsEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAggregationsEditPart.java
index 22402cf228..013f915d22 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAggregationsEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAggregationsEditPart.java
@@ -52,10 +52,8 @@ public class AClassAggregationsEditPart extends ConnectionNodeEditPart implement
}
/**
- * Creates figure for this edit part.
- *
- * Body of this method does not depend on settings in generation model
- * so you may safely remove <i>generated</i> tag and modify it.
+ * Creates figure for this edit part. Body of this method does not depend on settings in generation model so you may
+ * safely remove <i>generated</i> tag and modify it.
*
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAssociationsEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAssociationsEditPart.java
index 395daea6bd..ba61ed9375 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAssociationsEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassAssociationsEditPart.java
@@ -48,10 +48,8 @@ public class AClassAssociationsEditPart extends ConnectionNodeEditPart implement
}
/**
- * Creates figure for this edit part.
- *
- * Body of this method does not depend on settings in generation model
- * so you may safely remove <i>generated</i> tag and modify it.
+ * Creates figure for this edit part. Body of this method does not depend on settings in generation model so you may
+ * safely remove <i>generated</i> tag and modify it.
*
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassCompositionsEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassCompositionsEditPart.java
index c572398f54..33102905c7 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassCompositionsEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassCompositionsEditPart.java
@@ -52,10 +52,8 @@ public class AClassCompositionsEditPart extends ConnectionNodeEditPart implement
}
/**
- * Creates figure for this edit part.
- *
- * Body of this method does not depend on settings in generation model
- * so you may safely remove <i>generated</i> tag and modify it.
+ * Creates figure for this edit part. Body of this method does not depend on settings in generation model so you may
+ * safely remove <i>generated</i> tag and modify it.
*
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassEditPart.java
index a71cfd13f5..d7818a9f4e 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassEditPart.java
@@ -82,7 +82,8 @@ public class AClassEditPart extends ShapeNodeEditPart
super.createDefaultEditPolicies();
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new AClassItemSemanticEditPolicy());
installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
- // XXX need an SCR to runtime to have another abstract superclass that would let children add reasonable editpolicies
+ // XXX need an SCR to runtime to have another abstract superclass that would let children add reasonable
+ // editpolicies
// removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);
}
@@ -140,14 +141,14 @@ public class AClassEditPart extends ShapeNodeEditPart
if (childEditPart instanceof AClassAAttributeCompartmentEditPart)
{
IFigure pane = getPrimaryShape().getFigureClassAttributes();
- setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
+ setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
pane.add(((AClassAAttributeCompartmentEditPart)childEditPart).getFigure());
return true;
}
if (childEditPart instanceof AClassAOperationClassCompartmentEditPart)
{
IFigure pane = getPrimaryShape().getFigureClassOperations();
- setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
+ setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
pane.add(((AClassAOperationClassCompartmentEditPart)childEditPart).getFigure());
return true;
}
@@ -166,14 +167,14 @@ public class AClassEditPart extends ShapeNodeEditPart
if (childEditPart instanceof AClassAAttributeCompartmentEditPart)
{
IFigure pane = getPrimaryShape().getFigureClassAttributes();
- setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
+ setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
pane.remove(((AClassAAttributeCompartmentEditPart)childEditPart).getFigure());
return true;
}
if (childEditPart instanceof AClassAOperationClassCompartmentEditPart)
{
IFigure pane = getPrimaryShape().getFigureClassOperations();
- setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
+ setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
pane.remove(((AClassAOperationClassCompartmentEditPart)childEditPart).getFigure());
return true;
}
@@ -230,10 +231,8 @@ public class AClassEditPart extends ShapeNodeEditPart
}
/**
- * Creates figure for this edit part.
- *
- * Body of this method does not depend on settings in generation model
- * so you may safely remove <i>generated</i> tag and modify it.
+ * Creates figure for this edit part. Body of this method does not depend on settings in generation model so you may
+ * safely remove <i>generated</i> tag and modify it.
*
* @generated
*/
@@ -248,9 +247,10 @@ public class AClassEditPart extends ShapeNodeEditPart
}
/**
- * Default implementation treats passed figure as content pane.
- * Respects layout one may have set for generated figure.
- * @param nodeShape instance of generated figure class
+ * Default implementation treats passed figure as content pane. Respects layout one may have set for generated figure.
+ *
+ * @param nodeShape
+ * instance of generated figure class
* @generated
*/
protected IFigure setupContentPane(IFigure nodeShape)
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassImplementedInterfacesEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassImplementedInterfacesEditPart.java
index cadb28c77a..7fd0b0b9c3 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassImplementedInterfacesEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassImplementedInterfacesEditPart.java
@@ -51,10 +51,8 @@ public class AClassImplementedInterfacesEditPart extends ConnectionNodeEditPart
}
/**
- * Creates figure for this edit part.
- *
- * Body of this method does not depend on settings in generation model
- * so you may safely remove <i>generated</i> tag and modify it.
+ * Creates figure for this edit part. Body of this method does not depend on settings in generation model so you may
+ * safely remove <i>generated</i> tag and modify it.
*
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassSubClassesEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassSubClassesEditPart.java
index 34c9a55e73..d811a8a317 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassSubClassesEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AClassSubClassesEditPart.java
@@ -52,10 +52,8 @@ public class AClassSubClassesEditPart extends ConnectionNodeEditPart implements
}
/**
- * Creates figure for this edit part.
- *
- * Body of this method does not depend on settings in generation model
- * so you may safely remove <i>generated</i> tag and modify it.
+ * Creates figure for this edit part. Body of this method does not depend on settings in generation model so you may
+ * safely remove <i>generated</i> tag and modify it.
*
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAAttributeInterfaceCompartmentEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAAttributeInterfaceCompartmentEditPart.java
index aa8a2a2326..704e485d3b 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAAttributeInterfaceCompartmentEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAAttributeInterfaceCompartmentEditPart.java
@@ -87,7 +87,7 @@ public class AInterfaceAAttributeInterfaceCompartmentEditPart extends ListCompar
protected void setRatio(Double ratio)
{
// nothing to do -- parent layout does not accept Double constraints as ratio
- // super.setRatio(ratio);
+ // super.setRatio(ratio);
}
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAOperationInterfaceCompartmentEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAOperationInterfaceCompartmentEditPart.java
index f21ee2ede3..61f45610f3 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAOperationInterfaceCompartmentEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceAOperationInterfaceCompartmentEditPart.java
@@ -87,7 +87,7 @@ public class AInterfaceAOperationInterfaceCompartmentEditPart extends ListCompar
protected void setRatio(Double ratio)
{
// nothing to do -- parent layout does not accept Double constraints as ratio
- // super.setRatio(ratio);
+ // super.setRatio(ratio);
}
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceEditPart.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceEditPart.java
index 9575419a06..247e111b9c 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceEditPart.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/parts/AInterfaceEditPart.java
@@ -84,7 +84,8 @@ public class AInterfaceEditPart extends ShapeNodeEditPart
super.createDefaultEditPolicies();
installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new AInterfaceItemSemanticEditPolicy());
installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());
- // XXX need an SCR to runtime to have another abstract superclass that would let children add reasonable editpolicies
+ // XXX need an SCR to runtime to have another abstract superclass that would let children add reasonable
+ // editpolicies
// removeEditPolicy(org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.CONNECTION_HANDLES_ROLE);
}
@@ -142,14 +143,14 @@ public class AInterfaceEditPart extends ShapeNodeEditPart
if (childEditPart instanceof AInterfaceAAttributeInterfaceCompartmentEditPart)
{
IFigure pane = getPrimaryShape().getFigureInterfaceAttributes();
- setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
+ setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
pane.add(((AInterfaceAAttributeInterfaceCompartmentEditPart)childEditPart).getFigure());
return true;
}
if (childEditPart instanceof AInterfaceAOperationInterfaceCompartmentEditPart)
{
IFigure pane = getPrimaryShape().getFigureInterfaceOperations();
- setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
+ setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
pane.add(((AInterfaceAOperationInterfaceCompartmentEditPart)childEditPart).getFigure());
return true;
}
@@ -168,14 +169,14 @@ public class AInterfaceEditPart extends ShapeNodeEditPart
if (childEditPart instanceof AInterfaceAAttributeInterfaceCompartmentEditPart)
{
IFigure pane = getPrimaryShape().getFigureInterfaceAttributes();
- setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
+ setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
pane.remove(((AInterfaceAAttributeInterfaceCompartmentEditPart)childEditPart).getFigure());
return true;
}
if (childEditPart instanceof AInterfaceAOperationInterfaceCompartmentEditPart)
{
IFigure pane = getPrimaryShape().getFigureInterfaceOperations();
- setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
+ setupContentPane(pane); // FIXME each comparment should handle his content pane in his own way
pane.remove(((AInterfaceAOperationInterfaceCompartmentEditPart)childEditPart).getFigure());
return true;
}
@@ -232,10 +233,8 @@ public class AInterfaceEditPart extends ShapeNodeEditPart
}
/**
- * Creates figure for this edit part.
- *
- * Body of this method does not depend on settings in generation model
- * so you may safely remove <i>generated</i> tag and modify it.
+ * Creates figure for this edit part. Body of this method does not depend on settings in generation model so you may
+ * safely remove <i>generated</i> tag and modify it.
*
* @generated
*/
@@ -250,9 +249,10 @@ public class AInterfaceEditPart extends ShapeNodeEditPart
}
/**
- * Default implementation treats passed figure as content pane.
- * Respects layout one may have set for generated figure.
- * @param nodeShape instance of generated figure class
+ * Default implementation treats passed figure as content pane. Respects layout one may have set for generated figure.
+ *
+ * @param nodeShape
+ * instance of generated figure class
* @generated
*/
protected IFigure setupContentPane(IFigure nodeShape)
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AClassItemSemanticEditPolicy.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AClassItemSemanticEditPolicy.java
index 7c9ec3575c..3823060b8e 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AClassItemSemanticEditPolicy.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AClassItemSemanticEditPolicy.java
@@ -185,8 +185,9 @@ public class AClassItemSemanticEditPolicy extends AcoreBaseItemSemanticEditPolic
switch (AcoreVisualIDRegistry.getVisualID(cnode))
{
case AAttribute2EditPart.VISUAL_ID:
- cmd.add(new DestroyElementCommand(new DestroyElementRequest(getEditingDomain(), cnode.getElement(), false))); // directlyOwned: true
- // don't need explicit deletion of cnode as parent's view deletion would clean child views as well
+ cmd.add(new DestroyElementCommand(new DestroyElementRequest(getEditingDomain(), cnode.getElement(), false))); // directlyOwned:
+ // true
+ // don't need explicit deletion of cnode as parent's view deletion would clean child views as well
// cmd.add(new org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand(getEditingDomain(), cnode));
break;
}
@@ -199,8 +200,9 @@ public class AClassItemSemanticEditPolicy extends AcoreBaseItemSemanticEditPolic
switch (AcoreVisualIDRegistry.getVisualID(cnode))
{
case AOperation2EditPart.VISUAL_ID:
- cmd.add(new DestroyElementCommand(new DestroyElementRequest(getEditingDomain(), cnode.getElement(), false))); // directlyOwned: true
- // don't need explicit deletion of cnode as parent's view deletion would clean child views as well
+ cmd.add(new DestroyElementCommand(new DestroyElementRequest(getEditingDomain(), cnode.getElement(), false))); // directlyOwned:
+ // true
+ // don't need explicit deletion of cnode as parent's view deletion would clean child views as well
// cmd.add(new org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand(getEditingDomain(), cnode));
break;
}
@@ -277,8 +279,8 @@ public class AClassItemSemanticEditPolicy extends AcoreBaseItemSemanticEditPolic
}
/**
- * Returns command to reorient EReference based link. New link target or source
- * should be the domain model element associated with this node.
+ * Returns command to reorient EReference based link. New link target or source should be the domain model element
+ * associated with this node.
*
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/ACoreRootCanonicalEditPolicy.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/ACoreRootCanonicalEditPolicy.java
index fa983769ad..fbff1c28e4 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/ACoreRootCanonicalEditPolicy.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/ACoreRootCanonicalEditPolicy.java
@@ -139,7 +139,8 @@ public class ACoreRootCanonicalEditPolicy extends CanonicalEditPolicy
List<View> orphaned = cleanCanonicalSemanticChildren(getViewChildren(), semanticChildren);
boolean changed = deleteViews(orphaned.iterator());
// leave descriptors that reference survived semanticChildren.
- // NOTE, we may want to stop using cleanCanonicalSemanticChildren() here, replacing with own code, that respects NodeDescriptors
+ // NOTE, we may want to stop using cleanCanonicalSemanticChildren() here, replacing with own code, that respects
+ // NodeDescriptors
for (Iterator<AcoreNodeDescriptor> it = childDescriptors.iterator(); it.hasNext();)
{
AcoreNodeDescriptor next = it.next();
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AInterfaceItemSemanticEditPolicy.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AInterfaceItemSemanticEditPolicy.java
index 6669573eba..903be83b7f 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AInterfaceItemSemanticEditPolicy.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AInterfaceItemSemanticEditPolicy.java
@@ -105,8 +105,9 @@ public class AInterfaceItemSemanticEditPolicy extends AcoreBaseItemSemanticEditP
switch (AcoreVisualIDRegistry.getVisualID(cnode))
{
case AAttributeEditPart.VISUAL_ID:
- cmd.add(new DestroyElementCommand(new DestroyElementRequest(getEditingDomain(), cnode.getElement(), false))); // directlyOwned: true
- // don't need explicit deletion of cnode as parent's view deletion would clean child views as well
+ cmd.add(new DestroyElementCommand(new DestroyElementRequest(getEditingDomain(), cnode.getElement(), false))); // directlyOwned:
+ // true
+ // don't need explicit deletion of cnode as parent's view deletion would clean child views as well
// cmd.add(new org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand(getEditingDomain(), cnode));
break;
}
@@ -119,8 +120,9 @@ public class AInterfaceItemSemanticEditPolicy extends AcoreBaseItemSemanticEditP
switch (AcoreVisualIDRegistry.getVisualID(cnode))
{
case AOperationEditPart.VISUAL_ID:
- cmd.add(new DestroyElementCommand(new DestroyElementRequest(getEditingDomain(), cnode.getElement(), false))); // directlyOwned: true
- // don't need explicit deletion of cnode as parent's view deletion would clean child views as well
+ cmd.add(new DestroyElementCommand(new DestroyElementRequest(getEditingDomain(), cnode.getElement(), false))); // directlyOwned:
+ // true
+ // don't need explicit deletion of cnode as parent's view deletion would clean child views as well
// cmd.add(new org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand(getEditingDomain(), cnode));
break;
}
@@ -165,8 +167,8 @@ public class AInterfaceItemSemanticEditPolicy extends AcoreBaseItemSemanticEditP
}
/**
- * Returns command to reorient EReference based link. New link target or source
- * should be the domain model element associated with this node.
+ * Returns command to reorient EReference based link. New link target or source should be the domain model element
+ * associated with this node.
*
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AcoreBaseItemSemanticEditPolicy.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AcoreBaseItemSemanticEditPolicy.java
index 94789ea680..b76cab75b9 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AcoreBaseItemSemanticEditPolicy.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/edit/policies/AcoreBaseItemSemanticEditPolicy.java
@@ -55,6 +55,7 @@ public class AcoreBaseItemSemanticEditPolicy extends SemanticEditPolicy
/**
* Extended request data key to hold editpart visual id.
+ *
* @generated
*/
public static final String VISUAL_ID_KEY = "visual_id"; //$NON-NLS-1$
@@ -73,11 +74,9 @@ public class AcoreBaseItemSemanticEditPolicy extends SemanticEditPolicy
}
/**
- * Extended request data key to hold editpart visual id.
- * Add visual id of edited editpart to extended data of the request
- * so command switch can decide what kind of diagram element is being edited.
- * It is done in those cases when it's not possible to deduce diagram
- * element kind from domain element.
+ * Extended request data key to hold editpart visual id. Add visual id of edited editpart to extended data of the
+ * request so command switch can decide what kind of diagram element is being edited. It is done in those cases when
+ * it's not possible to deduce diagram element kind from domain element.
*
* @generated
*/
@@ -97,6 +96,7 @@ public class AcoreBaseItemSemanticEditPolicy extends SemanticEditPolicy
/**
* Returns visual id from request parameters.
+ *
* @generated
*/
protected int getVisualID(IEditCommandRequest request)
@@ -316,6 +316,7 @@ public class AcoreBaseItemSemanticEditPolicy extends SemanticEditPolicy
/**
* Returns editing domain from the host edit part.
+ *
* @generated
*/
protected TransactionalEditingDomain getEditingDomain()
@@ -325,6 +326,7 @@ public class AcoreBaseItemSemanticEditPolicy extends SemanticEditPolicy
/**
* Clean all shortcuts to the host element from the same diagram
+ *
* @generated
*/
protected void addDestroyShortcutsCommand(ICompositeCommand cmd, View view)
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorPlugin.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorPlugin.java
index d6c91dc927..fc5dc492a6 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorPlugin.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorPlugin.java
@@ -142,11 +142,11 @@ public class AcoreDiagramEditorPlugin extends AbstractUIPlugin
}
/**
- * Returns an image descriptor for the image file at the given
- * plug-in relative path.
- *
+ * Returns an image descriptor for the image file at the given plug-in relative path.
+ *
* @generated
- * @param path the path
+ * @param path
+ * the path
* @return the image descriptor
*/
public static ImageDescriptor getBundledImageDescriptor(String path)
@@ -155,12 +155,12 @@ public class AcoreDiagramEditorPlugin extends AbstractUIPlugin
}
/**
- * Respects images residing in any plug-in. If path is relative,
- * then this bundle is looked up for the image, otherwise, for absolute
- * path, first segment is taken as id of plug-in with image
- *
+ * Respects images residing in any plug-in. If path is relative, then this bundle is looked up for the image,
+ * otherwise, for absolute path, first segment is taken as id of plug-in with image
+ *
* @generated
- * @param path the path to image, either absolute (with plug-in id as first segment), or relative for bundled images
+ * @param path
+ * the path to image, either absolute (with plug-in id as first segment), or relative for bundled images
* @return the image descriptor
*/
public static ImageDescriptor findImageDescriptor(String path)
@@ -178,11 +178,12 @@ public class AcoreDiagramEditorPlugin extends AbstractUIPlugin
}
/**
- * Returns an image for the image file at the given plug-in relative path.
- * Client do not need to dispose this image. Images will be disposed automatically.
- *
+ * Returns an image for the image file at the given plug-in relative path. Client do not need to dispose this image.
+ * Images will be disposed automatically.
+ *
* @generated
- * @param path the path
+ * @param path
+ * the path
* @return image instance
*/
public Image getBundledImage(String path)
@@ -198,7 +199,7 @@ public class AcoreDiagramEditorPlugin extends AbstractUIPlugin
/**
* Returns string from plug-in's resource bundle
- *
+ *
* @generated
*/
public static String getString(String key)
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorUtil.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorUtil.java
index 5ec3d076be..fcc54a6773 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorUtil.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDiagramEditorUtil.java
@@ -169,6 +169,7 @@ public class AcoreDiagramEditorUtil
/**
* This method should be called within a workspace modify operation since it creates resources.
+ *
* @generated
*/
public static Resource createDiagram(URI diagramURI, URI modelURI, IProgressMonitor progressMonitor)
@@ -224,9 +225,8 @@ public class AcoreDiagramEditorUtil
}
/**
- * Create a new instance of domain element associated with canvas.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Create a new instance of domain element associated with canvas. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private static ACoreRoot createInitialModel()
@@ -235,9 +235,8 @@ public class AcoreDiagramEditorUtil
}
/**
- * Store model element in the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Store model element in the resource. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private static void attachModelToResource(ACoreRoot model, Resource resource)
@@ -248,7 +247,7 @@ public class AcoreDiagramEditorUtil
/**
* @generated
*/
- public static void selectElementsInDiagram(IDiagramWorkbenchPart diagramPart, List/*EditPart*/editParts)
+ public static void selectElementsInDiagram(IDiagramWorkbenchPart diagramPart, List/* EditPart */editParts)
{
diagramPart.getDiagramGraphicalViewer().deselectAll();
@@ -445,6 +444,6 @@ public class AcoreDiagramEditorUtil
}
return element2ViewMap;
}
- } //LazyElement2ViewMap
+ } // LazyElement2ViewMap
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDocumentProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDocumentProvider.java
index 5120892e12..2c20f522d7 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDocumentProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreDocumentProvider.java
@@ -111,12 +111,13 @@ public class AcoreDocumentProvider extends AbstractDocumentProvider implements I
}
/**
- * Sets up the given document as it would be provided for the given element. The
- * content of the document is not changed. This default implementation is empty.
- * Subclasses may reimplement.
+ * Sets up the given document as it would be provided for the given element. The content of the document is not
+ * changed. This default implementation is empty. Subclasses may reimplement.
*
- * @param element the blue-print element
- * @param document the document to set up
+ * @param element
+ * the blue-print element
+ * @param document
+ * the document to set up
* @generated
*/
protected void setupDocument(Object element, IDocument document)
@@ -235,7 +236,7 @@ public class AcoreDocumentProvider extends AbstractDocumentProvider implements I
try
{
Map options = new HashMap(GMFResourceFactory.getDefaultLoadOptions());
- // @see 171060
+ // @see 171060
// options.put(org.eclipse.emf.ecore.xmi.XMLResource.OPTION_RECORD_UNKNOWN_FEATURE, Boolean.TRUE);
resource.load(options);
}
@@ -387,7 +388,8 @@ public class AcoreDocumentProvider extends AbstractDocumentProvider implements I
catch (CoreException ex)
{
AcoreDiagramEditorPlugin.getInstance().logError(Messages.AcoreDocumentProvider_isModifiable, ex);
- // Error message to log was initially taken from org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.internal.l10n.EditorMessages.StorageDocumentProvider_isModifiable
+ // Error message to log was initially taken from
+ // org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.internal.l10n.EditorMessages.StorageDocumentProvider_isModifiable
}
}
return info.isReadOnly();
@@ -419,7 +421,8 @@ public class AcoreDocumentProvider extends AbstractDocumentProvider implements I
catch (CoreException ex)
{
AcoreDiagramEditorPlugin.getInstance().logError(Messages.AcoreDocumentProvider_isModifiable, ex);
- // Error message to log was initially taken from org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.internal.l10n.EditorMessages.StorageDocumentProvider_isModifiable
+ // Error message to log was initially taken from
+ // org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.internal.l10n.EditorMessages.StorageDocumentProvider_isModifiable
}
}
return info.isModifiable();
@@ -583,10 +586,8 @@ public class AcoreDocumentProvider extends AbstractDocumentProvider implements I
do
{
/*
- * XXX This is a workaround for
- * https://bugs.eclipse.org/bugs/show_bug.cgi?id=67601
- * IResourceRuleFactory.createRule should iterate the hierarchy
- * itself.
+ * XXX This is a workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=67601
+ * IResourceRuleFactory.createRule should iterate the hierarchy itself.
*/
toCreateOrModify = parent;
parent = toCreateOrModify.getParent();
@@ -632,7 +633,7 @@ public class AcoreDocumentProvider extends AbstractDocumentProvider implements I
try
{
monitor.beginTask(Messages.AcoreDocumentProvider_SaveDiagramTask,
- info.getResourceSet().getResources().size() + 1); //"Saving diagram"
+ info.getResourceSet().getResources().size() + 1); // "Saving diagram"
for (Iterator<Resource> it = info.getLoadedResourcesIterator(); it.hasNext();)
{
Resource nextResource = it.next();
@@ -745,7 +746,8 @@ public class AcoreDocumentProvider extends AbstractDocumentProvider implements I
catch (CoreException ex)
{
AcoreDiagramEditorPlugin.getInstance().logError(Messages.AcoreDocumentProvider_handleElementContentChanged, ex);
- // Error message to log was initially taken from org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.internal.l10n.EditorMessages.FileDocumentProvider_handleElementContentChanged
+ // Error message to log was initially taken from
+ // org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.internal.l10n.EditorMessages.FileDocumentProvider_handleElementContentChanged
}
}
changedResource.unload();
@@ -1167,7 +1169,7 @@ public class AcoreDocumentProvider extends AbstractDocumentProvider implements I
if (resource.isLoaded())
{
boolean modified = false;
- for (Iterator/*<org.eclipse.emf.ecore.resource.Resource>*/it = myInfo.getLoadedResourcesIterator(); it
+ for (Iterator/* <org.eclipse.emf.ecore.resource.Resource> */it = myInfo.getLoadedResourcesIterator(); it
.hasNext()
&& !modified;)
{
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcorePaletteFactory.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcorePaletteFactory.java
index 8cb627195a..d9cb10e1bf 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcorePaletteFactory.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcorePaletteFactory.java
@@ -42,6 +42,7 @@ public class AcorePaletteFactory
/**
* Creates "Node" palette tool group
+ *
* @generated
*/
private PaletteContainer createNode1Group()
@@ -57,6 +58,7 @@ public class AcorePaletteFactory
/**
* Creates "Connections" palette tool group
+ *
* @generated
*/
private PaletteContainer createConnections2Group()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreVisualIDRegistry.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreVisualIDRegistry.java
index 20c11815c2..8917fdca3d 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreVisualIDRegistry.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/AcoreVisualIDRegistry.java
@@ -33,9 +33,8 @@ import org.eclipse.gmf.runtime.notation.Diagram;
import org.eclipse.gmf.runtime.notation.View;
/**
- * This registry is used to determine which type of visual object should be
- * created for the corresponding Diagram, Node, ChildNode or Link represented
- * by a domain model object.
+ * This registry is used to determine which type of visual object should be created for the corresponding Diagram, Node,
+ * ChildNode or Link represented by a domain model object.
*
* @generated
*/
@@ -309,8 +308,7 @@ public class AcoreVisualIDRegistry
}
/**
- * User can change implementation of this method to handle some specific
- * situations not covered by default logic.
+ * User can change implementation of this method to handle some specific situations not covered by default logic.
*
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/Messages.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/Messages.java
index 5738eb08cf..1c2ec87460 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/Messages.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/Messages.java
@@ -484,5 +484,5 @@ public class Messages extends NLS
*/
public static String AcoreModelingAssistantProviderMessage;
- //TODO: put accessor fields manually
+ // TODO: put accessor fields manually
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/ModelElementSelectionPage.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/ModelElementSelectionPage.java
index 279aeb423c..6bcbbebe89 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/ModelElementSelectionPage.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/ModelElementSelectionPage.java
@@ -30,6 +30,7 @@ import org.eclipse.swt.widgets.Label;
/**
* Wizard page that allows to select element from model.
+ *
* @generated
*/
public class ModelElementSelectionPage extends WizardPage
@@ -126,6 +127,7 @@ public class ModelElementSelectionPage extends WizardPage
/**
* Override to provide custom model element description.
+ *
* @generated
*/
protected String getSelectionTitle()
@@ -160,6 +162,7 @@ public class ModelElementSelectionPage extends WizardPage
/**
* Override to provide specific validation of the selected model element.
+ *
* @generated
*/
protected boolean validatePage()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreParserProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreParserProvider.java
index c9ddd72de4..36c098eb26 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreParserProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreParserProvider.java
@@ -194,6 +194,7 @@ public class AcoreParserProvider extends AbstractProvider implements IParserProv
/**
* Utility method that consults ParserService
+ *
* @generated
*/
public static IParser getParser(IElementType type, EObject object, String parserHint)
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreViewProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreViewProvider.java
index f8424dd561..f7a0a17edc 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreViewProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/providers/AcoreViewProvider.java
@@ -108,10 +108,9 @@ public class AcoreViewProvider extends AbstractProvider implements IViewProvider
protected boolean provides(CreateViewForKindOperation op)
{
/*
- if (op.getViewKind() == Node.class)
- return getNodeViewClass(op.getSemanticAdapter(), op.getContainerView(), op.getSemanticHint()) != null;
- if (op.getViewKind() == Edge.class)
- return getEdgeViewClass(op.getSemanticAdapter(), op.getContainerView(), op.getSemanticHint()) != null;
+ * if (op.getViewKind() == Node.class) return getNodeViewClass(op.getSemanticAdapter(), op.getContainerView(),
+ * op.getSemanticHint()) != null; if (op.getViewKind() == Edge.class) return
+ * getEdgeViewClass(op.getSemanticAdapter(), op.getContainerView(), op.getSemanticHint()) != null;
*/
return true;
}
@@ -310,7 +309,7 @@ public class AcoreViewProvider extends AbstractProvider implements IViewProvider
ViewUtil.insertChildView(containerView, node, index, persisted);
node.setElement(domainElement);
stampShortcut(containerView, node);
- // initializeFromPreferences
+ // initializeFromPreferences
final IPreferenceStore prefStore = (IPreferenceStore)preferencesHint.getPreferenceStore();
org.eclipse.swt.graphics.RGB lineRGB = PreferenceConverter
@@ -352,7 +351,7 @@ public class AcoreViewProvider extends AbstractProvider implements IViewProvider
ViewUtil.insertChildView(containerView, node, index, persisted);
node.setElement(domainElement);
stampShortcut(containerView, node);
- // initializeFromPreferences
+ // initializeFromPreferences
final IPreferenceStore prefStore = (IPreferenceStore)preferencesHint.getPreferenceStore();
org.eclipse.swt.graphics.RGB lineRGB = PreferenceConverter
@@ -686,9 +685,9 @@ public class AcoreViewProvider extends AbstractProvider implements IViewProvider
private Node createCompartment(View owner, String hint, boolean canCollapse, boolean hasTitle, boolean canSort,
boolean canFilter)
{
- //SemanticListCompartment rv = NotationFactory.eINSTANCE.createSemanticListCompartment();
- //rv.setShowTitle(showTitle);
- //rv.setCollapsed(isCollapsed);
+ // SemanticListCompartment rv = NotationFactory.eINSTANCE.createSemanticListCompartment();
+ // rv.setShowTitle(showTitle);
+ // rv.setCollapsed(isCollapsed);
Node rv;
if (canCollapse)
{
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/sheet/AcorePropertySection.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/sheet/AcorePropertySection.java
index eb94a90fb0..cb87971e93 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/sheet/AcorePropertySection.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/sheet/AcorePropertySection.java
@@ -71,6 +71,7 @@ public class AcorePropertySection extends AdvancedPropertySection implements IPr
/**
* Modify/unwrap selection.
+ *
* @generated
*/
protected Object transformSelection(Object selected)
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AAttributeItemProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AAttributeItemProvider.java
index acd02fadce..e1e21f64fd 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AAttributeItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AAttributeItemProvider.java
@@ -11,15 +11,12 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.provider;
-
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.cdo.dawn.examples.acore.AAttribute;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -28,31 +25,24 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
/**
- * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute} object. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-public class AAttributeItemProvider
- extends AClassChildItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource
+public class AAttributeItemProvider extends AClassChildItemProvider implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AAttributeItemProvider(AdapterFactory adapterFactory)
@@ -61,9 +51,8 @@ public class AAttributeItemProvider
}
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -78,9 +67,8 @@ public class AAttributeItemProvider
}
/**
- * This returns AAttribute.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns AAttribute.gif. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -90,25 +78,22 @@ public class AAttributeItemProvider
}
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object)
{
String label = ((AAttribute)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_AAttribute_type") :
- getString("_UI_AAttribute_type") + " " + label;
+ return label == null || label.length() == 0 ? getString("_UI_AAttribute_type") : getString("_UI_AAttribute_type")
+ + " " + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating a
+ * viewer notification, which it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -119,10 +104,9 @@ public class AAttributeItemProvider
}
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created under
+ * this object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ABasicClassItemProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ABasicClassItemProvider.java
index b0c316d67d..fbb6c82d24 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ABasicClassItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ABasicClassItemProvider.java
@@ -11,21 +11,16 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.provider;
-
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass;
import org.eclipse.emf.cdo.dawn.examples.acore.AcoreFactory;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -38,31 +33,24 @@ import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
- * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass} object. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-public class ABasicClassItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource
+public class ABasicClassItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public ABasicClassItemProvider(AdapterFactory adapterFactory)
@@ -71,9 +59,8 @@ public class ABasicClassItemProvider
}
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -89,34 +76,25 @@ public class ABasicClassItemProvider
}
/**
- * This adds a property descriptor for the Name feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Name feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addNamePropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ABasicClass_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ABasicClass_name_feature", "_UI_ABasicClass_type"),
- AcorePackage.Literals.ABASIC_CLASS__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_ABasicClass_name_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_ABasicClass_name_feature", "_UI_ABasicClass_type"),
+ AcorePackage.Literals.ABASIC_CLASS__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
+ null));
}
/**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
@Override
@@ -132,8 +110,8 @@ public class ABasicClassItemProvider
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -146,9 +124,8 @@ public class ABasicClassItemProvider
}
/**
- * This returns ABasicClass.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns ABasicClass.gif. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -158,25 +135,22 @@ public class ABasicClassItemProvider
}
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object)
{
String label = ((ABasicClass)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_ABasicClass_type") :
- getString("_UI_ABasicClass_type") + " " + label;
+ return label == null || label.length() == 0 ? getString("_UI_ABasicClass_type") : getString("_UI_ABasicClass_type")
+ + " " + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating a
+ * viewer notification, which it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -186,22 +160,21 @@ public class ABasicClassItemProvider
switch (notification.getFeatureID(ABasicClass.class))
{
- case AcorePackage.ABASIC_CLASS__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case AcorePackage.ABASIC_CLASS__OPERATIONS:
- case AcorePackage.ABASIC_CLASS__ATTRIBUTES:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case AcorePackage.ABASIC_CLASS__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case AcorePackage.ABASIC_CLASS__OPERATIONS:
+ case AcorePackage.ABASIC_CLASS__ATTRIBUTES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created under
+ * this object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -209,21 +182,16 @@ public class ABasicClassItemProvider
{
super.collectNewChildDescriptors(newChildDescriptors, object);
- newChildDescriptors.add
- (createChildParameter
- (AcorePackage.Literals.ABASIC_CLASS__OPERATIONS,
- AcoreFactory.eINSTANCE.createAOperation()));
+ newChildDescriptors.add(createChildParameter(AcorePackage.Literals.ABASIC_CLASS__OPERATIONS, AcoreFactory.eINSTANCE
+ .createAOperation()));
- newChildDescriptors.add
- (createChildParameter
- (AcorePackage.Literals.ABASIC_CLASS__ATTRIBUTES,
- AcoreFactory.eINSTANCE.createAAttribute()));
+ newChildDescriptors.add(createChildParameter(AcorePackage.Literals.ABASIC_CLASS__ATTRIBUTES, AcoreFactory.eINSTANCE
+ .createAAttribute()));
}
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Return the resource locator for this item provider's resources. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassChildItemProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassChildItemProvider.java
index e04044072e..eee0d7b609 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassChildItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassChildItemProvider.java
@@ -11,18 +11,14 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.provider;
-
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.cdo.dawn.examples.acore.AClassChild;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -35,31 +31,24 @@ import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
- * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild} object. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-public class AClassChildItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource
+public class AClassChildItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AClassChildItemProvider(AdapterFactory adapterFactory)
@@ -68,9 +57,8 @@ public class AClassChildItemProvider
}
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -88,78 +76,50 @@ public class AClassChildItemProvider
}
/**
- * This adds a property descriptor for the Name feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Name feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addNamePropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AClassChild_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AClassChild_name_feature", "_UI_AClassChild_type"),
- AcorePackage.Literals.ACLASS_CHILD__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AClassChild_name_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_AClassChild_name_feature", "_UI_AClassChild_type"),
+ AcorePackage.Literals.ACLASS_CHILD__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
+ null));
}
/**
- * This adds a property descriptor for the Accessright feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Accessright feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addAccessrightPropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AClassChild_accessright_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AClassChild_accessright_feature", "_UI_AClassChild_type"),
- AcorePackage.Literals.ACLASS_CHILD__ACCESSRIGHT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AClassChild_accessright_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_AClassChild_accessright_feature", "_UI_AClassChild_type"),
+ AcorePackage.Literals.ACLASS_CHILD__ACCESSRIGHT, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
}
/**
- * This adds a property descriptor for the Data Type feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Data Type feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addDataTypePropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AClassChild_dataType_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AClassChild_dataType_feature", "_UI_AClassChild_type"),
- AcorePackage.Literals.ACLASS_CHILD__DATA_TYPE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AClassChild_dataType_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_AClassChild_dataType_feature", "_UI_AClassChild_type"),
+ AcorePackage.Literals.ACLASS_CHILD__DATA_TYPE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null, null));
}
/**
- * This returns AClassChild.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns AClassChild.gif. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -169,25 +129,22 @@ public class AClassChildItemProvider
}
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object)
{
String label = ((AClassChild)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_AClassChild_type") :
- getString("_UI_AClassChild_type") + " " + label;
+ return label == null || label.length() == 0 ? getString("_UI_AClassChild_type") : getString("_UI_AClassChild_type")
+ + " " + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating a
+ * viewer notification, which it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -197,20 +154,19 @@ public class AClassChildItemProvider
switch (notification.getFeatureID(AClassChild.class))
{
- case AcorePackage.ACLASS_CHILD__NAME:
- case AcorePackage.ACLASS_CHILD__ACCESSRIGHT:
- case AcorePackage.ACLASS_CHILD__DATA_TYPE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case AcorePackage.ACLASS_CHILD__NAME:
+ case AcorePackage.ACLASS_CHILD__ACCESSRIGHT:
+ case AcorePackage.ACLASS_CHILD__DATA_TYPE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created under
+ * this object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -220,9 +176,8 @@ public class AClassChildItemProvider
}
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Return the resource locator for this item provider's resources. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassItemProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassItemProvider.java
index a9fc3d11b4..f4a5cfb636 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AClassItemProvider.java
@@ -11,16 +11,13 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.provider;
-
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.cdo.dawn.examples.acore.AClass;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -30,31 +27,24 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
/**
- * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass} object. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-public class AClassItemProvider
- extends ABasicClassItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource
+public class AClassItemProvider extends ABasicClassItemProvider implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AClassItemProvider(AdapterFactory adapterFactory)
@@ -63,9 +53,8 @@ public class AClassItemProvider
}
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -85,124 +74,74 @@ public class AClassItemProvider
}
/**
- * This adds a property descriptor for the Sub Classes feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Sub Classes feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addSubClassesPropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AClass_subClasses_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AClass_subClasses_feature", "_UI_AClass_type"),
- AcorePackage.Literals.ACLASS__SUB_CLASSES,
- true,
- false,
- true,
- null,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AClass_subClasses_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_AClass_subClasses_feature", "_UI_AClass_type"),
+ AcorePackage.Literals.ACLASS__SUB_CLASSES, true, false, true, null, null, null));
}
/**
- * This adds a property descriptor for the Implemented Interfaces feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Implemented Interfaces feature. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
* @generated
*/
protected void addImplementedInterfacesPropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AClass_implementedInterfaces_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AClass_implementedInterfaces_feature", "_UI_AClass_type"),
- AcorePackage.Literals.ACLASS__IMPLEMENTED_INTERFACES,
- true,
- false,
- true,
- null,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AClass_implementedInterfaces_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AClass_implementedInterfaces_feature", "_UI_AClass_type"),
+ AcorePackage.Literals.ACLASS__IMPLEMENTED_INTERFACES, true, false, true, null, null, null));
}
/**
- * This adds a property descriptor for the Associations feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Associations feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addAssociationsPropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AClass_associations_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AClass_associations_feature", "_UI_AClass_type"),
- AcorePackage.Literals.ACLASS__ASSOCIATIONS,
- true,
- false,
- true,
- null,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AClass_associations_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_AClass_associations_feature", "_UI_AClass_type"),
+ AcorePackage.Literals.ACLASS__ASSOCIATIONS, true, false, true, null, null, null));
}
/**
- * This adds a property descriptor for the Compositions feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Compositions feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addCompositionsPropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AClass_compositions_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AClass_compositions_feature", "_UI_AClass_type"),
- AcorePackage.Literals.ACLASS__COMPOSITIONS,
- true,
- false,
- true,
- null,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AClass_compositions_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_AClass_compositions_feature", "_UI_AClass_type"),
+ AcorePackage.Literals.ACLASS__COMPOSITIONS, true, false, true, null, null, null));
}
/**
- * This adds a property descriptor for the Aggregations feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Aggregations feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addAggregationsPropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AClass_aggregations_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AClass_aggregations_feature", "_UI_AClass_type"),
- AcorePackage.Literals.ACLASS__AGGREGATIONS,
- true,
- false,
- true,
- null,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AClass_aggregations_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_AClass_aggregations_feature", "_UI_AClass_type"),
+ AcorePackage.Literals.ACLASS__AGGREGATIONS, true, false, true, null, null, null));
}
/**
- * This returns AClass.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns AClass.gif. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -212,25 +151,22 @@ public class AClassItemProvider
}
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object)
{
String label = ((AClass)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_AClass_type") :
- getString("_UI_AClass_type") + " " + label;
+ return label == null || label.length() == 0 ? getString("_UI_AClass_type") : getString("_UI_AClass_type") + " "
+ + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating a
+ * viewer notification, which it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -241,10 +177,9 @@ public class AClassItemProvider
}
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created under
+ * this object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ACoreRootItemProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ACoreRootItemProvider.java
index 316d9580c3..b06c4a0f0e 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ACoreRootItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/ACoreRootItemProvider.java
@@ -11,21 +11,16 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.provider;
-
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot;
import org.eclipse.emf.cdo.dawn.examples.acore.AcoreFactory;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -38,31 +33,24 @@ import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
- * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot} object. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-public class ACoreRootItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource
+public class ACoreRootItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public ACoreRootItemProvider(AdapterFactory adapterFactory)
@@ -71,9 +59,8 @@ public class ACoreRootItemProvider
}
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -89,34 +76,25 @@ public class ACoreRootItemProvider
}
/**
- * This adds a property descriptor for the Title feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Title feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addTitlePropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ACoreRoot_title_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ACoreRoot_title_feature", "_UI_ACoreRoot_type"),
- AcorePackage.Literals.ACORE_ROOT__TITLE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_ACoreRoot_title_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_ACoreRoot_title_feature", "_UI_ACoreRoot_type"),
+ AcorePackage.Literals.ACORE_ROOT__TITLE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
+ null));
}
/**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
@Override
@@ -132,8 +110,8 @@ public class ACoreRootItemProvider
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -146,9 +124,8 @@ public class ACoreRootItemProvider
}
/**
- * This returns ACoreRoot.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns ACoreRoot.gif. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -158,25 +135,22 @@ public class ACoreRootItemProvider
}
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object)
{
String label = ((ACoreRoot)object).getTitle();
- return label == null || label.length() == 0 ?
- getString("_UI_ACoreRoot_type") :
- getString("_UI_ACoreRoot_type") + " " + label;
+ return label == null || label.length() == 0 ? getString("_UI_ACoreRoot_type") : getString("_UI_ACoreRoot_type")
+ + " " + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating a
+ * viewer notification, which it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -186,22 +160,21 @@ public class ACoreRootItemProvider
switch (notification.getFeatureID(ACoreRoot.class))
{
- case AcorePackage.ACORE_ROOT__TITLE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case AcorePackage.ACORE_ROOT__CLASSES:
- case AcorePackage.ACORE_ROOT__INTERFACES:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case AcorePackage.ACORE_ROOT__TITLE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case AcorePackage.ACORE_ROOT__CLASSES:
+ case AcorePackage.ACORE_ROOT__INTERFACES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created under
+ * this object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -209,21 +182,16 @@ public class ACoreRootItemProvider
{
super.collectNewChildDescriptors(newChildDescriptors, object);
- newChildDescriptors.add
- (createChildParameter
- (AcorePackage.Literals.ACORE_ROOT__CLASSES,
- AcoreFactory.eINSTANCE.createAClass()));
+ newChildDescriptors.add(createChildParameter(AcorePackage.Literals.ACORE_ROOT__CLASSES, AcoreFactory.eINSTANCE
+ .createAClass()));
- newChildDescriptors.add
- (createChildParameter
- (AcorePackage.Literals.ACORE_ROOT__INTERFACES,
- AcoreFactory.eINSTANCE.createAInterface()));
+ newChildDescriptors.add(createChildParameter(AcorePackage.Literals.ACORE_ROOT__INTERFACES, AcoreFactory.eINSTANCE
+ .createAInterface()));
}
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Return the resource locator for this item provider's resources. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AInterfaceItemProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AInterfaceItemProvider.java
index 5f495f62bb..44bd9d31f2 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AInterfaceItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AInterfaceItemProvider.java
@@ -11,15 +11,12 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.provider;
-
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.cdo.dawn.examples.acore.AInterface;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -28,31 +25,24 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
/**
- * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface} object. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-public class AInterfaceItemProvider
- extends ABasicClassItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource
+public class AInterfaceItemProvider extends ABasicClassItemProvider implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AInterfaceItemProvider(AdapterFactory adapterFactory)
@@ -61,9 +51,8 @@ public class AInterfaceItemProvider
}
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -78,9 +67,8 @@ public class AInterfaceItemProvider
}
/**
- * This returns AInterface.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns AInterface.gif. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -90,25 +78,22 @@ public class AInterfaceItemProvider
}
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object)
{
String label = ((AInterface)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_AInterface_type") :
- getString("_UI_AInterface_type") + " " + label;
+ return label == null || label.length() == 0 ? getString("_UI_AInterface_type") : getString("_UI_AInterface_type")
+ + " " + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating a
+ * viewer notification, which it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -119,10 +104,9 @@ public class AInterfaceItemProvider
}
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created under
+ * this object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AOperationItemProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AOperationItemProvider.java
index 2e1979b5af..1936ad56fb 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AOperationItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AOperationItemProvider.java
@@ -11,19 +11,15 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.provider;
-
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.cdo.dawn.examples.acore.AOperation;
import org.eclipse.emf.cdo.dawn.examples.acore.AcoreFactory;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -33,31 +29,24 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
- * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation} object. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-public class AOperationItemProvider
- extends AClassChildItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource
+public class AOperationItemProvider extends AClassChildItemProvider implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AOperationItemProvider(AdapterFactory adapterFactory)
@@ -66,9 +55,8 @@ public class AOperationItemProvider
}
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -85,9 +73,9 @@ public class AOperationItemProvider
/**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
@Override
@@ -102,8 +90,8 @@ public class AOperationItemProvider
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -116,9 +104,8 @@ public class AOperationItemProvider
}
/**
- * This returns AOperation.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns AOperation.gif. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -128,25 +115,22 @@ public class AOperationItemProvider
}
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object)
{
String label = ((AOperation)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_AOperation_type") :
- getString("_UI_AOperation_type") + " " + label;
+ return label == null || label.length() == 0 ? getString("_UI_AOperation_type") : getString("_UI_AOperation_type")
+ + " " + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating a
+ * viewer notification, which it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -156,18 +140,17 @@ public class AOperationItemProvider
switch (notification.getFeatureID(AOperation.class))
{
- case AcorePackage.AOPERATION__PARAMETERS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
+ case AcorePackage.AOPERATION__PARAMETERS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
}
super.notifyChanged(notification);
}
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created under
+ * this object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -175,10 +158,8 @@ public class AOperationItemProvider
{
super.collectNewChildDescriptors(newChildDescriptors, object);
- newChildDescriptors.add
- (createChildParameter
- (AcorePackage.Literals.AOPERATION__PARAMETERS,
- AcoreFactory.eINSTANCE.createAParameter()));
+ newChildDescriptors.add(createChildParameter(AcorePackage.Literals.AOPERATION__PARAMETERS, AcoreFactory.eINSTANCE
+ .createAParameter()));
}
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AParameterItemProvider.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AParameterItemProvider.java
index 07b21f7e43..21e8ecf65e 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AParameterItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AParameterItemProvider.java
@@ -11,18 +11,14 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.provider;
-
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.cdo.dawn.examples.acore.AParameter;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -35,31 +31,24 @@ import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
- * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the item provider adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter} object. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-public class AParameterItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource
+public class AParameterItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This constructs an instance from a factory and a notifier. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AParameterItemProvider(AdapterFactory adapterFactory)
@@ -68,9 +57,8 @@ public class AParameterItemProvider
}
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the property descriptors for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -87,55 +75,36 @@ public class AParameterItemProvider
}
/**
- * This adds a property descriptor for the Name feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Name feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addNamePropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AParameter_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AParameter_name_feature", "_UI_AParameter_type"),
- AcorePackage.Literals.APARAMETER__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AParameter_name_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_AParameter_name_feature", "_UI_AParameter_type"),
+ AcorePackage.Literals.APARAMETER__NAME, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
+ null));
}
/**
- * This adds a property descriptor for the Type feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a property descriptor for the Type feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected void addTypePropertyDescriptor(Object object)
{
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AParameter_type_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_AParameter_type_feature", "_UI_AParameter_type"),
- AcorePackage.Literals.APARAMETER__TYPE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory)
+ .getRootAdapterFactory(), getResourceLocator(), getString("_UI_AParameter_type_feature"), getString(
+ "_UI_PropertyDescriptor_description", "_UI_AParameter_type_feature", "_UI_AParameter_type"),
+ AcorePackage.Literals.APARAMETER__TYPE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
+ null));
}
/**
- * This returns AParameter.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns AParameter.gif. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -145,25 +114,22 @@ public class AParameterItemProvider
}
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String getText(Object object)
{
String label = ((AParameter)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_AParameter_type") :
- getString("_UI_AParameter_type") + " " + label;
+ return label == null || label.length() == 0 ? getString("_UI_AParameter_type") : getString("_UI_AParameter_type")
+ + " " + label;
}
/**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This handles model notifications by calling {@link #updateChildren} to update any cached children and by creating a
+ * viewer notification, which it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -173,19 +139,18 @@ public class AParameterItemProvider
switch (notification.getFeatureID(AParameter.class))
{
- case AcorePackage.APARAMETER__NAME:
- case AcorePackage.APARAMETER__TYPE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
+ case AcorePackage.APARAMETER__NAME:
+ case AcorePackage.APARAMETER__TYPE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
}
super.notifyChanged(notification);
}
/**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that can be created under
+ * this object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -195,9 +160,8 @@ public class AParameterItemProvider
}
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Return the resource locator for this item provider's resources. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreEditPlugin.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreEditPlugin.java
index 21fab666cc..fc91055df9 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreEditPlugin.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreEditPlugin.java
@@ -12,58 +12,49 @@
package org.eclipse.emf.cdo.dawn.examples.acore.provider;
import org.eclipse.emf.common.EMFPlugin;
-
import org.eclipse.emf.common.util.ResourceLocator;
/**
- * This is the central singleton for the Acore edit plugin.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the central singleton for the Acore edit plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public final class AcoreEditPlugin extends EMFPlugin
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * Keep track of the singleton.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final AcoreEditPlugin INSTANCE = new AcoreEditPlugin();
/**
- * Keep track of the singleton.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * 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 -->
+ * Create the instance. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AcoreEditPlugin()
{
- super
- (new ResourceLocator []
- {
- });
+ super(new ResourceLocator[] {});
}
/**
- * Returns the singleton instance of the Eclipse plugin.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -74,9 +65,8 @@ public final class AcoreEditPlugin extends EMFPlugin
}
/**
- * Returns the singleton instance of the Eclipse plugin.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the singleton instance.
* @generated
*/
@@ -86,17 +76,15 @@ public final class AcoreEditPlugin extends EMFPlugin
}
/**
- * The actual implementation of the Eclipse <b>Plugin</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The actual implementation of the Eclipse <b>Plugin</b>. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static class Implementation extends EclipsePlugin
{
/**
- * Creates an instance.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Creates an instance. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Implementation()
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreItemProviderAdapterFactory.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreItemProviderAdapterFactory.java
index 1ca1a9ebfb..de74ee1810 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreItemProviderAdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.edit/src/org/eclipse/emf/cdo/dawn/examples/acore/provider/AcoreItemProviderAdapterFactory.java
@@ -15,11 +15,9 @@ import java.util.ArrayList;
import java.util.Collection;
import org.eclipse.emf.cdo.dawn.examples.acore.util.AcoreAdapterFactory;
-
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.Notifier;
-
import org.eclipse.emf.edit.provider.ChangeNotifier;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
@@ -33,51 +31,50 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
/**
- * This is the factory that is used to provide the interfaces needed to support Viewers.
- * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
- * The adapters also support Eclipse property sheets.
- * Note that most of the adapters are shared among multiple instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is the factory that is used to provide the interfaces needed to support Viewers. The adapters generated by this
+ * factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. The adapters
+ * also support Eclipse property sheets. Note that most of the adapters are shared among multiple instances. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
-public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable
+public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory implements ComposeableAdapterFactory,
+ IChangeNotifier, IDisposable
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * This keeps track of the root adapter factory that delegates to this adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This keeps track of the root adapter factory that delegates to this adapter factory. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
protected ComposedAdapterFactory parentAdapterFactory;
/**
- * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
protected IChangeNotifier changeNotifier = new ChangeNotifier();
/**
- * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected Collection<Object> supportedTypes = new ArrayList<Object>();
/**
- * This constructs an instance.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This constructs an instance. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AcoreItemProviderAdapterFactory()
@@ -91,16 +88,16 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
/**
* This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AClassItemProvider aClassItemProvider;
/**
- * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
@Override
@@ -115,17 +112,17 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface}
+ * instances. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AInterfaceItemProvider aInterfaceItemProvider;
/**
- * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface}.
- * <!-- begin-user-doc -->
+ * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface}. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -140,17 +137,17 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot}
+ * instances. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected ACoreRootItemProvider aCoreRootItemProvider;
/**
- * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot}.
- * <!-- begin-user-doc -->
+ * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot}. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -165,17 +162,17 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute}
+ * instances. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AAttributeItemProvider aAttributeItemProvider;
/**
- * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute}.
- * <!-- begin-user-doc -->
+ * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute}. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -190,17 +187,17 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation}
+ * instances. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AOperationItemProvider aOperationItemProvider;
/**
- * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation}.
- * <!-- begin-user-doc -->
+ * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation}. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -215,17 +212,17 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass}
+ * instances. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected ABasicClassItemProvider aBasicClassItemProvider;
/**
- * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass}.
- * <!-- begin-user-doc -->
+ * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass}. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -240,17 +237,17 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter}
+ * instances. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AParameterItemProvider aParameterItemProvider;
/**
- * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter}.
- * <!-- begin-user-doc -->
+ * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter}. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -265,17 +262,17 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This keeps track of the one adapter used for all {@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild}
+ * instances. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AClassChildItemProvider aClassChildItemProvider;
/**
- * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild}.
- * <!-- begin-user-doc -->
+ * This creates an adapter for a {@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild}. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -290,9 +287,8 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This returns the root adapter factory that contains this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This returns the root adapter factory that contains this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public ComposeableAdapterFactory getRootAdapterFactory()
@@ -301,9 +297,8 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This sets the composed adapter factory that contains this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This sets the composed adapter factory that contains this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
@@ -312,8 +307,8 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -323,9 +318,9 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This implementation substitutes the factory itself as the key for the adapter.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This implementation substitutes the factory itself as the key for the adapter. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
@Override
@@ -335,8 +330,8 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -355,9 +350,8 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This adds a listener.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This adds a listener. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void addListener(INotifyChangedListener notifyChangedListener)
@@ -366,9 +360,8 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This removes a listener.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This removes a listener. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void removeListener(INotifyChangedListener notifyChangedListener)
@@ -377,9 +370,9 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
public void fireNotifyChanged(Notification notification)
@@ -393,21 +386,28 @@ public class AcoreItemProviderAdapterFactory extends AcoreAdapterFactory impleme
}
/**
- * This disposes all of the item providers created by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This disposes all of the item providers created by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void dispose()
{
- if (aClassItemProvider != null) aClassItemProvider.dispose();
- if (aInterfaceItemProvider != null) aInterfaceItemProvider.dispose();
- if (aCoreRootItemProvider != null) aCoreRootItemProvider.dispose();
- if (aAttributeItemProvider != null) aAttributeItemProvider.dispose();
- if (aOperationItemProvider != null) aOperationItemProvider.dispose();
- if (aBasicClassItemProvider != null) aBasicClassItemProvider.dispose();
- if (aParameterItemProvider != null) aParameterItemProvider.dispose();
- if (aClassChildItemProvider != null) aClassChildItemProvider.dispose();
+ if (aClassItemProvider != null)
+ aClassItemProvider.dispose();
+ if (aInterfaceItemProvider != null)
+ aInterfaceItemProvider.dispose();
+ if (aCoreRootItemProvider != null)
+ aCoreRootItemProvider.dispose();
+ if (aAttributeItemProvider != null)
+ aAttributeItemProvider.dispose();
+ if (aOperationItemProvider != null)
+ aOperationItemProvider.dispose();
+ if (aBasicClassItemProvider != null)
+ aBasicClassItemProvider.dispose();
+ if (aParameterItemProvider != null)
+ aParameterItemProvider.dispose();
+ if (aClassChildItemProvider != null)
+ aClassChildItemProvider.dispose();
}
}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/META-INF/MANIFEST.MF
index 4be9a926b3..f88c63f23c 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/META-INF/MANIFEST.MF
@@ -7,10 +7,11 @@ Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Export-Package: org.eclipse.emf.cdo.dawn.examples.acore,
- org.eclipse.emf.cdo.dawn.examples.acore.impl,
- org.eclipse.emf.cdo.dawn.examples.acore.util
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.emf.ecore;visibility:=reexport,
- org.eclipse.emf.cdo;visibility:=reexport
+Export-Package: org.eclipse.emf.cdo.dawn.examples.acore;version="0.2.0",
+ org.eclipse.emf.cdo.dawn.examples.acore.impl;version="0.2.0",
+ org.eclipse.emf.cdo.dawn.examples.acore.util;version="0.2.0",
+ org.eclipse.emf.cdo.internal.dawn.examples.acore.bundle;version="0.2.0"
+Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,4.0.0)",
+ org.eclipse.emf.ecore;bundle-version="[2.6.0,3.0.0)";visibility:=reexport,
+ org.eclipse.emf.cdo;bundle-version="[3.0.0,4.0.0)";visibility:=reexport
Bundle-ActivationPolicy: lazy
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AAttribute.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AAttribute.java
index 094fd150d5..b78ef6d163 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AAttribute.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AAttribute.java
@@ -11,13 +11,9 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore;
-
/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>AAttribute</b></em>'.
- * <!-- end-user-doc -->
- *
- *
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>AAttribute</b></em>'. <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAAttribute()
* @model
* @generated
@@ -25,8 +21,8 @@ package org.eclipse.emf.cdo.dawn.examples.acore;
public interface AAttribute extends AClassChild
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ABasicClass.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ABasicClass.java
index a320167511..a71ed7558c 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ABasicClass.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ABasicClass.java
@@ -16,19 +16,16 @@ import org.eclipse.emf.cdo.CDOObject;
import org.eclipse.emf.common.util.EList;
/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>ABasic Class</b></em>'.
- * <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>ABasic Class</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getOperations <em>Operations</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getAttributes <em>Attributes</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getOperations <em>Operations</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getAttributes <em>Attributes</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getABasicClass()
* @model
* @extends CDOObject
@@ -37,21 +34,21 @@ import org.eclipse.emf.common.util.EList;
public interface ABasicClass extends CDOObject
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * Returns the value of the '<em><b>Operations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Operations</b></em>' containment reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Operations</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Operations</em>' containment reference list isn't clear, there really should be more of
+ * a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Operations</em>' containment reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getABasicClass_Operations()
* @model containment="true"
@@ -60,14 +57,14 @@ public interface ABasicClass extends CDOObject
EList<AOperation> getOperations();
/**
- * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Attributes</b></em>' containment reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear, there really should be more of
+ * a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Attributes</em>' containment reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getABasicClass_Attributes()
* @model containment="true"
@@ -76,13 +73,12 @@ public interface ABasicClass extends CDOObject
EList<AAttribute> getAttributes();
/**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getABasicClass_Name()
@@ -92,10 +88,11 @@ public interface ABasicClass extends CDOObject
String getName();
/**
- * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getName <em>Name</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClass.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClass.java
index e8e8bfffae..af5e8589ab 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClass.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClass.java
@@ -14,21 +14,18 @@ package org.eclipse.emf.cdo.dawn.examples.acore;
import org.eclipse.emf.common.util.EList;
/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>AClass</b></em>'.
- * <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>AClass</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getSubClasses <em>Sub Classes</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getImplementedInterfaces <em>Implemented Interfaces</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAssociations <em>Associations</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getCompositions <em>Compositions</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAggregations <em>Aggregations</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getSubClasses <em>Sub Classes</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getImplementedInterfaces <em>Implemented Interfaces</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAssociations <em>Associations</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getCompositions <em>Compositions</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAggregations <em>Aggregations</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAClass()
* @model
* @generated
@@ -36,21 +33,21 @@ import org.eclipse.emf.common.util.EList;
public interface AClass extends ABasicClass
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * Returns the value of the '<em><b>Sub Classes</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Sub Classes</b></em>' reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Sub Classes</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Sub Classes</em>' reference list isn't clear, there really should be more of a
+ * description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Sub Classes</em>' reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAClass_SubClasses()
* @model
@@ -59,14 +56,14 @@ public interface AClass extends ABasicClass
EList<AClass> getSubClasses();
/**
- * Returns the value of the '<em><b>Implemented Interfaces</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Implemented Interfaces</b></em>' reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Implemented Interfaces</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Implemented Interfaces</em>' reference list isn't clear, there really should be more of
+ * a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Implemented Interfaces</em>' reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAClass_ImplementedInterfaces()
* @model
@@ -75,14 +72,14 @@ public interface AClass extends ABasicClass
EList<AInterface> getImplementedInterfaces();
/**
- * Returns the value of the '<em><b>Associations</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Associations</b></em>' reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Associations</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Associations</em>' reference list isn't clear, there really should be more of a
+ * description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Associations</em>' reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAClass_Associations()
* @model
@@ -91,14 +88,14 @@ public interface AClass extends ABasicClass
EList<AClass> getAssociations();
/**
- * Returns the value of the '<em><b>Compositions</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Compositions</b></em>' reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Compositions</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Compositions</em>' reference list isn't clear, there really should be more of a
+ * description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Compositions</em>' reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAClass_Compositions()
* @model
@@ -107,14 +104,14 @@ public interface AClass extends ABasicClass
EList<AClass> getCompositions();
/**
- * Returns the value of the '<em><b>Aggregations</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Aggregations</b></em>' reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Aggregations</em>' reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Aggregations</em>' reference list isn't clear, there really should be more of a
+ * description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Aggregations</em>' reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAClass_Aggregations()
* @model
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClassChild.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClassChild.java
index d2224dacab..ee6115bb52 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClassChild.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AClassChild.java
@@ -14,19 +14,16 @@ package org.eclipse.emf.cdo.dawn.examples.acore;
import org.eclipse.emf.cdo.CDOObject;
/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>AClass Child</b></em>'.
- * <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>AClass Child</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright <em>Accessright</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getDataType <em>Data Type</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright <em>Accessright</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getDataType <em>Data Type</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAClassChild()
* @model
* @extends CDOObject
@@ -35,21 +32,20 @@ import org.eclipse.emf.cdo.CDOObject;
public interface AClassChild extends CDOObject
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * The default value is <code>""</code>.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Name</b></em>' attribute. The default value is <code>""</code>. <!--
+ * begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAClassChild_Name()
@@ -59,25 +55,26 @@ public interface AClassChild extends CDOObject
String getName();
/**
- * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getName <em>Name</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
- * Returns the value of the '<em><b>Accessright</b></em>' attribute.
- * The default value is <code>"public"</code>.
- * The literals are from the enumeration {@link org.eclipse.emf.cdo.dawn.examples.acore.AccessType}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Accessright</b></em>' attribute. The default value is <code>"public"</code>. The
+ * literals are from the enumeration {@link org.eclipse.emf.cdo.dawn.examples.acore.AccessType}. <!-- begin-user-doc
+ * -->
* <p>
- * If the meaning of the '<em>Accessright</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Accessright</em>' attribute isn't clear, there really should be more of a description
+ * here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Accessright</em>' attribute.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AccessType
* @see #isSetAccessright()
@@ -90,10 +87,11 @@ public interface AClassChild extends CDOObject
AccessType getAccessright();
/**
- * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright <em>Accessright</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Accessright</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright
+ * <em>Accessright</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Accessright</em>' attribute.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AccessType
* @see #isSetAccessright()
* @see #unsetAccessright()
@@ -103,9 +101,9 @@ public interface AClassChild extends CDOObject
void setAccessright(AccessType value);
/**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright <em>Accessright</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright
+ * <em>Accessright</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isSetAccessright()
* @see #getAccessright()
* @see #setAccessright(AccessType)
@@ -114,9 +112,9 @@ public interface AClassChild extends CDOObject
void unsetAccessright();
/**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright <em>Accessright</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright
+ * <em>Accessright</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return whether the value of the '<em>Accessright</em>' attribute is set.
* @see #unsetAccessright()
* @see #getAccessright()
@@ -126,13 +124,13 @@ public interface AClassChild extends CDOObject
boolean isSetAccessright();
/**
- * Returns the value of the '<em><b>Data Type</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Data Type</b></em>' attribute. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Data Type</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Data Type</em>' attribute isn't clear, there really should be more of a description
+ * here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Data Type</em>' attribute.
* @see #setDataType(String)
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAClassChild_DataType()
@@ -142,10 +140,11 @@ public interface AClassChild extends CDOObject
String getDataType();
/**
- * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getDataType <em>Data Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Data Type</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getDataType <em>Data Type</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Data Type</em>' attribute.
* @see #getDataType()
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ACoreRoot.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ACoreRoot.java
index 97ef616eb0..9b64b5c5a5 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ACoreRoot.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/ACoreRoot.java
@@ -16,19 +16,16 @@ import org.eclipse.emf.cdo.CDOObject;
import org.eclipse.emf.common.util.EList;
/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>ACore Root</b></em>'.
- * <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>ACore Root</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getTitle <em>Title</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getClasses <em>Classes</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getInterfaces <em>Interfaces</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getTitle <em>Title</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getClasses <em>Classes</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getInterfaces <em>Interfaces</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getACoreRoot()
* @model
* @extends CDOObject
@@ -37,20 +34,19 @@ import org.eclipse.emf.common.util.EList;
public interface ACoreRoot extends CDOObject
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * Returns the value of the '<em><b>Title</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Title</b></em>' attribute. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Title</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Title</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Title</em>' attribute.
* @see #setTitle(String)
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getACoreRoot_Title()
@@ -60,24 +56,25 @@ public interface ACoreRoot extends CDOObject
String getTitle();
/**
- * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getTitle <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Title</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getTitle <em>Title</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Title</em>' attribute.
* @see #getTitle()
* @generated
*/
void setTitle(String value);
/**
- * Returns the value of the '<em><b>Classes</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Classes</b></em>' containment reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Classes</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Classes</em>' containment reference list isn't clear, there really should be more of a
+ * description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Classes</em>' containment reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getACoreRoot_Classes()
* @model containment="true"
@@ -86,14 +83,14 @@ public interface ACoreRoot extends CDOObject
EList<AClass> getClasses();
/**
- * Returns the value of the '<em><b>Interfaces</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Interfaces</b></em>' containment reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Interfaces</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Interfaces</em>' containment reference list isn't clear, there really should be more of
+ * a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Interfaces</em>' containment reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getACoreRoot_Interfaces()
* @model containment="true"
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AInterface.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AInterface.java
index 02c91ca316..0067b27e3d 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AInterface.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AInterface.java
@@ -11,13 +11,9 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore;
-
/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>AInterface</b></em>'.
- * <!-- end-user-doc -->
- *
- *
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>AInterface</b></em>'. <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAInterface()
* @model
* @generated
@@ -25,8 +21,8 @@ package org.eclipse.emf.cdo.dawn.examples.acore;
public interface AInterface extends ABasicClass
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AOperation.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AOperation.java
index 2d3786c916..1d4727b242 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AOperation.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AOperation.java
@@ -14,17 +14,14 @@ package org.eclipse.emf.cdo.dawn.examples.acore;
import org.eclipse.emf.common.util.EList;
/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>AOperation</b></em>'.
- * <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>AOperation</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation#getParameters <em>Parameters</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation#getParameters <em>Parameters</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAOperation()
* @model
* @generated
@@ -32,21 +29,21 @@ import org.eclipse.emf.common.util.EList;
public interface AOperation extends AClassChild
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Parameters</b></em>' containment reference list. The list contents are of type
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter}. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Parameters</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Parameters</em>' containment reference list isn't clear, there really should be more of
+ * a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Parameters</em>' containment reference list.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAOperation_Parameters()
* @model containment="true"
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AParameter.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AParameter.java
index 2cd30b53ab..327964110e 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AParameter.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AParameter.java
@@ -14,18 +14,15 @@ package org.eclipse.emf.cdo.dawn.examples.acore;
import org.eclipse.emf.cdo.CDOObject;
/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>AParameter</b></em>'.
- * <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>AParameter</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getType <em>Type</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAParameter()
* @model
* @extends CDOObject
@@ -34,20 +31,19 @@ import org.eclipse.emf.cdo.CDOObject;
public interface AParameter extends CDOObject
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAParameter_Name()
@@ -58,22 +54,22 @@ public interface AParameter extends CDOObject
/**
* Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
- * Returns the value of the '<em><b>Type</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Type</b></em>' attribute. <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Type</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Type</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Type</em>' attribute.
* @see #setType(String)
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAParameter_Type()
@@ -84,9 +80,10 @@ public interface AParameter extends CDOObject
/**
* Sets the value of the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getType <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Type</em>' attribute.
* @see #getType()
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AccessType.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AccessType.java
index 2befc78aed..c5e4d7aa35 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AccessType.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AccessType.java
@@ -11,17 +11,16 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore;
+import org.eclipse.emf.common.util.Enumerator;
+
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import org.eclipse.emf.common.util.Enumerator;
-
/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Access Type</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> A representation of the literals of the enumeration '<em><b>Access Type</b></em>', and
+ * utility methods for working with them. <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#getAccessType()
* @model extendedMetaData="name='AccessType'"
* @generated
@@ -29,9 +28,8 @@ import org.eclipse.emf.common.util.Enumerator;
public enum AccessType implements Enumerator
{
/**
- * The '<em><b>PUBLIC</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The '<em><b>PUBLIC</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #PUBLIC_VALUE
* @generated
* @ordered
@@ -39,9 +37,8 @@ public enum AccessType implements Enumerator
PUBLIC(0, "PUBLIC", "public"),
/**
- * The '<em><b>PRIVATE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The '<em><b>PRIVATE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #PRIVATE_VALUE
* @generated
* @ordered
@@ -49,9 +46,8 @@ public enum AccessType implements Enumerator
PRIVATE(1, "PRIVATE", "private"),
/**
- * The '<em><b>PROECTED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The '<em><b>PROECTED</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #PROECTED_VALUE
* @generated
* @ordered
@@ -59,9 +55,8 @@ public enum AccessType implements Enumerator
PROECTED(2, "PROECTED", "protected"),
/**
- * The '<em><b>PACKAGE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The '<em><b>PACKAGE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #PACKAGE_VALUE
* @generated
* @ordered
@@ -69,20 +64,20 @@ public enum AccessType implements Enumerator
PACKAGE(3, "PACKAGE", "package");
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * The '<em><b>PUBLIC</b></em>' literal value.
- * <!-- begin-user-doc -->
+ * The '<em><b>PUBLIC</b></em>' literal value. <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>PUBLIC</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>PUBLIC</b></em>' literal object isn't clear, there really should be more of a description
+ * here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #PUBLIC
* @model literal="public"
* @generated
@@ -91,13 +86,13 @@ public enum AccessType implements Enumerator
public static final int PUBLIC_VALUE = 0;
/**
- * The '<em><b>PRIVATE</b></em>' literal value.
- * <!-- begin-user-doc -->
+ * The '<em><b>PRIVATE</b></em>' literal value. <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>PRIVATE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>PRIVATE</b></em>' literal object isn't clear, there really should be more of a
+ * description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #PRIVATE
* @model literal="private"
* @generated
@@ -106,13 +101,13 @@ public enum AccessType implements Enumerator
public static final int PRIVATE_VALUE = 1;
/**
- * The '<em><b>PROECTED</b></em>' literal value.
- * <!-- begin-user-doc -->
+ * The '<em><b>PROECTED</b></em>' literal value. <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>PROECTED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>PROECTED</b></em>' literal object isn't clear, there really should be more of a
+ * description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #PROECTED
* @model literal="protected"
* @generated
@@ -121,13 +116,13 @@ public enum AccessType implements Enumerator
public static final int PROECTED_VALUE = 2;
/**
- * The '<em><b>PACKAGE</b></em>' literal value.
- * <!-- begin-user-doc -->
+ * The '<em><b>PACKAGE</b></em>' literal value. <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>PACKAGE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>PACKAGE</b></em>' literal object isn't clear, there really should be more of a
+ * description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #PACKAGE
* @model literal="package"
* @generated
@@ -136,32 +131,24 @@ public enum AccessType implements Enumerator
public static final int PACKAGE_VALUE = 3;
/**
- * An array of all the '<em><b>Access Type</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * An array of all the '<em><b>Access Type</b></em>' enumerators. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
- private static final AccessType[] VALUES_ARRAY =
- new AccessType[]
- {
- PUBLIC,
- PRIVATE,
- PROECTED,
- PACKAGE,
- };
+ private static final AccessType[] VALUES_ARRAY = new AccessType[] { PUBLIC, PRIVATE, PROECTED, PACKAGE, };
/**
- * A public read-only list of all the '<em><b>Access Type</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * A public read-only list of all the '<em><b>Access Type</b></em>' enumerators. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
public static final List<AccessType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
- * Returns the '<em><b>Access Type</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the '<em><b>Access Type</b></em>' literal with the specified literal value. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
public static AccessType get(String literal)
@@ -178,9 +165,9 @@ public enum AccessType implements Enumerator
}
/**
- * Returns the '<em><b>Access Type</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the '<em><b>Access Type</b></em>' literal with the specified name. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
public static AccessType getByName(String name)
@@ -197,48 +184,51 @@ public enum AccessType implements Enumerator
}
/**
- * Returns the '<em><b>Access Type</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the '<em><b>Access Type</b></em>' literal with the specified integer value. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
public static AccessType get(int value)
{
switch (value)
{
- case PUBLIC_VALUE: return PUBLIC;
- case PRIVATE_VALUE: return PRIVATE;
- case PROECTED_VALUE: return PROECTED;
- case PACKAGE_VALUE: return PACKAGE;
+ case PUBLIC_VALUE:
+ return PUBLIC;
+ case PRIVATE_VALUE:
+ return PRIVATE;
+ case PROECTED_VALUE:
+ return PROECTED;
+ case PACKAGE_VALUE:
+ return PACKAGE;
}
return null;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
/**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Only this class can construct instances. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private AccessType(int value, String name, String literal)
@@ -249,8 +239,8 @@ public enum AccessType implements Enumerator
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public int getValue()
@@ -259,8 +249,8 @@ public enum AccessType implements Enumerator
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getName()
@@ -269,8 +259,8 @@ public enum AccessType implements Enumerator
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getLiteral()
@@ -279,9 +269,9 @@ public enum AccessType implements Enumerator
}
/**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the literal value of the enumerator, which is its string representation. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
@Override
@@ -289,5 +279,5 @@ public enum AccessType implements Enumerator
{
return literal;
}
-
-} //AccessType
+
+} // AccessType
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcoreFactory.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcoreFactory.java
index 6c964f273b..46a85133f8 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcoreFactory.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcoreFactory.java
@@ -14,109 +14,98 @@ package org.eclipse.emf.cdo.dawn.examples.acore;
import org.eclipse.emf.ecore.EFactory;
/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
+ * the model. <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage
* @generated
*/
public interface AcoreFactory extends EFactory
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
AcoreFactory eINSTANCE = org.eclipse.emf.cdo.dawn.examples.acore.impl.AcoreFactoryImpl.init();
/**
- * Returns a new object of class '<em>AClass</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns a new object of class '<em>AClass</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>AClass</em>'.
* @generated
*/
AClass createAClass();
/**
- * Returns a new object of class '<em>AInterface</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns a new object of class '<em>AInterface</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>AInterface</em>'.
* @generated
*/
AInterface createAInterface();
/**
- * Returns a new object of class '<em>ACore Root</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns a new object of class '<em>ACore Root</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>ACore Root</em>'.
* @generated
*/
ACoreRoot createACoreRoot();
/**
- * Returns a new object of class '<em>AAttribute</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns a new object of class '<em>AAttribute</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>AAttribute</em>'.
* @generated
*/
AAttribute createAAttribute();
/**
- * Returns a new object of class '<em>AOperation</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns a new object of class '<em>AOperation</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>AOperation</em>'.
* @generated
*/
AOperation createAOperation();
/**
- * Returns a new object of class '<em>ABasic Class</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns a new object of class '<em>ABasic Class</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>ABasic Class</em>'.
* @generated
*/
ABasicClass createABasicClass();
/**
- * Returns a new object of class '<em>AParameter</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns a new object of class '<em>AParameter</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>AParameter</em>'.
* @generated
*/
AParameter createAParameter();
/**
- * Returns a new object of class '<em>AClass Child</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns a new object of class '<em>AClass Child</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>AClass Child</em>'.
* @generated
*/
AClassChild createAClassChild();
/**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
AcorePackage getAcorePackage();
-} //AcoreFactory
+} // AcoreFactory
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcorePackage.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcorePackage.java
index 4f099c9829..0a62c4f0ff 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcorePackage.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/AcorePackage.java
@@ -19,16 +19,15 @@ import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
+ * <!-- begin-user-doc --> The <b>Package</b> for the model. It contains accessors for the meta objects to represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcoreFactory
* @model kind="package"
* @generated
@@ -36,48 +35,44 @@ import org.eclipse.emf.ecore.EReference;
public interface AcorePackage extends EPackage
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "acore";
/**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/emf/cdo/dawn/examples/2010/ACore";
/**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "acore";
/**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
AcorePackage eINSTANCE = org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl.init();
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl <em>ABasic Class</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl
+ * <em>ABasic Class</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getABasicClass()
* @generated
@@ -85,36 +80,35 @@ public interface AcorePackage extends EPackage
int ABASIC_CLASS = 5;
/**
- * The feature id for the '<em><b>Operations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Operations</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int ABASIC_CLASS__OPERATIONS = 0;
/**
- * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int ABASIC_CLASS__ATTRIBUTES = 1;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ABASIC_CLASS__NAME = 2;
/**
- * The number of structural features of the '<em>ABasic Class</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The number of structural features of the '<em>ABasic Class</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
* @generated
* @ordered
*/
@@ -122,8 +116,8 @@ public interface AcorePackage extends EPackage
/**
* The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl <em>AClass</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAClass()
* @generated
@@ -131,90 +125,84 @@ public interface AcorePackage extends EPackage
int ACLASS = 0;
/**
- * The feature id for the '<em><b>Operations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Operations</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS__OPERATIONS = ABASIC_CLASS__OPERATIONS;
/**
- * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS__ATTRIBUTES = ABASIC_CLASS__ATTRIBUTES;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS__NAME = ABASIC_CLASS__NAME;
/**
- * The feature id for the '<em><b>Sub Classes</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Sub Classes</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS__SUB_CLASSES = ABASIC_CLASS_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Implemented Interfaces</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Implemented Interfaces</b></em>' reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS__IMPLEMENTED_INTERFACES = ABASIC_CLASS_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Associations</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Associations</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS__ASSOCIATIONS = ABASIC_CLASS_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Compositions</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Compositions</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS__COMPOSITIONS = ABASIC_CLASS_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Aggregations</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Aggregations</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS__AGGREGATIONS = ABASIC_CLASS_FEATURE_COUNT + 4;
/**
- * The number of structural features of the '<em>AClass</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The number of structural features of the '<em>AClass</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS_FEATURE_COUNT = ABASIC_CLASS_FEATURE_COUNT + 5;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AInterfaceImpl <em>AInterface</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AInterfaceImpl <em>AInterface</em>}
+ * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AInterfaceImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAInterface()
* @generated
@@ -222,45 +210,43 @@ public interface AcorePackage extends EPackage
int AINTERFACE = 1;
/**
- * The feature id for the '<em><b>Operations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Operations</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int AINTERFACE__OPERATIONS = ABASIC_CLASS__OPERATIONS;
/**
- * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int AINTERFACE__ATTRIBUTES = ABASIC_CLASS__ATTRIBUTES;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AINTERFACE__NAME = ABASIC_CLASS__NAME;
/**
- * The number of structural features of the '<em>AInterface</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The number of structural features of the '<em>AInterface</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AINTERFACE_FEATURE_COUNT = ABASIC_CLASS_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl <em>ACore Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl <em>ACore Root</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getACoreRoot()
* @generated
@@ -268,45 +254,43 @@ public interface AcorePackage extends EPackage
int ACORE_ROOT = 2;
/**
- * The feature id for the '<em><b>Title</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Title</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACORE_ROOT__TITLE = 0;
/**
- * The feature id for the '<em><b>Classes</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Classes</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACORE_ROOT__CLASSES = 1;
/**
- * The feature id for the '<em><b>Interfaces</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Interfaces</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACORE_ROOT__INTERFACES = 2;
/**
- * The number of structural features of the '<em>ACore Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The number of structural features of the '<em>ACore Root</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACORE_ROOT_FEATURE_COUNT = 3;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl <em>AClass Child</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl
+ * <em>AClass Child</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAClassChild()
* @generated
@@ -314,45 +298,42 @@ public interface AcorePackage extends EPackage
int ACLASS_CHILD = 7;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS_CHILD__NAME = 0;
/**
- * The feature id for the '<em><b>Accessright</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Accessright</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS_CHILD__ACCESSRIGHT = 1;
/**
- * The feature id for the '<em><b>Data Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Data Type</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ACLASS_CHILD__DATA_TYPE = 2;
/**
- * The number of structural features of the '<em>AClass Child</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The number of structural features of the '<em>AClass Child</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
* @generated
* @ordered
*/
int ACLASS_CHILD_FEATURE_COUNT = 3;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AAttributeImpl <em>AAttribute</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AAttributeImpl <em>AAttribute</em>}
+ * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AAttributeImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAAttribute()
* @generated
@@ -360,45 +341,41 @@ public interface AcorePackage extends EPackage
int AATTRIBUTE = 3;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AATTRIBUTE__NAME = ACLASS_CHILD__NAME;
/**
- * The feature id for the '<em><b>Accessright</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Accessright</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AATTRIBUTE__ACCESSRIGHT = ACLASS_CHILD__ACCESSRIGHT;
/**
- * The feature id for the '<em><b>Data Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Data Type</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AATTRIBUTE__DATA_TYPE = ACLASS_CHILD__DATA_TYPE;
/**
- * The number of structural features of the '<em>AAttribute</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The number of structural features of the '<em>AAttribute</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AATTRIBUTE_FEATURE_COUNT = ACLASS_CHILD_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AOperationImpl <em>AOperation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AOperationImpl <em>AOperation</em>}
+ * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AOperationImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAOperation()
* @generated
@@ -406,54 +383,50 @@ public interface AcorePackage extends EPackage
int AOPERATION = 4;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AOPERATION__NAME = ACLASS_CHILD__NAME;
/**
- * The feature id for the '<em><b>Accessright</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Accessright</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AOPERATION__ACCESSRIGHT = ACLASS_CHILD__ACCESSRIGHT;
/**
- * The feature id for the '<em><b>Data Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Data Type</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AOPERATION__DATA_TYPE = ACLASS_CHILD__DATA_TYPE;
/**
- * The feature id for the '<em><b>Parameters</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Parameters</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
* @ordered
*/
int AOPERATION__PARAMETERS = ACLASS_CHILD_FEATURE_COUNT + 0;
/**
- * The number of structural features of the '<em>AOperation</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The number of structural features of the '<em>AOperation</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int AOPERATION_FEATURE_COUNT = ACLASS_CHILD_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl <em>AParameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl <em>AParameter</em>}
+ * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAParameter()
* @generated
@@ -461,27 +434,24 @@ public interface AcorePackage extends EPackage
int APARAMETER = 6;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int APARAMETER__NAME = 0;
/**
- * The feature id for the '<em><b>Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The feature id for the '<em><b>Type</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int APARAMETER__TYPE = 1;
/**
- * The number of structural features of the '<em>AParameter</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The number of structural features of the '<em>AParameter</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -489,8 +459,8 @@ public interface AcorePackage extends EPackage
/**
* The meta object id for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AccessType <em>Access Type</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AccessType
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAccessType()
* @generated
@@ -498,20 +468,18 @@ public interface AcorePackage extends EPackage
int ACCESS_TYPE = 8;
/**
- * The meta object id for the '<em>Access Type Object</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object id for the '<em>Access Type Object</em>' data type. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AccessType
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAccessTypeObject()
* @generated
*/
int ACCESS_TYPE_OBJECT = 9;
-
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass <em>AClass</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass <em>AClass</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>AClass</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClass
* @generated
@@ -519,9 +487,10 @@ public interface AcorePackage extends EPackage
EClass getAClass();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getSubClasses <em>Sub Classes</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the meta object for the reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getSubClasses <em>Sub Classes</em>}'. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Sub Classes</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClass#getSubClasses()
* @see #getAClass()
@@ -530,9 +499,10 @@ public interface AcorePackage extends EPackage
EReference getAClass_SubClasses();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getImplementedInterfaces <em>Implemented Interfaces</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getImplementedInterfaces <em>Implemented Interfaces</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Implemented Interfaces</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClass#getImplementedInterfaces()
* @see #getAClass()
@@ -541,9 +511,10 @@ public interface AcorePackage extends EPackage
EReference getAClass_ImplementedInterfaces();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAssociations <em>Associations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAssociations <em>Associations</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Associations</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAssociations()
* @see #getAClass()
@@ -552,9 +523,10 @@ public interface AcorePackage extends EPackage
EReference getAClass_Associations();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getCompositions <em>Compositions</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getCompositions <em>Compositions</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Compositions</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClass#getCompositions()
* @see #getAClass()
@@ -563,9 +535,10 @@ public interface AcorePackage extends EPackage
EReference getAClass_Compositions();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAggregations <em>Aggregations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAggregations <em>Aggregations</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference list '<em>Aggregations</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClass#getAggregations()
* @see #getAClass()
@@ -575,8 +548,8 @@ public interface AcorePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface <em>AInterface</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>AInterface</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AInterface
* @generated
@@ -585,8 +558,8 @@ public interface AcorePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot <em>ACore Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>ACore Root</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot
* @generated
@@ -594,9 +567,9 @@ public interface AcorePackage extends EPackage
EClass getACoreRoot();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getTitle <em>Title</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getTitle
+ * <em>Title</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Title</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getTitle()
* @see #getACoreRoot()
@@ -605,9 +578,10 @@ public interface AcorePackage extends EPackage
EAttribute getACoreRoot_Title();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getClasses <em>Classes</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getClasses <em>Classes</em>}'. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Classes</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getClasses()
* @see #getACoreRoot()
@@ -616,9 +590,10 @@ public interface AcorePackage extends EPackage
EReference getACoreRoot_Classes();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getInterfaces <em>Interfaces</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getInterfaces <em>Interfaces</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Interfaces</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot#getInterfaces()
* @see #getACoreRoot()
@@ -628,8 +603,8 @@ public interface AcorePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute <em>AAttribute</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>AAttribute</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AAttribute
* @generated
@@ -638,8 +613,8 @@ public interface AcorePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation <em>AOperation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>AOperation</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AOperation
* @generated
@@ -647,9 +622,10 @@ public interface AcorePackage extends EPackage
EClass getAOperation();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation#getParameters <em>Parameters</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation#getParameters <em>Parameters</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Parameters</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AOperation#getParameters()
* @see #getAOperation()
@@ -658,9 +634,9 @@ public interface AcorePackage extends EPackage
EReference getAOperation_Parameters();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass <em>ABasic Class</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass
+ * <em>ABasic Class</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>ABasic Class</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass
* @generated
@@ -668,9 +644,10 @@ public interface AcorePackage extends EPackage
EClass getABasicClass();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getOperations <em>Operations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getOperations <em>Operations</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Operations</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getOperations()
* @see #getABasicClass()
@@ -679,9 +656,10 @@ public interface AcorePackage extends EPackage
EReference getABasicClass_Operations();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getAttributes <em>Attributes</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getAttributes <em>Attributes</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Attributes</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getAttributes()
* @see #getABasicClass()
@@ -690,9 +668,9 @@ public interface AcorePackage extends EPackage
EReference getABasicClass_Attributes();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getName
+ * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass#getName()
* @see #getABasicClass()
@@ -702,8 +680,8 @@ public interface AcorePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter <em>AParameter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>AParameter</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AParameter
* @generated
@@ -711,9 +689,9 @@ public interface AcorePackage extends EPackage
EClass getAParameter();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getName
+ * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getName()
* @see #getAParameter()
@@ -722,9 +700,9 @@ public interface AcorePackage extends EPackage
EAttribute getAParameter_Name();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getType
+ * <em>Type</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Type</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AParameter#getType()
* @see #getAParameter()
@@ -733,9 +711,9 @@ public interface AcorePackage extends EPackage
EAttribute getAParameter_Type();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild <em>AClass Child</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild
+ * <em>AClass Child</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>AClass Child</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClassChild
* @generated
@@ -743,9 +721,9 @@ public interface AcorePackage extends EPackage
EClass getAClassChild();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getName
+ * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getName()
* @see #getAClassChild()
@@ -754,9 +732,10 @@ public interface AcorePackage extends EPackage
EAttribute getAClassChild_Name();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright <em>Accessright</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright <em>Accessright</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Accessright</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getAccessright()
* @see #getAClassChild()
@@ -765,9 +744,9 @@ public interface AcorePackage extends EPackage
EAttribute getAClassChild_Accessright();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getDataType <em>Data Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getDataType
+ * <em>Data Type</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Data Type</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClassChild#getDataType()
* @see #getAClassChild()
@@ -777,8 +756,8 @@ public interface AcorePackage extends EPackage
/**
* Returns the meta object for enum '{@link org.eclipse.emf.cdo.dawn.examples.acore.AccessType <em>Access Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for enum '<em>Access Type</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AccessType
* @generated
@@ -786,9 +765,9 @@ public interface AcorePackage extends EPackage
EEnum getAccessType();
/**
- * Returns the meta object for data type '{@link org.eclipse.emf.cdo.dawn.examples.acore.AccessType <em>Access Type Object</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the meta object for data type '{@link org.eclipse.emf.cdo.dawn.examples.acore.AccessType
+ * <em>Access Type Object</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for data type '<em>Access Type Object</em>'.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AccessType
* @model instanceClass="org.eclipse.emf.cdo.dawn.examples.acore.AccessType"
@@ -798,32 +777,31 @@ public interface AcorePackage extends EPackage
EDataType getAccessTypeObject();
/**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
AcoreFactory getAcoreFactory();
/**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
+ * <!-- begin-user-doc --> Defines literals for the meta objects that represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals
{
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl <em>AClass</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl <em>AClass</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAClass()
* @generated
@@ -831,49 +809,49 @@ public interface AcorePackage extends EPackage
EClass ACLASS = eINSTANCE.getAClass();
/**
- * The meta object literal for the '<em><b>Sub Classes</b></em>' reference list feature.
- * <!-- begin-user-doc -->
+ * The meta object literal for the '<em><b>Sub Classes</b></em>' reference list feature. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ACLASS__SUB_CLASSES = eINSTANCE.getAClass_SubClasses();
/**
- * The meta object literal for the '<em><b>Implemented Interfaces</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Implemented Interfaces</b></em>' reference list feature. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference ACLASS__IMPLEMENTED_INTERFACES = eINSTANCE.getAClass_ImplementedInterfaces();
/**
- * The meta object literal for the '<em><b>Associations</b></em>' reference list feature.
- * <!-- begin-user-doc -->
+ * The meta object literal for the '<em><b>Associations</b></em>' reference list feature. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ACLASS__ASSOCIATIONS = eINSTANCE.getAClass_Associations();
/**
- * The meta object literal for the '<em><b>Compositions</b></em>' reference list feature.
- * <!-- begin-user-doc -->
+ * The meta object literal for the '<em><b>Compositions</b></em>' reference list feature. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ACLASS__COMPOSITIONS = eINSTANCE.getAClass_Compositions();
/**
- * The meta object literal for the '<em><b>Aggregations</b></em>' reference list feature.
- * <!-- begin-user-doc -->
+ * The meta object literal for the '<em><b>Aggregations</b></em>' reference list feature. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference ACLASS__AGGREGATIONS = eINSTANCE.getAClass_Aggregations();
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AInterfaceImpl <em>AInterface</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AInterfaceImpl
+ * <em>AInterface</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AInterfaceImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAInterface()
* @generated
@@ -881,9 +859,9 @@ public interface AcorePackage extends EPackage
EClass AINTERFACE = eINSTANCE.getAInterface();
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl <em>ACore Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl
+ * <em>ACore Root</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getACoreRoot()
* @generated
@@ -891,33 +869,33 @@ public interface AcorePackage extends EPackage
EClass ACORE_ROOT = eINSTANCE.getACoreRoot();
/**
- * The meta object literal for the '<em><b>Title</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Title</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
EAttribute ACORE_ROOT__TITLE = eINSTANCE.getACoreRoot_Title();
/**
- * The meta object literal for the '<em><b>Classes</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Classes</b></em>' containment reference list feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference ACORE_ROOT__CLASSES = eINSTANCE.getACoreRoot_Classes();
/**
- * The meta object literal for the '<em><b>Interfaces</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Interfaces</b></em>' containment reference list feature. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference ACORE_ROOT__INTERFACES = eINSTANCE.getACoreRoot_Interfaces();
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AAttributeImpl <em>AAttribute</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AAttributeImpl
+ * <em>AAttribute</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AAttributeImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAAttribute()
* @generated
@@ -925,9 +903,9 @@ public interface AcorePackage extends EPackage
EClass AATTRIBUTE = eINSTANCE.getAAttribute();
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AOperationImpl <em>AOperation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AOperationImpl
+ * <em>AOperation</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AOperationImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAOperation()
* @generated
@@ -935,17 +913,17 @@ public interface AcorePackage extends EPackage
EClass AOPERATION = eINSTANCE.getAOperation();
/**
- * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference AOPERATION__PARAMETERS = eINSTANCE.getAOperation_Parameters();
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl <em>ABasic Class</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl
+ * <em>ABasic Class</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getABasicClass()
* @generated
@@ -953,33 +931,33 @@ public interface AcorePackage extends EPackage
EClass ABASIC_CLASS = eINSTANCE.getABasicClass();
/**
- * The meta object literal for the '<em><b>Operations</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Operations</b></em>' containment reference list feature. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference ABASIC_CLASS__OPERATIONS = eINSTANCE.getABasicClass_Operations();
/**
- * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference ABASIC_CLASS__ATTRIBUTES = eINSTANCE.getABasicClass_Attributes();
/**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
EAttribute ABASIC_CLASS__NAME = eINSTANCE.getABasicClass_Name();
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl <em>AParameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl
+ * <em>AParameter</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAParameter()
* @generated
@@ -987,25 +965,25 @@ public interface AcorePackage extends EPackage
EClass APARAMETER = eINSTANCE.getAParameter();
/**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
EAttribute APARAMETER__NAME = eINSTANCE.getAParameter_Name();
/**
- * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
EAttribute APARAMETER__TYPE = eINSTANCE.getAParameter_Type();
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl <em>AClass Child</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl
+ * <em>AClass Child</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAClassChild()
* @generated
@@ -1013,33 +991,33 @@ public interface AcorePackage extends EPackage
EClass ACLASS_CHILD = eINSTANCE.getAClassChild();
/**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
EAttribute ACLASS_CHILD__NAME = eINSTANCE.getAClassChild_Name();
/**
- * The meta object literal for the '<em><b>Accessright</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Accessright</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
EAttribute ACLASS_CHILD__ACCESSRIGHT = eINSTANCE.getAClassChild_Accessright();
/**
- * The meta object literal for the '<em><b>Data Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Data Type</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @generated
*/
EAttribute ACLASS_CHILD__DATA_TYPE = eINSTANCE.getAClassChild_DataType();
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AccessType <em>Access Type</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.dawn.examples.acore.AccessType <em>Access Type</em>}'
+ * enum. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AccessType
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAccessType()
* @generated
@@ -1047,9 +1025,9 @@ public interface AcorePackage extends EPackage
EEnum ACCESS_TYPE = eINSTANCE.getAccessType();
/**
- * The meta object literal for the '<em>Access Type Object</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The meta object literal for the '<em>Access Type Object</em>' data type. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AccessType
* @see org.eclipse.emf.cdo.dawn.examples.acore.impl.AcorePackageImpl#getAccessTypeObject()
* @generated
@@ -1058,4 +1036,4 @@ public interface AcorePackage extends EPackage
}
-} //AcorePackage
+} // AcorePackage
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AAttributeImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AAttributeImpl.java
index e0c3214e79..132ee9ed81 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AAttributeImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AAttributeImpl.java
@@ -17,26 +17,24 @@ import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
import org.eclipse.emf.ecore.EClass;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>AAttribute</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>AAttribute</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class AAttributeImpl extends AClassChildImpl implements AAttribute
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AAttributeImpl()
@@ -45,8 +43,8 @@ public class AAttributeImpl extends AClassChildImpl implements AAttribute
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -55,4 +53,4 @@ public class AAttributeImpl extends AClassChildImpl implements AAttribute
return AcorePackage.Literals.AATTRIBUTE;
}
-} //AAttributeImpl
+} // AAttributeImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ABasicClassImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ABasicClassImpl.java
index f106982b2c..917847098c 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ABasicClassImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ABasicClassImpl.java
@@ -16,39 +16,36 @@ import org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass;
import org.eclipse.emf.cdo.dawn.examples.acore.AOperation;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.internal.cdo.CDOObjectImpl;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>ABasic Class</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>ABasic Class</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl#getOperations <em>Operations</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl#getAttributes <em>Attributes</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl#getOperations <em>Operations</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl#getAttributes <em>Attributes</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ABasicClassImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ABasicClassImpl extends CDOObjectImpl implements ABasicClass
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected ABasicClassImpl()
@@ -57,8 +54,8 @@ public class ABasicClassImpl extends CDOObjectImpl implements ABasicClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -68,8 +65,8 @@ public class ABasicClassImpl extends CDOObjectImpl implements ABasicClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -79,8 +76,8 @@ public class ABasicClassImpl extends CDOObjectImpl implements ABasicClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -90,8 +87,8 @@ public class ABasicClassImpl extends CDOObjectImpl implements ABasicClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -101,8 +98,8 @@ public class ABasicClassImpl extends CDOObjectImpl implements ABasicClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getName()
@@ -111,8 +108,8 @@ public class ABasicClassImpl extends CDOObjectImpl implements ABasicClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setName(String newName)
@@ -120,4 +117,4 @@ public class ABasicClassImpl extends CDOObjectImpl implements ABasicClass
eSet(AcorePackage.Literals.ABASIC_CLASS__NAME, newName);
}
-} //ABasicClassImpl
+} // ABasicClassImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassChildImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassChildImpl.java
index f2639a3644..b8c874c639 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassChildImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassChildImpl.java
@@ -15,37 +15,35 @@ import org.eclipse.emf.cdo.dawn.examples.acore.AClassChild;
import org.eclipse.emf.cdo.dawn.examples.acore.AccessType;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.internal.cdo.CDOObjectImpl;
+import org.eclipse.emf.ecore.EClass;
+
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>AClass Child</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>AClass Child</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl#getAccessright <em>Accessright</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl#getDataType <em>Data Type</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl#getAccessright <em>Accessright</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassChildImpl#getDataType <em>Data Type</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AClassChildImpl extends CDOObjectImpl implements AClassChild
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AClassChildImpl()
@@ -54,8 +52,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -65,8 +63,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -76,8 +74,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getName()
@@ -86,8 +84,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setName(String newName)
@@ -96,8 +94,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AccessType getAccessright()
@@ -106,8 +104,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setAccessright(AccessType newAccessright)
@@ -116,8 +114,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void unsetAccessright()
@@ -126,8 +124,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isSetAccessright()
@@ -136,8 +134,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getDataType()
@@ -146,8 +144,8 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setDataType(String newDataType)
@@ -155,4 +153,4 @@ public class AClassChildImpl extends CDOObjectImpl implements AClassChild
eSet(AcorePackage.Literals.ACLASS_CHILD__DATA_TYPE, newDataType);
}
-} //AClassChildImpl
+} // AClassChildImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassImpl.java
index 205caf0e42..8f3a2f9a8d 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AClassImpl.java
@@ -16,38 +16,36 @@ import org.eclipse.emf.cdo.dawn.examples.acore.AInterface;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EClass;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>AClass</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>AClass</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getSubClasses <em>Sub Classes</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getImplementedInterfaces <em>Implemented Interfaces</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getAssociations <em>Associations</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getCompositions <em>Compositions</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getAggregations <em>Aggregations</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getSubClasses <em>Sub Classes</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getImplementedInterfaces <em>Implemented
+ * Interfaces</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getAssociations <em>Associations</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getCompositions <em>Compositions</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AClassImpl#getAggregations <em>Aggregations</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AClassImpl extends ABasicClassImpl implements AClass
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AClassImpl()
@@ -56,8 +54,8 @@ public class AClassImpl extends ABasicClassImpl implements AClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -67,8 +65,8 @@ public class AClassImpl extends ABasicClassImpl implements AClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -78,8 +76,8 @@ public class AClassImpl extends ABasicClassImpl implements AClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -89,8 +87,8 @@ public class AClassImpl extends ABasicClassImpl implements AClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -100,8 +98,8 @@ public class AClassImpl extends ABasicClassImpl implements AClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -111,8 +109,8 @@ public class AClassImpl extends ABasicClassImpl implements AClass
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -121,4 +119,4 @@ public class AClassImpl extends ABasicClassImpl implements AClass
return (EList<AClass>)eGet(AcorePackage.Literals.ACLASS__AGGREGATIONS, true);
}
-} //AClassImpl
+} // AClassImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ACoreRootImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ACoreRootImpl.java
index 829384d6c0..ca23a057da 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ACoreRootImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/ACoreRootImpl.java
@@ -16,39 +16,36 @@ import org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot;
import org.eclipse.emf.cdo.dawn.examples.acore.AInterface;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.internal.cdo.CDOObjectImpl;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>ACore Root</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>ACore Root</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl#getTitle <em>Title</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl#getClasses <em>Classes</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl#getInterfaces <em>Interfaces</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl#getTitle <em>Title</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl#getClasses <em>Classes</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.ACoreRootImpl#getInterfaces <em>Interfaces</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ACoreRootImpl extends CDOObjectImpl implements ACoreRoot
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected ACoreRootImpl()
@@ -57,8 +54,8 @@ public class ACoreRootImpl extends CDOObjectImpl implements ACoreRoot
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -68,8 +65,8 @@ public class ACoreRootImpl extends CDOObjectImpl implements ACoreRoot
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -79,8 +76,8 @@ public class ACoreRootImpl extends CDOObjectImpl implements ACoreRoot
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getTitle()
@@ -89,8 +86,8 @@ public class ACoreRootImpl extends CDOObjectImpl implements ACoreRoot
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setTitle(String newTitle)
@@ -99,8 +96,8 @@ public class ACoreRootImpl extends CDOObjectImpl implements ACoreRoot
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -110,8 +107,8 @@ public class ACoreRootImpl extends CDOObjectImpl implements ACoreRoot
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -120,4 +117,4 @@ public class ACoreRootImpl extends CDOObjectImpl implements ACoreRoot
return (EList<AInterface>)eGet(AcorePackage.Literals.ACORE_ROOT__INTERFACES, true);
}
-} //ACoreRootImpl
+} // ACoreRootImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AInterfaceImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AInterfaceImpl.java
index e62b7cb8e2..001508e8d5 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AInterfaceImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AInterfaceImpl.java
@@ -17,26 +17,24 @@ import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
import org.eclipse.emf.ecore.EClass;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>AInterface</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>AInterface</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class AInterfaceImpl extends ABasicClassImpl implements AInterface
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AInterfaceImpl()
@@ -45,8 +43,8 @@ public class AInterfaceImpl extends ABasicClassImpl implements AInterface
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -55,4 +53,4 @@ public class AInterfaceImpl extends ABasicClassImpl implements AInterface
return AcorePackage.Literals.AINTERFACE;
}
-} //AInterfaceImpl
+} // AInterfaceImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AOperationImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AOperationImpl.java
index 02089f8490..d783cbbc27 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AOperationImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AOperationImpl.java
@@ -16,34 +16,31 @@ import org.eclipse.emf.cdo.dawn.examples.acore.AParameter;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EClass;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>AOperation</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>AOperation</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AOperationImpl#getParameters <em>Parameters</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AOperationImpl#getParameters <em>Parameters</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AOperationImpl extends AClassChildImpl implements AOperation
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AOperationImpl()
@@ -52,8 +49,8 @@ public class AOperationImpl extends AClassChildImpl implements AOperation
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -63,8 +60,8 @@ public class AOperationImpl extends AClassChildImpl implements AOperation
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -73,4 +70,4 @@ public class AOperationImpl extends AClassChildImpl implements AOperation
return (EList<AParameter>)eGet(AcorePackage.Literals.AOPERATION__PARAMETERS, true);
}
-} //AOperationImpl
+} // AOperationImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AParameterImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AParameterImpl.java
index 876b16a09a..60edc6268d 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AParameterImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AParameterImpl.java
@@ -14,36 +14,34 @@ package org.eclipse.emf.cdo.dawn.examples.acore.impl;
import org.eclipse.emf.cdo.dawn.examples.acore.AParameter;
import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
-import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.internal.cdo.CDOObjectImpl;
+import org.eclipse.emf.ecore.EClass;
+
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>AParameter</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>AParameter</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.dawn.examples.acore.impl.AParameterImpl#getType <em>Type</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AParameterImpl extends CDOObjectImpl implements AParameter
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected AParameterImpl()
@@ -52,8 +50,8 @@ public class AParameterImpl extends CDOObjectImpl implements AParameter
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -63,8 +61,8 @@ public class AParameterImpl extends CDOObjectImpl implements AParameter
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -74,8 +72,8 @@ public class AParameterImpl extends CDOObjectImpl implements AParameter
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getName()
@@ -84,8 +82,8 @@ public class AParameterImpl extends CDOObjectImpl implements AParameter
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setName(String newName)
@@ -94,8 +92,8 @@ public class AParameterImpl extends CDOObjectImpl implements AParameter
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getType()
@@ -104,8 +102,8 @@ public class AParameterImpl extends CDOObjectImpl implements AParameter
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setType(String newType)
@@ -113,4 +111,4 @@ public class AParameterImpl extends CDOObjectImpl implements AParameter
eSet(AcorePackage.Literals.APARAMETER__TYPE, newType);
}
-} //AParameterImpl
+} // AParameterImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcoreFactoryImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcoreFactoryImpl.java
index 8bf366ba74..e1eeb77b6e 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcoreFactoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcoreFactoryImpl.java
@@ -11,43 +11,50 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.impl;
-import org.eclipse.emf.cdo.dawn.examples.acore.*;
+import org.eclipse.emf.cdo.dawn.examples.acore.AAttribute;
+import org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass;
+import org.eclipse.emf.cdo.dawn.examples.acore.AClass;
+import org.eclipse.emf.cdo.dawn.examples.acore.AClassChild;
+import org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot;
+import org.eclipse.emf.cdo.dawn.examples.acore.AInterface;
+import org.eclipse.emf.cdo.dawn.examples.acore.AOperation;
+import org.eclipse.emf.cdo.dawn.examples.acore.AParameter;
+import org.eclipse.emf.cdo.dawn.examples.acore.AccessType;
+import org.eclipse.emf.cdo.dawn.examples.acore.AcoreFactory;
+import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
-
import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
import org.eclipse.emf.ecore.plugin.EcorePlugin;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static AcoreFactory init()
{
try
{
- AcoreFactory theAcoreFactory = (AcoreFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/cdo/dawn/examples/2010/ACore");
+ AcoreFactory theAcoreFactory = (AcoreFactory)EPackage.Registry.INSTANCE
+ .getEFactory("http://www.eclipse.org/emf/cdo/dawn/examples/2010/ACore");
if (theAcoreFactory != null)
{
return theAcoreFactory;
@@ -61,9 +68,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AcoreFactoryImpl()
@@ -72,8 +78,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -81,22 +87,30 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
{
switch (eClass.getClassifierID())
{
- case AcorePackage.ACLASS: return (EObject)createAClass();
- case AcorePackage.AINTERFACE: return (EObject)createAInterface();
- case AcorePackage.ACORE_ROOT: return (EObject)createACoreRoot();
- case AcorePackage.AATTRIBUTE: return (EObject)createAAttribute();
- case AcorePackage.AOPERATION: return (EObject)createAOperation();
- case AcorePackage.ABASIC_CLASS: return (EObject)createABasicClass();
- case AcorePackage.APARAMETER: return (EObject)createAParameter();
- case AcorePackage.ACLASS_CHILD: return (EObject)createAClassChild();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case AcorePackage.ACLASS:
+ return (EObject)createAClass();
+ case AcorePackage.AINTERFACE:
+ return (EObject)createAInterface();
+ case AcorePackage.ACORE_ROOT:
+ return (EObject)createACoreRoot();
+ case AcorePackage.AATTRIBUTE:
+ return (EObject)createAAttribute();
+ case AcorePackage.AOPERATION:
+ return (EObject)createAOperation();
+ case AcorePackage.ABASIC_CLASS:
+ return (EObject)createABasicClass();
+ case AcorePackage.APARAMETER:
+ return (EObject)createAParameter();
+ case AcorePackage.ACLASS_CHILD:
+ return (EObject)createAClassChild();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -104,18 +118,18 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
{
switch (eDataType.getClassifierID())
{
- case AcorePackage.ACCESS_TYPE:
- return createAccessTypeFromString(eDataType, initialValue);
- case AcorePackage.ACCESS_TYPE_OBJECT:
- return createAccessTypeObjectFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case AcorePackage.ACCESS_TYPE:
+ return createAccessTypeFromString(eDataType, initialValue);
+ case AcorePackage.ACCESS_TYPE_OBJECT:
+ return createAccessTypeObjectFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -123,18 +137,18 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
{
switch (eDataType.getClassifierID())
{
- case AcorePackage.ACCESS_TYPE:
- return convertAccessTypeToString(eDataType, instanceValue);
- case AcorePackage.ACCESS_TYPE_OBJECT:
- return convertAccessTypeObjectToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case AcorePackage.ACCESS_TYPE:
+ return convertAccessTypeToString(eDataType, instanceValue);
+ case AcorePackage.ACCESS_TYPE_OBJECT:
+ return convertAccessTypeObjectToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AClass createAClass()
@@ -144,8 +158,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AInterface createAInterface()
@@ -155,8 +169,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public ACoreRoot createACoreRoot()
@@ -166,8 +180,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AAttribute createAAttribute()
@@ -177,8 +191,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AOperation createAOperation()
@@ -188,8 +202,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public ABasicClass createABasicClass()
@@ -199,8 +213,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AParameter createAParameter()
@@ -210,8 +224,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AClassChild createAClassChild()
@@ -221,20 +235,22 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AccessType createAccessTypeFromString(EDataType eDataType, String initialValue)
{
AccessType result = AccessType.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '"
+ + eDataType.getName() + "'");
return result;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String convertAccessTypeToString(EDataType eDataType, Object instanceValue)
@@ -243,8 +259,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AccessType createAccessTypeObjectFromString(EDataType eDataType, String initialValue)
@@ -253,8 +269,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String convertAccessTypeObjectToString(EDataType eDataType, Object instanceValue)
@@ -263,8 +279,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AcorePackage getAcorePackage()
@@ -273,8 +289,8 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -284,4 +300,4 @@ public class AcoreFactoryImpl extends EFactoryImpl implements AcoreFactory
return AcorePackage.eINSTANCE;
}
-} //AcoreFactoryImpl
+} // AcoreFactoryImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcorePackageImpl.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcorePackageImpl.java
index 84428f21d8..3bcce699d1 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcorePackageImpl.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/impl/AcorePackageImpl.java
@@ -29,104 +29,100 @@ import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-
import org.eclipse.emf.ecore.impl.EPackageImpl;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class AcorePackageImpl extends EPackageImpl implements AcorePackage
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass aClassEClass = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass aInterfaceEClass = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass aCoreRootEClass = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass aAttributeEClass = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass aOperationEClass = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass aBasicClassEClass = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass aParameterEClass = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass aClassChildEClass = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum accessTypeEEnum = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EDataType accessTypeObjectEDataType = null;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
+ * EPackage.Registry} by the package package URI value.
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also
+ * performs initialization of the package, or returns the registered package, if one already exists. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage#eNS_URI
* @see #init()
@@ -138,19 +134,19 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link AcorePackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
+ * <p>
+ * This method is used to initialize {@link AcorePackage#eINSTANCE} when that field is accessed. Clients should not
+ * invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
@@ -158,10 +154,13 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
*/
public static AcorePackage init()
{
- if (isInited) return (AcorePackage)EPackage.Registry.INSTANCE.getEPackage(AcorePackage.eNS_URI);
+ if (isInited)
+ return (AcorePackage)EPackage.Registry.INSTANCE.getEPackage(AcorePackage.eNS_URI);
// Obtain or create and register package
- AcorePackageImpl theAcorePackage = (AcorePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AcorePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AcorePackageImpl());
+ AcorePackageImpl theAcorePackage = (AcorePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AcorePackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI)
+ : new AcorePackageImpl());
isInited = true;
@@ -174,15 +173,14 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
// Mark meta-data to indicate it can't be changed
theAcorePackage.freeze();
-
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(AcorePackage.eNS_URI, theAcorePackage);
return theAcorePackage;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getAClass()
@@ -191,8 +189,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getAClass_SubClasses()
@@ -201,8 +199,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getAClass_ImplementedInterfaces()
@@ -211,8 +209,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getAClass_Associations()
@@ -221,8 +219,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getAClass_Compositions()
@@ -231,8 +229,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getAClass_Aggregations()
@@ -241,8 +239,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getAInterface()
@@ -251,8 +249,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getACoreRoot()
@@ -261,8 +259,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getACoreRoot_Title()
@@ -271,8 +269,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getACoreRoot_Classes()
@@ -281,8 +279,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getACoreRoot_Interfaces()
@@ -291,8 +289,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getAAttribute()
@@ -301,8 +299,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getAOperation()
@@ -311,8 +309,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getAOperation_Parameters()
@@ -321,8 +319,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getABasicClass()
@@ -331,8 +329,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getABasicClass_Operations()
@@ -341,8 +339,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getABasicClass_Attributes()
@@ -351,8 +349,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getABasicClass_Name()
@@ -361,8 +359,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getAParameter()
@@ -371,8 +369,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getAParameter_Name()
@@ -381,8 +379,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getAParameter_Type()
@@ -391,8 +389,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getAClassChild()
@@ -401,8 +399,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getAClassChild_Name()
@@ -411,8 +409,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getAClassChild_Accessright()
@@ -421,8 +419,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getAClassChild_DataType()
@@ -431,8 +429,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EEnum getAccessType()
@@ -441,8 +439,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EDataType getAccessTypeObject()
@@ -451,8 +449,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AcoreFactory getAcoreFactory()
@@ -461,22 +459,22 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
+ * first. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents()
{
- if (isCreated) return;
+ if (isCreated)
+ return;
isCreated = true;
// Create classes and their features
@@ -521,22 +519,22 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
+ * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents()
{
- if (isInitialized) return;
+ if (isInitialized)
+ return;
isInitialized = true;
// Initialize package
@@ -556,37 +554,71 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
// Initialize classes and features; add operations and parameters
initEClass(aClassEClass, AClass.class, "AClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAClass_SubClasses(), this.getAClass(), null, "subClasses", null, 0, -1, AClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAClass_ImplementedInterfaces(), this.getAInterface(), null, "implementedInterfaces", null, 0, -1, AClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAClass_Associations(), this.getAClass(), null, "associations", null, 0, -1, AClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAClass_Compositions(), this.getAClass(), null, "compositions", null, 0, -1, AClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAClass_Aggregations(), this.getAClass(), null, "aggregations", null, 0, -1, AClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(aInterfaceEClass, AInterface.class, "AInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getAClass_SubClasses(), this.getAClass(), null, "subClasses", null, 0, -1, AClass.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getAClass_ImplementedInterfaces(), this.getAInterface(), null, "implementedInterfaces", null, 0, -1,
+ AClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAClass_Associations(), this.getAClass(), null, "associations", null, 0, -1, AClass.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getAClass_Compositions(), this.getAClass(), null, "compositions", null, 0, -1, AClass.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getAClass_Aggregations(), this.getAClass(), null, "aggregations", null, 0, -1, AClass.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ initEClass(aInterfaceEClass, AInterface.class, "AInterface", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
initEClass(aCoreRootEClass, ACoreRoot.class, "ACoreRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getACoreRoot_Title(), ecorePackage.getEString(), "title", null, 0, 1, ACoreRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getACoreRoot_Classes(), this.getAClass(), null, "classes", null, 0, -1, ACoreRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getACoreRoot_Interfaces(), this.getAInterface(), null, "interfaces", null, 0, -1, ACoreRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(aAttributeEClass, AAttribute.class, "AAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(aOperationEClass, AOperation.class, "AOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAOperation_Parameters(), this.getAParameter(), null, "parameters", null, 0, -1, AOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(aBasicClassEClass, ABasicClass.class, "ABasicClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getABasicClass_Operations(), this.getAOperation(), null, "operations", null, 0, -1, ABasicClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getABasicClass_Attributes(), this.getAAttribute(), null, "attributes", null, 0, -1, ABasicClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getABasicClass_Name(), ecorePackage.getEString(), "name", null, 0, 1, ABasicClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(aParameterEClass, AParameter.class, "AParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAParameter_Name(), ecorePackage.getEString(), "name", null, 0, 1, AParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAParameter_Type(), ecorePackage.getEString(), "type", null, 0, 1, AParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(aClassChildEClass, AClassChild.class, "AClassChild", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAClassChild_Name(), ecorePackage.getEString(), "name", "", 0, 1, AClassChild.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAClassChild_Accessright(), this.getAccessType(), "accessright", "public", 0, 1, AClassChild.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAClassChild_DataType(), ecorePackage.getEString(), "dataType", null, 0, 1, AClassChild.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getACoreRoot_Title(), ecorePackage.getEString(), "title", null, 0, 1, ACoreRoot.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getACoreRoot_Classes(), this.getAClass(), null, "classes", null, 0, -1, ACoreRoot.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getACoreRoot_Interfaces(), this.getAInterface(), null, "interfaces", null, 0, -1, ACoreRoot.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ initEClass(aAttributeEClass, AAttribute.class, "AAttribute", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(aOperationEClass, AOperation.class, "AOperation", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getAOperation_Parameters(), this.getAParameter(), null, "parameters", null, 0, -1, AOperation.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ initEClass(aBasicClassEClass, ABasicClass.class, "ABasicClass", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getABasicClass_Operations(), this.getAOperation(), null, "operations", null, 0, -1,
+ ABasicClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getABasicClass_Attributes(), this.getAAttribute(), null, "attributes", null, 0, -1,
+ ABasicClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getABasicClass_Name(), ecorePackage.getEString(), "name", null, 0, 1, ABasicClass.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(aParameterEClass, AParameter.class, "AParameter", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getAParameter_Name(), ecorePackage.getEString(), "name", null, 0, 1, AParameter.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAParameter_Type(), ecorePackage.getEString(), "type", null, 0, 1, AParameter.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(aClassChildEClass, AClassChild.class, "AClassChild", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getAClassChild_Name(), ecorePackage.getEString(), "name", "", 0, 1, AClassChild.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAClassChild_Accessright(), this.getAccessType(), "accessright", "public", 0, 1,
+ AClassChild.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getAClassChild_DataType(), ecorePackage.getEString(), "dataType", null, 0, 1, AClassChild.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Initialize enums and add enum literals
initEEnum(accessTypeEEnum, AccessType.class, "AccessType");
@@ -596,7 +628,8 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
addEEnumLiteral(accessTypeEEnum, AccessType.PACKAGE);
// Initialize data types
- initEDataType(accessTypeObjectEDataType, AccessType.class, "AccessTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);
+ initEDataType(accessTypeObjectEDataType, AccessType.class, "AccessTypeObject", IS_SERIALIZABLE,
+ IS_GENERATED_INSTANCE_CLASS);
// Create resource
createResource(eNS_URI);
@@ -607,29 +640,17 @@ public class AcorePackageImpl extends EPackageImpl implements AcorePackage
}
/**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected void createExtendedMetaDataAnnotations()
{
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (accessTypeEEnum,
- source,
- new String[]
- {
- "name", "AccessType"
- });
- addAnnotation
- (accessTypeObjectEDataType,
- source,
- new String[]
- {
- "name", "AccessType:Object",
- "baseType", "AccessType"
- });
- }
-
-} //AcorePackageImpl
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation(accessTypeEEnum, source, new String[] { "name", "AccessType" });
+ addAnnotation(accessTypeObjectEDataType, source, new String[] { "name", "AccessType:Object", "baseType",
+ "AccessType" });
+ }
+
+} // AcorePackageImpl
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreAdapterFactory.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreAdapterFactory.java
index 4d51178bfe..cd68af8526 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreAdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreAdapterFactory.java
@@ -11,44 +11,47 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.util;
-import org.eclipse.emf.cdo.dawn.examples.acore.*;
+import org.eclipse.emf.cdo.dawn.examples.acore.AAttribute;
+import org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass;
+import org.eclipse.emf.cdo.dawn.examples.acore.AClass;
+import org.eclipse.emf.cdo.dawn.examples.acore.AClassChild;
+import org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot;
+import org.eclipse.emf.cdo.dawn.examples.acore.AInterface;
+import org.eclipse.emf.cdo.dawn.examples.acore.AOperation;
+import org.eclipse.emf.cdo.dawn.examples.acore.AParameter;
+import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
-
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
import org.eclipse.emf.ecore.EObject;
/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
+ * method for each class of the model. <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage
* @generated
*/
public class AcoreAdapterFactory extends AdapterFactoryImpl
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static AcorePackage modelPackage;
/**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AcoreAdapterFactory()
@@ -60,10 +63,10 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
+ * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
+ * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
+ * end-user-doc -->
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -82,66 +85,72 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
- protected AcoreSwitch<Adapter> modelSwitch =
- new AcoreSwitch<Adapter>()
+ protected AcoreSwitch<Adapter> modelSwitch = new AcoreSwitch<Adapter>()
+ {
+ @Override
+ public Adapter caseAClass(AClass object)
+ {
+ return createAClassAdapter();
+ }
+
+ @Override
+ public Adapter caseAInterface(AInterface object)
+ {
+ return createAInterfaceAdapter();
+ }
+
+ @Override
+ public Adapter caseACoreRoot(ACoreRoot object)
+ {
+ return createACoreRootAdapter();
+ }
+
+ @Override
+ public Adapter caseAAttribute(AAttribute object)
+ {
+ return createAAttributeAdapter();
+ }
+
+ @Override
+ public Adapter caseAOperation(AOperation object)
+ {
+ return createAOperationAdapter();
+ }
+
+ @Override
+ public Adapter caseABasicClass(ABasicClass object)
{
- @Override
- public Adapter caseAClass(AClass object)
- {
- return createAClassAdapter();
- }
- @Override
- public Adapter caseAInterface(AInterface object)
- {
- return createAInterfaceAdapter();
- }
- @Override
- public Adapter caseACoreRoot(ACoreRoot object)
- {
- return createACoreRootAdapter();
- }
- @Override
- public Adapter caseAAttribute(AAttribute object)
- {
- return createAAttributeAdapter();
- }
- @Override
- public Adapter caseAOperation(AOperation object)
- {
- return createAOperationAdapter();
- }
- @Override
- public Adapter caseABasicClass(ABasicClass object)
- {
- return createABasicClassAdapter();
- }
- @Override
- public Adapter caseAParameter(AParameter object)
- {
- return createAParameterAdapter();
- }
- @Override
- public Adapter caseAClassChild(AClassChild object)
- {
- return createAClassChildAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
+ return createABasicClassAdapter();
+ }
+
+ @Override
+ public Adapter caseAParameter(AParameter object)
+ {
+ return createAParameterAdapter();
+ }
+
+ @Override
+ public Adapter caseAClassChild(AClassChild object)
+ {
+ return createAClassChildAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object)
+ {
+ return createEObjectAdapter();
+ }
+ };
/**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
+ * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@@ -151,13 +160,11 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
return modelSwitch.doSwitch((EObject)target);
}
-
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass <em>AClass</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClass
+ * <em>AClass</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore
+ * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClass
* @generated
@@ -168,11 +175,10 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface <em>AInterface</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AInterface
+ * <em>AInterface</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AInterface
* @generated
@@ -183,11 +189,10 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot <em>ACore Root</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot
+ * <em>ACore Root</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot
* @generated
@@ -198,11 +203,10 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute <em>AAttribute</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AAttribute
+ * <em>AAttribute</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AAttribute
* @generated
@@ -213,11 +217,10 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation <em>AOperation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AOperation
+ * <em>AOperation</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AOperation
* @generated
@@ -228,11 +231,10 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass <em>ABasic Class</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass
+ * <em>ABasic Class</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass
* @generated
@@ -243,11 +245,10 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter <em>AParameter</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AParameter
+ * <em>AParameter</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AParameter
* @generated
@@ -258,11 +259,10 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild <em>AClass Child</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.dawn.examples.acore.AClassChild
+ * <em>AClass Child</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.dawn.examples.acore.AClassChild
* @generated
@@ -273,10 +273,9 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
+ * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!--
+ * end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -285,4 +284,4 @@ public class AcoreAdapterFactory extends AdapterFactoryImpl
return null;
}
-} //AcoreAdapterFactory
+} // AcoreAdapterFactory
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreSwitch.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreSwitch.java
index e263f403da..bc6129c677 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreSwitch.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/src/org/eclipse/emf/cdo/dawn/examples/acore/util/AcoreSwitch.java
@@ -11,47 +11,49 @@
*/
package org.eclipse.emf.cdo.dawn.examples.acore.util;
-import java.util.List;
-
-import org.eclipse.emf.cdo.dawn.examples.acore.*;
+import org.eclipse.emf.cdo.dawn.examples.acore.AAttribute;
+import org.eclipse.emf.cdo.dawn.examples.acore.ABasicClass;
+import org.eclipse.emf.cdo.dawn.examples.acore.AClass;
+import org.eclipse.emf.cdo.dawn.examples.acore.AClassChild;
+import org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot;
+import org.eclipse.emf.cdo.dawn.examples.acore.AInterface;
+import org.eclipse.emf.cdo.dawn.examples.acore.AOperation;
+import org.eclipse.emf.cdo.dawn.examples.acore.AParameter;
+import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
+import java.util.List;
+
/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> The <b>Switch</b> for the model's inheritance hierarchy. It supports the call
+ * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
+ * returned, which is the result of the switch. <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage
* @generated
*/
public class AcoreSwitch<T>
{
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).\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\r\n";
/**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static AcorePackage modelPackage;
/**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public AcoreSwitch()
@@ -64,8 +66,8 @@ public class AcoreSwitch<T>
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@@ -76,8 +78,8 @@ public class AcoreSwitch<T>
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@@ -90,17 +92,14 @@ public class AcoreSwitch<T>
else
{
List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch(eSuperTypes.get(0), theEObject);
+ return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
}
}
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@@ -108,77 +107,89 @@ public class AcoreSwitch<T>
{
switch (classifierID)
{
- case AcorePackage.ACLASS:
- {
- AClass aClass = (AClass)theEObject;
- T result = caseAClass(aClass);
- if (result == null) result = caseABasicClass(aClass);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AcorePackage.AINTERFACE:
- {
- AInterface aInterface = (AInterface)theEObject;
- T result = caseAInterface(aInterface);
- if (result == null) result = caseABasicClass(aInterface);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AcorePackage.ACORE_ROOT:
- {
- ACoreRoot aCoreRoot = (ACoreRoot)theEObject;
- T result = caseACoreRoot(aCoreRoot);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AcorePackage.AATTRIBUTE:
- {
- AAttribute aAttribute = (AAttribute)theEObject;
- T result = caseAAttribute(aAttribute);
- if (result == null) result = caseAClassChild(aAttribute);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AcorePackage.AOPERATION:
- {
- AOperation aOperation = (AOperation)theEObject;
- T result = caseAOperation(aOperation);
- if (result == null) result = caseAClassChild(aOperation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AcorePackage.ABASIC_CLASS:
- {
- ABasicClass aBasicClass = (ABasicClass)theEObject;
- T result = caseABasicClass(aBasicClass);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AcorePackage.APARAMETER:
- {
- AParameter aParameter = (AParameter)theEObject;
- T result = caseAParameter(aParameter);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AcorePackage.ACLASS_CHILD:
- {
- AClassChild aClassChild = (AClassChild)theEObject;
- T result = caseAClassChild(aClassChild);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
+ case AcorePackage.ACLASS:
+ {
+ AClass aClass = (AClass)theEObject;
+ T result = caseAClass(aClass);
+ if (result == null)
+ result = caseABasicClass(aClass);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case AcorePackage.AINTERFACE:
+ {
+ AInterface aInterface = (AInterface)theEObject;
+ T result = caseAInterface(aInterface);
+ if (result == null)
+ result = caseABasicClass(aInterface);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case AcorePackage.ACORE_ROOT:
+ {
+ ACoreRoot aCoreRoot = (ACoreRoot)theEObject;
+ T result = caseACoreRoot(aCoreRoot);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case AcorePackage.AATTRIBUTE:
+ {
+ AAttribute aAttribute = (AAttribute)theEObject;
+ T result = caseAAttribute(aAttribute);
+ if (result == null)
+ result = caseAClassChild(aAttribute);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case AcorePackage.AOPERATION:
+ {
+ AOperation aOperation = (AOperation)theEObject;
+ T result = caseAOperation(aOperation);
+ if (result == null)
+ result = caseAClassChild(aOperation);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case AcorePackage.ABASIC_CLASS:
+ {
+ ABasicClass aBasicClass = (ABasicClass)theEObject;
+ T result = caseABasicClass(aBasicClass);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case AcorePackage.APARAMETER:
+ {
+ AParameter aParameter = (AParameter)theEObject;
+ T result = caseAParameter(aParameter);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case AcorePackage.ACLASS_CHILD:
+ {
+ AClassChild aClassChild = (AClassChild)theEObject;
+ T result = caseAClassChild(aClassChild);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
/**
- * Returns the result of interpreting the object as an instance of '<em>AClass</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
+ * Returns the result of interpreting the object as an instance of '<em>AClass</em>'. <!-- begin-user-doc --> This
+ * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>AClass</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -189,12 +200,11 @@ public class AcoreSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>AInterface</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
+ * Returns the result of interpreting the object as an instance of '<em>AInterface</em>'. <!-- begin-user-doc --> This
+ * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>AInterface</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -205,12 +215,11 @@ public class AcoreSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>ACore Root</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
+ * Returns the result of interpreting the object as an instance of '<em>ACore Root</em>'. <!-- begin-user-doc --> This
+ * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>ACore Root</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -221,12 +230,11 @@ public class AcoreSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>AAttribute</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
+ * Returns the result of interpreting the object as an instance of '<em>AAttribute</em>'. <!-- begin-user-doc --> This
+ * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>AAttribute</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -237,12 +245,11 @@ public class AcoreSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>AOperation</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
+ * Returns the result of interpreting the object as an instance of '<em>AOperation</em>'. <!-- begin-user-doc --> This
+ * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>AOperation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -253,12 +260,11 @@ public class AcoreSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>ABasic Class</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
+ * Returns the result of interpreting the object as an instance of '<em>ABasic Class</em>'. <!-- begin-user-doc -->
+ * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>ABasic Class</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -269,12 +275,11 @@ public class AcoreSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>AParameter</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
+ * Returns the result of interpreting the object as an instance of '<em>AParameter</em>'. <!-- begin-user-doc --> This
+ * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>AParameter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -285,12 +290,11 @@ public class AcoreSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>AClass Child</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
+ * Returns the result of interpreting the object as an instance of '<em>AClass Child</em>'. <!-- begin-user-doc -->
+ * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>AClass Child</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -301,12 +305,12 @@ public class AcoreSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
+ * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
+ * anyway. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -316,4 +320,4 @@ public class AcoreSwitch<T>
return null;
}
-} //AcoreSwitch
+} // AcoreSwitch
diff --git a/plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF
index 708c5560e9..7ac6a713ae 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF
@@ -8,7 +8,11 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,4.0.0)",
org.eclipse.emf.cdo.tests;bundle-version="3.0.0",
org.eclipse.gmf;bundle-version="1.2.0",
org.eclipse.gmf.runtime.notation;bundle-version="1.4.0",
- org.eclipse.emf.cdo.dawn.reference.editor;bundle-version="0.2.0"
+ org.eclipse.emf.cdo.dawn.examples.acore;bundle-version="0.2.0",
+ org.eclipse.emf.cdo.dawn;bundle-version="0.2.0",
+ org.eclipse.emf.transaction;bundle-version="1.4.0",
+ org.eclipse.emf.workspace;bundle-version="1.4.0",
+ org.eclipse.gmf.runtime.emf.core;bundle-version="1.4.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Vendor: %providerName
diff --git a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/AllTestsDawn.java b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/AllTestsDawn.java
index 8e7078ffbc..21a3c6361f 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/AllTestsDawn.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/AllTestsDawn.java
@@ -32,7 +32,8 @@ public class AllTestsDawn extends AllTests
@Override
protected void initTestClasses(List<Class<? extends ConfigTest>> testClasses)
{
- testClasses.add(GMFTest.class);
+ // testClasses.add(GMFTest.class);
+ testClasses.add(DawnWrapperResourceTest.class);
}
@Override
diff --git a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/DawnWrapperResourceTest.java b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/DawnWrapperResourceTest.java
new file mode 100644
index 0000000000..75abaf5aa9
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/DawnWrapperResourceTest.java
@@ -0,0 +1,53 @@
+/**
+ * Copyright (c) 2004 - 2010 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
+ */
+package org.eclipse.emf.cdo.dawn.tests;
+
+import org.eclipse.emf.cdo.dawn.resources.DawnWrapperResource;
+import org.eclipse.emf.cdo.session.CDOSession;
+import org.eclipse.emf.cdo.tests.AbstractCDOTest;
+import org.eclipse.emf.cdo.transaction.CDOTransaction;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
+
+import java.util.Collections;
+
+/**
+ * @author Martin Fluegge
+ */
+public class DawnWrapperResourceTest extends AbstractCDOTest
+{
+
+ public void testPostEventTransactionHandler() throws Exception
+ {
+
+ // TransactionalEditingDomain editingDomain = DawnGMFEditingDomainFactory.getInstance().createEditingDomain();
+
+ CDOSession session = openSession();
+ CDOTransaction transaction = session.openTransaction();
+
+ ResourceSet resourceSet = new ResourceSetImpl();
+ resourceSet.getResourceFactoryRegistry().getProtocolToFactoryMap().put("acore_diagram", new XMIResourceImpl());
+
+ // ResourceSet resourceSet = editingDomain.getResourceSet();
+
+ Resource resource = resourceSet.createResource(URI.createURI("dawn://repo1//default10.acore_diagram"));
+
+ assertInstanceOf(DawnWrapperResource.class, resource);
+
+ resource.save(Collections.EMPTY_MAP);
+
+ session.close();
+ }
+}
diff --git a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/GMFTest.java b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/GMFTest.java
index f77a473839..e5752e73ff 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/GMFTest.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/GMFTest.java
@@ -10,8 +10,8 @@
*/
package org.eclipse.emf.cdo.dawn.tests;
-import org.eclipse.emf.cdo.dawn.reference.editor.classdiagram.ClassDiagram;
-import org.eclipse.emf.cdo.dawn.reference.editor.classdiagram.ClassdiagramPackage;
+import org.eclipse.emf.cdo.dawn.examples.acore.ACoreRoot;
+import org.eclipse.emf.cdo.dawn.examples.acore.AcorePackage;
import org.eclipse.emf.cdo.eresource.CDOResource;
import org.eclipse.emf.cdo.session.CDOSession;
import org.eclipse.emf.cdo.tests.AbstractCDOTest;
@@ -252,7 +252,7 @@ public class GMFTest extends AbstractCDOTest
{
ResourceSet resourceSet = new ResourceSetImpl();
- ClassdiagramPackage.eINSTANCE.eClass();
+ AcorePackage.eINSTANCE.eClass();
resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put("classdiagram_diagram",
new XMIResourceFactoryImpl());
@@ -265,7 +265,7 @@ public class GMFTest extends AbstractCDOTest
true);
Diagram diagram = (Diagram)gmfResource.getContents().get(0);
- ClassDiagram classDiagram = (ClassDiagram)diagram.getElement();
+ ACoreRoot classDiagram = (ACoreRoot)diagram.getElement();
for (Object o : diagram.getPersistedChildren())
{
@@ -301,7 +301,7 @@ public class GMFTest extends AbstractCDOTest
Diagram reloadedDiagram = (Diagram)resource.getContents().get(1);
- assertInstanceOf(ClassDiagram.class, reloadedDiagram.getElement());
+ assertInstanceOf(ACoreRoot.class, reloadedDiagram.getElement());
assertEquals(true, reloadedDiagram.isVisible());
assertEquals(false, reloadedDiagram.isMutable());

Back to the top