Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2011-11-28 14:21:30 +0000
committerUwe Stieber2011-11-29 05:46:27 +0000
commitd933b719001b1e72fd7836778005965bcba69bfe (patch)
tree135038205824b76719ec6192746863ff8513f746 /target_explorer
parenta4909f42c8ce248e4d5bd9a0dab72c075ae8a6e9 (diff)
downloadorg.eclipse.tcf-d933b719001b1e72fd7836778005965bcba69bfe.tar.gz
org.eclipse.tcf-d933b719001b1e72fd7836778005965bcba69bfe.tar.xz
org.eclipse.tcf-d933b719001b1e72fd7836778005965bcba69bfe.zip
Target Explorer: Fix URI of restored persistable reference nodes not associated with node
Diffstat (limited to 'target_explorer')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableAdapter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableAdapter.java b/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableAdapter.java
index e1c6f6b64..8a70c3b2e 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableAdapter.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableAdapter.java
@@ -327,6 +327,7 @@ public class ModelNodePersistableAdapter implements IPersistable {
if (persistable == null) persistable = (IPersistable)Platform.getAdapterManager().getAdapter(referenceNode, IPersistable.class);
if (persistable != null) {
persistable.importTo(referenceNode, referenceData);
+ referenceNode.setProperty(IPersistableNodeProperties.PROPERTY_URI, uriString);
node.setProperty(newKey, referenceNode);
}
} catch (ClassNotFoundException e) {

Back to the top