summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-01-03 05:08:39 (EST)
committerEike Stepper2008-01-03 05:08:39 (EST)
commite63901fc8b06ce58330e3c0b07d9f421c07f7801 (patch)
treefc57ec045a4eafdd27de3f8bbc5d3d1f8122ce96
parentba27f70d5818ee513f7c28a16871bc133fe5f696 (diff)
downloadcdo-e63901fc8b06ce58330e3c0b07d9f421c07f7801.zip
cdo-e63901fc8b06ce58330e3c0b07d9f421c07f7801.tar.gz
cdo-e63901fc8b06ce58330e3c0b07d9f421c07f7801.tar.bz2
Cleanup
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOActionBarContributor.java3
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java5
2 files changed, 2 insertions, 6 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOActionBarContributor.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOActionBarContributor.java
index aa6f5ed..3be982c 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOActionBarContributor.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOActionBarContributor.java
@@ -183,9 +183,6 @@ public class CDOActionBarContributor extends EditingDomainActionBarContributor i
importRootsAction = new ImportRootsAction();
importRootsAction.setId(ImportRootsAction.ID);
- // exportResourceAction = new ExportResourceAction(); // TODO
- // exportResourceAction.setId(EXPORT_RESOURCE_ID);
-
reloadObjectsAction = new ReloadObjectsAction();
validateAction = new ValidateAction();
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
index 1f925c0..e44c9f1 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
@@ -1031,7 +1031,7 @@ public class CDOEditor extends MultiPageEditorPart implements IEditingDomainProv
viewerInput = resourceSet.getResource(resourceURI, true);
}
- // TODO resourceSet.eAdapters().add(problemIndicationAdapter);
+ // resourceSet.eAdapters().add(problemIndicationAdapter);
}
catch (RuntimeException ex)
{
@@ -1197,7 +1197,6 @@ public class CDOEditor extends MultiPageEditorPart implements IEditingDomainProv
{
if (cdoObject instanceof CDOLegacyImpl)
{
- // TODO Consider CDOObject.cdoRefresh(boolean force)
CDOStateMachine.INSTANCE.read(cdoObject);
}
}
@@ -1465,7 +1464,7 @@ public class CDOEditor extends MultiPageEditorPart implements IEditingDomainProv
@Override
public boolean isDirty()
{
- return view instanceof CDOTransaction && ((CDOTransaction)view).isDirty();
+ return view.isDirty();
}
/**