Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-07-19 09:14:40 +0000
committerUwe Stieber2012-07-19 09:14:40 +0000
commit1588da08dfedec83e025f8a893cc974d03dd0432 (patch)
treee4824d09d5db5ee0b3901f40dfd59b52c3a696c4 /target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui
parent682cb4e102e333804c94fe2e943e672f4af4cc86 (diff)
downloadorg.eclipse.tcf-1588da08dfedec83e025f8a893cc974d03dd0432.tar.gz
org.eclipse.tcf-1588da08dfedec83e025f8a893cc974d03dd0432.tar.xz
org.eclipse.tcf-1588da08dfedec83e025f8a893cc974d03dd0432.zip
Target Explorer: FIX launch is loosing remote context if the remote context is marked invisible
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/AbstractTcfLaunchTabContainerEditorPage.java2
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/ContextSelectorControl.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/AbstractTcfLaunchTabContainerEditorPage.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/AbstractTcfLaunchTabContainerEditorPage.java
index 60a598741..7c17fff43 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/AbstractTcfLaunchTabContainerEditorPage.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/editor/AbstractTcfLaunchTabContainerEditorPage.java
@@ -73,7 +73,7 @@ public abstract class AbstractTcfLaunchTabContainerEditorPage extends AbstractLa
try {
wc = LaunchManager.getInstance().getLaunchConfiguration(spec, true).getWorkingCopy();
LaunchContextsPersistenceDelegate.setLaunchContexts(wc, null);
- IPersistenceDelegate delegate = PersistenceManager.getInstance().getDelegate(wc, launchConfigAttributes, false);
+ IPersistenceDelegate delegate = PersistenceManager.getInstance().getDelegate(wc, String.class, false);
if (launchConfigAttributes != null && launchConfigAttributes.trim().length() > 0) {
delegate.read(wc, launchConfigAttributes, null);
}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/ContextSelectorControl.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/ContextSelectorControl.java
index b629e58a9..19cfe7b7a 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/ContextSelectorControl.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/ContextSelectorControl.java
@@ -45,7 +45,7 @@ public class ContextSelectorControl extends AbstractContextSelectorControl {
*/
@Override
protected void doConfigureTreeContentAndLabelProvider(TreeViewer viewer) {
- viewer.setContentProvider(new ContentProviderDelegate());
+ viewer.setContentProvider(new ContentProviderDelegate(true));
DelegatingLabelProvider labelProvider = new DelegatingLabelProvider();
viewer.setLabelProvider(new DecoratingLabelProvider(labelProvider, labelProvider));
}

Back to the top