Skip to main content
summaryrefslogtreecommitdiffstats
path: root/launch
diff options
context:
space:
mode:
authorMikhail Khodjaiants2006-02-03 19:57:35 +0000
committerMikhail Khodjaiants2006-02-03 19:57:35 +0000
commitb6d6d8f87425234aeff4dad31339080dd4b0229d (patch)
treeafbe7e35e57e1f24fb590f4c14840232a01ffdae /launch
parent1390e0031963eb451d40e5545d5076dec43ff0b1 (diff)
downloadorg.eclipse.cdt-b6d6d8f87425234aeff4dad31339080dd4b0229d.tar.gz
org.eclipse.cdt-b6d6d8f87425234aeff4dad31339080dd4b0229d.tar.xz
org.eclipse.cdt-b6d6d8f87425234aeff4dad31339080dd4b0229d.zip
The "ICDebuggerPage" interface and "AbstractCDebuggerPage" class are added. All extensions of the "CDebuggerPage" extension point must implement "ICDebuggerPage".
Diffstat (limited to 'launch')
-rw-r--r--launch/org.eclipse.cdt.launch/ChangeLog5
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/AbstractCDebuggerTab.java24
2 files changed, 17 insertions, 12 deletions
diff --git a/launch/org.eclipse.cdt.launch/ChangeLog b/launch/org.eclipse.cdt.launch/ChangeLog
index c14f47922f5..c44944912e3 100644
--- a/launch/org.eclipse.cdt.launch/ChangeLog
+++ b/launch/org.eclipse.cdt.launch/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-03 Mikhail Khodjaiants
+ The "ICDebuggerPage" interface and "AbstractCDebuggerPage" class are added.
+ All extensions of the "CDebuggerPage" extension point must implement "ICDebuggerPage".
+ * AbstractCLaunchDelegate.java
+
2006-01-30 Mikhail Khodjaiants
Bug 124519: CDT launch shortcuts ignore Common Tabs "Launch in background" option.
Applied patch from Andrew Ferguson (andrew.ferguson@arm.com).
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/AbstractCDebuggerTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/AbstractCDebuggerTab.java
index 2f49e703047..3ffe6e9956c 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/AbstractCDebuggerTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/AbstractCDebuggerTab.java
@@ -15,11 +15,11 @@ import java.util.Map;
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
+import org.eclipse.cdt.debug.ui.ICDebuggerPage;
import org.eclipse.cdt.launch.ui.CLaunchConfigurationTab;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.debug.ui.ILaunchConfigurationTab;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
@@ -39,7 +39,7 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
protected ICDebugConfiguration fCurrentDebugConfig;
// Dynamic Debugger UI widgets
- protected ILaunchConfigurationTab fDynamicTab;
+ protected ICDebuggerPage fDynamicTab;
protected Composite fDynamicTabHolder;
private boolean fInitDefaults;
private Combo fDCombo;
@@ -54,11 +54,11 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
return fCurrentDebugConfig;
}
- protected ILaunchConfigurationTab getDynamicTab() {
+ protected ICDebuggerPage getDynamicTab() {
return fDynamicTab;
}
- protected void setDynamicTab(ILaunchConfigurationTab tab) {
+ protected void setDynamicTab(ICDebuggerPage tab) {
fDynamicTab = tab;
}
@@ -94,7 +94,7 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
* @see ILaunchConfigurationTab#getErrorMessage()
*/
public String getErrorMessage() {
- ILaunchConfigurationTab tab = getDynamicTab();
+ ICDebuggerPage tab = getDynamicTab();
if ( (super.getErrorMessage() != null) || (tab == null)) {
return super.getErrorMessage();
}
@@ -157,7 +157,7 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
if (debugConfig == null) {
setDynamicTab(null);
} else {
- ILaunchConfigurationTab tab = null;
+ ICDebuggerPage tab = null;
try {
tab = CDebugUIPlugin.getDefault().getDebuggerPage(debugConfig.getID());
} catch (CoreException e) {
@@ -179,7 +179,7 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
abstract public void createControl(Composite parent);
public void activated(ILaunchConfigurationWorkingCopy workingCopy) {
- ILaunchConfigurationTab dynamicTab = getDynamicTab();
+ ICDebuggerPage dynamicTab = getDynamicTab();
if (dynamicTab != null) {
dynamicTab.activated(workingCopy);
}
@@ -187,7 +187,7 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
public void initializeFrom(ILaunchConfiguration config) {
setLaunchConfiguration(config);
- ILaunchConfigurationTab dynamicTab = getDynamicTab();
+ ICDebuggerPage dynamicTab = getDynamicTab();
if (dynamicTab != null) {
dynamicTab.initializeFrom(config);
}
@@ -196,7 +196,7 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
public void performApply(ILaunchConfigurationWorkingCopy config) {
if (getDebugConfig() != null) {
config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ID, getDebugConfig().getID());
- ILaunchConfigurationTab dynamicTab = getDynamicTab();
+ ICDebuggerPage dynamicTab = getDynamicTab();
if (dynamicTab == null) {
config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_SPECIFIC_ATTRS_MAP, (Map)null);
} else {
@@ -207,7 +207,7 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
public void setDefaults(ILaunchConfigurationWorkingCopy config) {
setLaunchConfigurationWorkingCopy(config);
- ILaunchConfigurationTab dynamicTab = getDynamicTab();
+ ICDebuggerPage dynamicTab = getDynamicTab();
if (dynamicTab != null) {
dynamicTab.setDefaults(config);
setInitializeDefault(false);
@@ -222,7 +222,7 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
return false;
}
- ILaunchConfigurationTab dynamicTab = getDynamicTab();
+ ICDebuggerPage dynamicTab = getDynamicTab();
if (dynamicTab != null) {
return dynamicTab.isValid(config);
}
@@ -322,7 +322,7 @@ public abstract class AbstractCDebuggerTab extends CLaunchConfigurationTab {
}
/**
- * Return the class that implements <code>ILaunchConfigurationTab</code>
+ * Return the class that implements <code>ICDebuggerPage</code>
* that is registered against the debugger id of the currently selected
* debugger.
*/

Back to the top