Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2013-09-11 06:59:28 +0000
committerTobias Schwarz2013-09-11 07:02:03 +0000
commit4e06f7c4c824a5f0521faedd87dbbcd95337b5a3 (patch)
tree22857e6e3103407f4004f88ac903b7fcb65cd375 /target_explorer
parent886509267c6fdeabb16418311f0d0f23448488d8 (diff)
downloadorg.eclipse.tcf-4e06f7c4c824a5f0521faedd87dbbcd95337b5a3.tar.gz
org.eclipse.tcf-4e06f7c4c824a5f0521faedd87dbbcd95337b5a3.tar.xz
org.eclipse.tcf-4e06f7c4c824a5f0521faedd87dbbcd95337b5a3.zip
Target Explorer: add section configure method
Diffstat (limited to 'target_explorer')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/AbstractLaunchContextMainTab.java15
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/sections/AbstractContextSelectorSection.java3
2 files changed, 10 insertions, 8 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/AbstractLaunchContextMainTab.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/AbstractLaunchContextMainTab.java
index c79df3a69..0de7224f1 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/AbstractLaunchContextMainTab.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/launchcontext/AbstractLaunchContextMainTab.java
@@ -114,7 +114,6 @@ public abstract class AbstractLaunchContextMainTab extends AbstractContextSelect
@Override
protected AbstractContextSelectorControl doCreateContextSelector() {
AbstractContextSelectorControl control = new MainTabContextSelectorControl(this, null);
- doConfigureContextSelectorControl(control);
return control;
}
@@ -186,6 +185,13 @@ public abstract class AbstractLaunchContextMainTab extends AbstractContextSelect
public void dataChanged() {
getManagedForm().dirtyStateChanged();
}
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.ui.views.sections.AbstractContextSelectorSection#doConfigureContextSelector(org.eclipse.tcf.te.ui.views.controls.AbstractContextSelectorControl)
+ */
+ @Override
+ protected void doConfigureContextSelector(AbstractContextSelectorControl contextSelector) {
+ }
}
/* (non-Javadoc)
@@ -211,11 +217,4 @@ public abstract class AbstractLaunchContextMainTab extends AbstractContextSelect
protected MainTabContextSelectorSection doCreateContextSelectorSection(IManagedForm form, Composite panel) {
return new MainTabContextSelectorSection(form, panel);
}
-
- /**
- * Configure the context selector control.
- * @param control The context selector control.
- */
- protected void doConfigureContextSelectorControl(AbstractContextSelectorControl control) {
- }
}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/sections/AbstractContextSelectorSection.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/sections/AbstractContextSelectorSection.java
index 63887629e..252bb89b8 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/sections/AbstractContextSelectorSection.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/sections/AbstractContextSelectorSection.java
@@ -113,6 +113,7 @@ public abstract class AbstractContextSelectorSection extends AbstractSection imp
// Create the section sub controls
selector = doCreateContextSelector();
+ doConfigureContextSelector(selector);
selector.setFormToolkit(toolkit);
selector.setupPanel(client);
@@ -126,6 +127,8 @@ public abstract class AbstractContextSelectorSection extends AbstractSection imp
*/
protected abstract AbstractContextSelectorControl doCreateContextSelector();
+ protected abstract void doConfigureContextSelector(AbstractContextSelectorControl contextSelector);
+
public AbstractContextSelectorControl getSelectorControl() {
return selector;
}

Back to the top