Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2006-08-08 02:18:31 +0000
committerslewis2006-08-08 02:18:31 +0000
commit5d21fff266193f107f1b01327d463e1a0bfe6fb9 (patch)
tree51eb27db763c5cf031146b447a7ba6817422c3f0 /examples/bundles/org.eclipse.ecf.example.sdo.editor
parentfdfbba07526b7d034da828c9c30f0a5d37e23b9a (diff)
downloadorg.eclipse.ecf-5d21fff266193f107f1b01327d463e1a0bfe6fb9.tar.gz
org.eclipse.ecf-5d21fff266193f107f1b01327d463e1a0bfe6fb9.tar.xz
org.eclipse.ecf-5d21fff266193f107f1b01327d463e1a0bfe6fb9.zip
Fix for bug #152458 https://bugs.eclipse.org/bugs/show_bug.cgi?id=152458
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.example.sdo.editor')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.sdo.editor/plugin.xml2
-rw-r--r--examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/SharedSDOEditor.java3
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.sdo.editor/plugin.xml b/examples/bundles/org.eclipse.ecf.example.sdo.editor/plugin.xml
index 01c1b067d..cc7ed02f9 100644
--- a/examples/bundles/org.eclipse.ecf.example.sdo.editor/plugin.xml
+++ b/examples/bundles/org.eclipse.ecf.example.sdo.editor/plugin.xml
@@ -10,7 +10,7 @@
name="Shared Data Graph Editor"
contributorClass="org.eclipse.emf.ecore.sdo.presentation.SDOActionBarContributor"
id="org.eclipse.ecf.example.sdo.editor.SharedSDOEditor"
- extensions="datagraph"/>
+ extensions="ecfdatagraph"/>
</extension>
</plugin>
diff --git a/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/SharedSDOEditor.java b/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/SharedSDOEditor.java
index f98fc9b23..6351603ad 100644
--- a/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/SharedSDOEditor.java
+++ b/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/SharedSDOEditor.java
@@ -70,8 +70,7 @@ public class SharedSDOEditor extends SDOEditor {
((IFileEditorInput) editorInput).getFile()
.getProject());
} catch (ECFException e) {
- EditorPlugin.getDefault().log(e);
- sharedDataGraph = null;
+ throw new PartInitException("Editor not connected",e);
}
super.init(site, editorInput);

Back to the top