Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/parsers/AbstractParser.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/parsers/AbstractParser.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/parsers/AbstractParser.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/parsers/AbstractParser.java
index 7fa205ec31..2d9c3e3c12 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/parsers/AbstractParser.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/parsers/AbstractParser.java
@@ -4,10 +4,10 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Fluegge - initial API and implementation
- *
+ *
*/
package org.eclipse.emf.cdo.dawn.examples.acore.diagram.parsers;
@@ -78,7 +78,7 @@ public abstract class AbstractParser implements IParser
{
throw new IllegalArgumentException();
}
- this.editableFeatures = this.features = features;
+ editableFeatures = this.features = features;
}
/**
@@ -233,7 +233,7 @@ public abstract class AbstractParser implements IParser
{
return UnexecutableCommand.INSTANCE;
}
- EObject element = (EObject)adapter.getAdapter(EObject.class);
+ EObject element = adapter.getAdapter(EObject.class);
TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(element);
if (editingDomain == null)
{
@@ -577,6 +577,7 @@ public abstract class AbstractParser implements IParser
/**
* @generated
*/
+ @Override
public String toString()
{
return description;

Back to the top