Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2006-08-07 21:31:23 +0000
committerslewis2006-08-07 21:31:23 +0000
commitfdfbba07526b7d034da828c9c30f0a5d37e23b9a (patch)
tree7a36095427f85d50c87083210b56d08aedbbb44a /examples/bundles/org.eclipse.ecf.example.sdo.editor
parent54fe44f3362268967ff9e0396d7ac0595bdb5965 (diff)
downloadorg.eclipse.ecf-fdfbba07526b7d034da828c9c30f0a5d37e23b9a.tar.gz
org.eclipse.ecf-fdfbba07526b7d034da828c9c30f0a5d37e23b9a.tar.xz
org.eclipse.ecf-fdfbba07526b7d034da828c9c30f0a5d37e23b9a.zip
Removed exception throwing case if ECF container not connected
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.example.sdo.editor')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/SharedSDOEditor.java5
1 files changed, 3 insertions, 2 deletions
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 62800db5a..f98fc9b23 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,8 @@ public class SharedSDOEditor extends SDOEditor {
((IFileEditorInput) editorInput).getFile()
.getProject());
} catch (ECFException e) {
- throw new PartInitException(
- "Error while connecting to the group", e);
+ EditorPlugin.getDefault().log(e);
+ sharedDataGraph = null;
}
super.init(site, editorInput);
@@ -109,6 +109,7 @@ public class SharedSDOEditor extends SDOEditor {
sharedDataGraph.dispose();
sharedDataGraph = null;
}
+ super.createModel();
}
}

Back to the top