diff options
author | Darin Wright | 2002-04-03 22:39:46 +0000 |
---|---|---|
committer | Darin Wright | 2002-04-03 22:39:46 +0000 |
commit | 40e7aa483b138009a881ebb49ba7c20f076e5b99 (patch) | |
tree | 94f6517a0f1fef76a1beddaf085a9ef4c8d93815 | |
parent | 85e535dd59e5da66f642be06efdc6a9b5fe43ea6 (diff) | |
download | eclipse.platform.debug-40e7aa483b138009a881ebb49ba7c20f076e5b99.tar.gz eclipse.platform.debug-40e7aa483b138009a881ebb49ba7c20f076e5b99.tar.xz eclipse.platform.debug-40e7aa483b138009a881ebb49ba7c20f076e5b99.zip |
debug ui api review
25 files changed, 114 insertions, 392 deletions
diff --git a/org.eclipse.debug.ui/doc/org_eclipse_debug_ui.html b/org.eclipse.debug.ui/doc/org_eclipse_debug_ui.html index 566f16531..cded6e553 100644 --- a/org.eclipse.debug.ui/doc/org_eclipse_debug_ui.html +++ b/org.eclipse.debug.ui/doc/org_eclipse_debug_ui.html @@ -26,7 +26,6 @@ stepping, terminating, etc. <br> <li><a href="org_eclipse_debug_ui_debugActionGroups.html">org.eclipse.debug.ui.debugActionGroups</a></li>
<li><a href="org_eclipse_debug_ui_debugModelPresentations.html">org.eclipse.debug.ui.debugModelPresentations</a></li>
<li><a href="org_eclipse_debug_ui_launchConfigurationTabGroups.html">org.eclipse.debug.ui.launchConfigurationTabGroups</a></li>
- <li><a href="org_eclipse_debug_ui_launchConfigurationTabs.html">org.eclipse.debug.ui.launchConfigurationTabs</a></li>
<li><a href="org_eclipse_debug_ui_launchConfigurationTypeImages.html">org.eclipse.debug.ui.launchConfigurationTypeImages</a></li>
<li><a href="org_eclipse_debug_ui_launchConfigurationShortcuts.html">org.eclipse.debug.ui.launchConfigurationShortcuts</a></li>
</ul>
diff --git a/org.eclipse.debug.ui/doc/org_eclipse_debug_ui_launchConfigurationTabs.html b/org.eclipse.debug.ui/doc/org_eclipse_debug_ui_launchConfigurationTabs.html deleted file mode 100644 index 20c7123ab..000000000 --- a/org.eclipse.debug.ui/doc/org_eclipse_debug_ui_launchConfigurationTabs.html +++ /dev/null @@ -1,71 +0,0 @@ -<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>README Launch Configuration Tabs Extension Point</title>
-</head>
-
-<body link="#0000FF" vlink="#800080">
-
-<h1 align="center">Launch Configuration Tabs</h1>
-
-<p><b><i>Identifier: </i></b>org.eclipse.debug.ui.launchConfigurationTabs </p>
-
-<p><b><i>Description: </i></b>This extension point provides a configurable
-mechanism for contributing UI elements that appear in the launch configuration dialog
-for certain launch configuration types.</p>
-
-<p><b><i>Configuration Markup:</i></b> </p>
-
-<pre>
-<tt> <!ELEMENT launchConfigurationTab</tt>>
-<tt> <!ATTLIST launchConfigurationTab</tt>
-<br><tt> id CDATA #REQUIRED</tt>
-<br><tt> type CDATA #IMPLIED</tt>
-<br><tt> class CDATA #REQUIRED</tt>
-<br><tt> name CDATA #REQUIRED</tt>
-<br><tt> mode CDATA #IMPLIED</tt>>
-</pre>
-
-<ul>
- <li><code>id</code> specifies a unique identifier for this launch configuration
- tab.</li>
- <li><code>type</code> specifies the fully qualified identifier of the
- launch configuration type this tab will be shown for. Defaults to all launch configuration
- types if not specified.</li>
- <li><code>class</code> specifies the fully qualified name of the Java class that implements
- <code>ILaunchConfigurationTab</code>.</li>
- <li><code>name</code> specifies a human readable name for this launch configuration tab.</li>
- <li><code>mode</code> optionally specifies the mode this tab is specific to - "run" or "debug".
- This tab is displayed for all modes when unspecified.</li>
-</ul>
-
-<p><b><i>Examples:</i></b> </p>
-
-<p>The following is an example of a launch configuration tab extension point: </p>
-
-<pre>
-<extension point="org.eclipse.debug.ui.launchConfigurationTabs">
- <launchConfigurationTab
- id="com.example.ExampleTabIdentifier"
- type="com.example.SomeLaunchConfigurationType"
- class="com.example.ExampleLaunchConfigurationTab"
- name="Example Tab">
- </launchConfigurationTab>
-</extension>
-</pre>
-
-<p>In the above example, the contributed tab will be shown for the launch configuration type
-with identifier <code>com.example.SomeLaunchConfigurationType</code>.
-</p>
-
-<p><b><i>API Information: </i></b>Value of the attribute <b>class</b> must be a fully
-qualified name of a Java class that implements the interface <b>
-org.eclipse.debug.ui.ILaunchConfigurationTab</b>.
-</p>
-
-<p><a href="hglegal.htm"><img src="ngibmcpy.gif" alt="Copyright IBM Corp. 2000, 2001. All Rights Reserved."
-border="0" width="195" height="12"></a></p>
-</body>
-</html>
diff --git a/org.eclipse.debug.ui/icons/full/clcl16/inspect_co.gif b/org.eclipse.debug.ui/icons/full/clcl16/inspect_co.gif Binary files differdeleted file mode 100644 index 2b645a88f..000000000 --- a/org.eclipse.debug.ui/icons/full/clcl16/inspect_co.gif +++ /dev/null diff --git a/org.eclipse.debug.ui/icons/full/dlcl16/inspect_co.gif b/org.eclipse.debug.ui/icons/full/dlcl16/inspect_co.gif Binary files differdeleted file mode 100644 index 27b96a72a..000000000 --- a/org.eclipse.debug.ui/icons/full/dlcl16/inspect_co.gif +++ /dev/null diff --git a/org.eclipse.debug.ui/icons/full/elcl16/inspect_co.gif b/org.eclipse.debug.ui/icons/full/elcl16/inspect_co.gif Binary files differdeleted file mode 100644 index bcd5f2211..000000000 --- a/org.eclipse.debug.ui/icons/full/elcl16/inspect_co.gif +++ /dev/null diff --git a/org.eclipse.debug.ui/icons/full/obj16/launch_config.gif b/org.eclipse.debug.ui/icons/full/obj16/launch_config.gif Binary files differdeleted file mode 100644 index a7dce6995..000000000 --- a/org.eclipse.debug.ui/icons/full/obj16/launch_config.gif +++ /dev/null diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java index d633d55d2..d0781d10f 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java @@ -83,7 +83,6 @@ public class DebugPluginImages { declareRegistryImage(IDebugUIConstants.IMG_LCL_TYPE_NAMES, LOCALTOOL + "tnames_co.gif"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_LCL_REMOVE, LOCALTOOL + "rem_co.gif"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_LCL_REMOVE_ALL, LOCALTOOL + "rem_all_co.gif"); //$NON-NLS-1$
- declareRegistryImage(IDebugUIConstants.IMG_LCL_INSPECT, LOCALTOOL + "inspect_co.gif"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_LCL_RELAUNCH, LOCALTOOL + "relaunch_co.gif"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_LCL_COPY, LOCALTOOL + "copy_edit.gif"); //$NON-NLS-1$
@@ -142,7 +141,6 @@ public class DebugPluginImages { declareRegistryImage(IDebugUIConstants.IMG_OBJS_OS_PROCESS, OBJECT + "osprc_obj.gif"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_OBJS_OS_PROCESS_TERMINATED, OBJECT + "osprct_obj.gif"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_OBJS_EXPRESSION, OBJECT + "expression_obj.gif"); //$NON-NLS-1$
- declareRegistryImage(IDebugUIConstants.IMG_OBJS_LAUNCH_CONFIGURATION, OBJECT + "launch_config.gif"); //$NON-NLS-1$
//Wizard Banners
declareRegistryImage(IDebugUIConstants.IMG_WIZBAN_DEBUG, WIZBAN + "debug_wiz.gif"); //$NON-NLS-1$
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java index 0b7e85f67..62b87362f 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java @@ -45,7 +45,6 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Status;
-import org.eclipse.debug.core.DebugEvent;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchConfiguration;
@@ -57,13 +56,11 @@ import org.eclipse.debug.core.ILauncher; import org.eclipse.debug.core.model.IDebugElement;
import org.eclipse.debug.core.model.IDebugTarget;
import org.eclipse.debug.core.model.IProcess;
-import org.eclipse.debug.core.model.ITerminate;
import org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationHistoryElement;
import org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager;
import org.eclipse.debug.internal.ui.views.ConsoleDocument;
import org.eclipse.debug.ui.IDebugModelPresentation;
import org.eclipse.debug.ui.IDebugUIConstants;
-import org.eclipse.debug.ui.IDebugUIEventFilter;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
@@ -72,8 +69,8 @@ import org.eclipse.jface.resource.ImageRegistry; import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.util.IPropertyChangeListener;
-import org.eclipse.jface.util.ListenerList;
import org.eclipse.jface.util.PropertyChangeEvent;
+import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
@@ -111,6 +108,11 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener, protected static IDebugModelPresentation fgPresentation = null;
/**
+ * Default label provider
+ */
+ private static DefaultLabelProvider fgDefaultLabelProvider;
+
+ /**
* The mappings of processes to their console documents.
*/
protected Map fConsoleDocuments= new HashMap(3);
@@ -153,11 +155,6 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener, protected Vector fRunFavorites;
/**
- * Event filters for the debug UI
- */
- protected ListenerList fEventFilters = new ListenerList(2);
-
- /**
* Flag indicating whether the debug UI is in trace
* mode. When in trace mode, extra debug information
* is produced.
@@ -241,43 +238,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener, super(descriptor);
fgDebugUIPlugin= this;
setEmptyLaunchHistories();
- }
- /**
- * Poll the filters to determine if the event should be shown
- */
- public boolean showSuspendEvent(DebugEvent event) {
- Object s= event.getSource();
- if (s instanceof ITerminate) {
- if (((ITerminate)s).isTerminated()) {
- return false;
- }
- }
- if (!fEventFilters.isEmpty()) {
- Object[] filters = fEventFilters.getListeners();
- for (int i = 0; i < filters.length; i++) {
- if (!((IDebugUIEventFilter)filters[i]).showDebugEvent(event)) {
- return false;
- }
- }
- }
- return true;
- }
-
- /**
- * Poll the filters to determine if the launch should be shown
- */
- public boolean showLaunch(ILaunch launch) {
- if (!fEventFilters.isEmpty()) {
- Object[] filters = fEventFilters.getListeners();
- for (int i = 0; i < filters.length; i++) {
- if (!((IDebugUIEventFilter)filters[i]).showLaunch(launch)) {
- return false;
- }
- }
- }
- return true;
- }
-
+ }
protected ILaunchManager getLaunchManager() {
return DebugPlugin.getDefault().getLaunchManager();
}
@@ -326,7 +287,16 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener, public static Shell getShell() {
return getActiveWorkbenchWindow().getShell();
}
-
+
/**
+ * Returns the default label provider for the debug UI.
+ */
+ public static ILabelProvider getDefaultLabelProvider() {
+ if (fgDefaultLabelProvider == null) {
+ fgDefaultLabelProvider = new DefaultLabelProvider();
+ }
+ return fgDefaultLabelProvider;
+ }
+
/**
* Creates an extension. If the extension plugin has not
* been loaded a busy cursor will be activated during the duration of
@@ -1368,24 +1338,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener, history.remove(history.size() - 1);
}
}
-
- public void addEventFilter(IDebugUIEventFilter filter) {
- fEventFilters.add(filter);
- }
-
- /**
- * Removes the event filter after the current set
- * of events posted to the queue have been processed.
- */
- public void removeEventFilter(final IDebugUIEventFilter filter) {
- Runnable runnable = new Runnable() {
- public void run() {
- fEventFilters.remove(filter);
- }
- };
- getStandardDisplay().asyncExec(runnable);
- }
-
+
/**
* Returns whether the given launcher should be visible in the UI.
* If a launcher is not visible, it will not appear
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DelegatingModelPresentation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DelegatingModelPresentation.java index df0bfa447..3616f4078 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DelegatingModelPresentation.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DelegatingModelPresentation.java @@ -166,14 +166,14 @@ public class DelegatingModelPresentation implements IDebugModelPresentation { * Returns a default text label for the debug element
*/
protected String getDefaultText(Object element) {
- return DebugUITools.getDefaultLabelProvider().getText(element);
+ return DebugUIPlugin.getDefaultLabelProvider().getText(element);
}
/**
* Returns a default image for the debug element
*/
protected Image getDefaultImage(Object element) {
- return DebugUITools.getDefaultLabelProvider().getImage(element);
+ return DebugUIPlugin.getDefaultLabelProvider().getImage(element);
}
/*
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchHistoryPreferencePage.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchHistoryPreferencePage.java index 53e5b38c1..cecd2a037 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchHistoryPreferencePage.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchHistoryPreferencePage.java @@ -206,7 +206,7 @@ public class LaunchHistoryPreferencePage protected Vector convertToHisotryElements(List configs, String mode) { Vector v = new Vector(configs.size()); Iterator iter = configs.iterator(); - ILabelProvider lp = DebugUITools.getDefaultLabelProvider(); + ILabelProvider lp = DebugUIPlugin.getDefaultLabelProvider(); while (iter.hasNext()) { ILaunchConfiguration config = (ILaunchConfiguration)iter.next(); LaunchConfigurationHistoryElement hist = new LaunchConfigurationHistoryElement(config, mode, lp.getText(config)); diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/PerspectiveManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/PerspectiveManager.java index 82e62d6da..0e3875be4 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/PerspectiveManager.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/PerspectiveManager.java @@ -110,7 +110,7 @@ public class PerspectiveManager implements ILaunchListener, IDebugEventSetListen public void launchAdded(ILaunch launch) {
String perspectiveId = null;
// check event filters
- if (DebugUIPlugin.getDefault().showLaunch(launch)) {
+ if (!isPrivate(launch)) {
try {
perspectiveId = getPerspectiveId(launch);
} catch (CoreException e) {
@@ -196,9 +196,6 @@ public class PerspectiveManager implements ILaunchListener, IDebugEventSetListen DebugEvent event = events[i];
if (event.getKind() == DebugEvent.SUSPEND && event.getDetail() == event.BREAKPOINT) {
// apply event filters
- if (!DebugUIPlugin.getDefault().showSuspendEvent(event)) {
- continue;
- }
ILaunch launch = null;
Object source = event.getSource();
if (source instanceof IDebugElement) {
@@ -206,6 +203,9 @@ public class PerspectiveManager implements ILaunchListener, IDebugEventSetListen } else if (source instanceof IProcess) {
launch = ((IProcess)source).getLaunch();
}
+ if (launch != null && isPrivate(launch)) {
+ continue;
+ }
String perspectiveId = null;
try {
perspectiveId = getPerspectiveId(launch);
@@ -295,4 +295,18 @@ public class PerspectiveManager implements ILaunchListener, IDebugEventSetListen return perspectiveId;
}
+ /**
+ * Returns whether the given launch is private
+ */
+ protected boolean isPrivate(ILaunch launch) {
+ ILaunchConfiguration config = launch.getLaunchConfiguration();
+ if (config != null) {
+ try {
+ return config.getAttribute(IDebugUIConstants.ATTR_PRIVATE, false);
+ } catch (CoreException e) {
+ DebugUIPlugin.log(e);
+ }
+ }
+ return false;
+ }
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java index fb6f26dda..24686e5b4 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java @@ -48,7 +48,7 @@ import org.eclipse.ui.texteditor.ITextEditorActionConstants; import org.eclipse.ui.texteditor.IUpdate;
/**
- * Common functionality for views in the debug UI:<ul>
+ * Common function for debug related views:<ul>
* <li>Debug view adpater implementation - <code>IDebugView</code></li>
* <li>Action registry - actions can be stored in this view
* with a key. Actions that implement <code>IUpdate</code>
@@ -73,12 +73,7 @@ import org.eclipse.ui.texteditor.IUpdate; * <p>
* This class may be subclassed.
* </p>
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
+ * @since 2.0
*/
public abstract class AbstractDebugView extends PageBookView implements IDebugView, IDoubleClickListener {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java index 41e3756e2..cda81ff13 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java @@ -22,7 +22,6 @@ import org.eclipse.debug.internal.ui.DelegatingModelPresentation; import org.eclipse.debug.internal.ui.LazyModelPresentation;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.Viewer;
@@ -41,21 +40,15 @@ import org.eclipse.ui.PlatformUI; * <p>
* This class is not intended to be subclassed or instantiated.
* </p>
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
*/
public class DebugUITools {
-
- private static DefaultLabelProvider fgDefaultLabelProvider= new DefaultLabelProvider();
/**
- * Returns the shared image managed under the given key. If there isn't any image
- * associated with the given key, <code>null</code> is returned. <p>
- * Note that clients <br>MUST NOT</br> dispose the image returned by this method.
+ * Returns the shared image managed under the given key, or <code>null</code>
+ * if none.
+ * <p>
+ * Note that clients <b>MUST NOT</b> dispose the image returned by this method.
+ * </p>
* <p>
* See <code>IDebugUIConstants</code> for available images.
* </p>
@@ -69,8 +62,8 @@ public class DebugUITools { }
/**
- * Returns the shared image descriptor managed under the given key. If there isn't any image
- * descriptor associated with the given key, <code>null</code> is returned. <p>
+ * Returns the shared image descriptor managed under the given key, or
+ * <code>null</code> if none.
* <p>
* See <code>IDebugUIConstants</code> for available image descriptors.
* </p>
@@ -82,14 +75,7 @@ public class DebugUITools { public static ImageDescriptor getImageDescriptor(String key) {
return DebugPluginImages.getImageDescriptor(key);
}
-
- /**
- * Returns the default label provider for the debug UI.
- */
- public static ILabelProvider getDefaultLabelProvider() {
- return fgDefaultLabelProvider;
- }
-
+
/**
* Returns the default image descriptor for the given element
* or <code>null</code> if none is defined.
@@ -103,7 +89,7 @@ public class DebugUITools { }
private static String getDefaultImageKey(Object element) {
- return fgDefaultLabelProvider.getImageKey(element);
+ return ((DefaultLabelProvider)DebugUIPlugin.getDefaultLabelProvider()).getImageKey(element);
}
/**
@@ -116,27 +102,11 @@ public class DebugUITools { }
/**
- * Adds the given filter to the list of registered filters. Has
- * no effect if an identical filter is already registered.
- */
- public static void addEventFilter(IDebugUIEventFilter filter) {
- DebugUIPlugin.getDefault().addEventFilter(filter);
- }
-
- /**
- * Removes the given filter from the list of registered filters. Has
- * no effect if an identical filter is not already registered.
- */
- public static void removeEventFilter(IDebugUIEventFilter filter) {
- DebugUIPlugin.getDefault().removeEventFilter(filter);
- }
-
- /**
* Returns a new debug model presentation that delegates to
* appropriate debug models.
- *
- * It is the client's responsibility to ensure to call the dispose
- * method of the returned debug model presentation.
+ * <p>
+ * It is the client's responsibility dispose the presentation.
+ * </p>
*
* @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose()
* @return a debug model presentation
@@ -150,9 +120,9 @@ public class DebugUITools { * Returns a new debug model presentation for specified
* debug model, or <code>null</code> if a presentation does
* not exist.
- *
- * It is the client's responsibility to ensure to call the dispose
- * method of the returned debug model presentation.
+ * <p>
+ * It is the client's responsibility dispose the presentation.
+ * </p>
*
* @param identifier debug model identifier
* @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose()
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugModelPresentation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugModelPresentation.java index 7f4fe2e62..e6bdd3f1d 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugModelPresentation.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugModelPresentation.java @@ -17,15 +17,7 @@ import org.eclipse.ui.IEditorInput; * this interface. Generally, a debug model implementation will also provide a
* debug model presentation extension to render and display its elements. A debug
* model presentation is registered for a specific debug model, and is responsible
- * for the presentation of the following kinds of elements defined by that model:
- * <ul>
- * <li>debug targets</li>
- * <li>threads</li>
- * <li>stack frames</li>
- * <li>variables</li>
- * <li>values</li>
- * <li>breakpoint markers</li>
- * </ul>
+ * for the presentation elements defined/implemented by that model.
* <p>
* A debug model presentation extension is defined in <code>plugin.xml</code>.
* Following is an example definition of a debug model presentation extension.
@@ -70,18 +62,12 @@ import org.eclipse.ui.IEditorInput; * to define a "hexidecimal" property to display numeric values in hexidecimal. Implementations
* should honor the presentation attributes defined by this interface where possible,
* but do not need to honor presentation attributes defined by other clients.
- * To access the debug model presentation for a debug view, clients should use the
- * <code>IDebugView</code>.
+ * To access the debug model presentation for a debug view, clients should use
+ * <code>IDebugView#getPresentation(String)</code>.
* </p>
* <p>
* Clients may implement this interface.
* </p>
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
* @see org.eclipse.debug.core.model.IDebugElement
* @see org.eclipse.jface.viewers.ILabelProvider
* @see org.eclipse.debug.ui.IDebugView
@@ -108,9 +94,8 @@ public interface IDebugModelPresentation extends ILabelProvider, ISourcePresenta */
void setAttribute(String attribute, Object value);
/**
- * Returns the image for the label of the given element. If an implementation
- * of <code>IDebugModelPresentation</code> returns <code>null</code>, the debug
- * UI will provide a default image for the given element.
+ * Returns an image for the element, or <code>null</code> if a default
+ * image should be used.
*
* @param element the debug model element
* @return an image for the element, or <code>null</code> if a default
@@ -119,9 +104,8 @@ public interface IDebugModelPresentation extends ILabelProvider, ISourcePresenta */
public Image getImage(Object element);
/**
- * Returns the text for the label of the given element. If an implementation
- * of <code>IDebugModelPresentation</code> returns <code>null</code>, the debug
- * UI will provide a default text for the given element.
+ * Returns a label for the element, or <code>null</code> if a default
+ * label should be used.
*
* @param element the debug model element
* @return a label for the element, or <code>null</code> if a default
@@ -134,7 +118,7 @@ public interface IDebugModelPresentation extends ILabelProvider, ISourcePresenta * Computes a detailed description of the given value, reporting
* the result to the specified listener. This allows a presentation
* to provide extra details about a selected value in the variable detail
- * portion of the variable view. Since this can be a long-running operation,
+ * portion of the variables view. Since this can be a long-running operation,
* the details are reported back to the specified listener asynchronously.
* If <code>null</code> is reported, the value's value string is displayed
* (<code>IValue.getValueString()</code>).
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java index 3f9498e48..a85deed45 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java @@ -90,12 +90,6 @@ package org.eclipse.debug.ui; * <p>
* Constants only; not intended to be implemented or extended.
* </p>
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
*/
public interface IDebugUIConstants {
@@ -111,12 +105,15 @@ public interface IDebugUIConstants { public static final String ID_DEBUG_PERSPECTIVE = PLUGIN_ID + ".DebugPerspective"; //$NON-NLS-1$
/**
- * Debug model presentation extension point identifier (value <code>"debugModelPresentations"</code>).
+ * Debug model presentation simple extension point identifier (value <code>"debugModelPresentations"</code>).
*/
public static final String ID_DEBUG_MODEL_PRESENTATION= "debugModelPresentations"; //$NON-NLS-1$
/**
- * Launch configuration tab extension point identifier (value <code>"launchConfigurationTabs"</code>).
+ * Launch configuration tab simple extension point identifier (value <code>"launchConfigurationTabs"</code>).
+ *
+ * @since 2.0
+ * @deprecated replaced with tab groups - will be removed
*/
public static final String ID_LAUNCH_CONFIGURATION_TABS= "launchConfigurationTabs"; //$NON-NLS-1$
@@ -167,6 +164,8 @@ public interface IDebugUIConstants { * are rendered with their default images.
*
* @since 2.0
+ * @deprecated to be removed - the variable view will show changes (i.e.
+ * will not be configurable)
*/
public static final String PREF_SHOW_VARIABLE_VALUE_CHANGES = PLUGIN_ID + ".show_variable_value_changes"; //$NON-NLS-1$
@@ -212,6 +211,8 @@ public interface IDebugUIConstants { /**
* Extension point for launch configuration type images.
+ *
+ * @since 2.0
*/
public static final String EXTENSION_POINT_LAUNCH_CONFIGURATION_TYPE_IMAGES = "launchConfigurationTypeImages"; //$NON-NLS-1$
@@ -257,7 +258,7 @@ public interface IDebugUIConstants { /** Clear action image identifier. */
public static final String IMG_LCL_CLEAR= "IMG_LCL_CLEAR"; //$NON-NLS-1$
- /** Remove all action image identifier. */
+ /** Remove all terminated action image identifier. */
public static final String IMG_LCL_REMOVE_TERMINATED= "IMG_LCL_REMOVE_TERMINATED"; //$NON-NLS-1$
/** Display variable type names action image identifier. */
@@ -268,9 +269,6 @@ public interface IDebugUIConstants { /** Remove all action image identifier. */
public static final String IMG_LCL_REMOVE_ALL= "IMG_LCL_REMOVE_ALL"; //$NON-NLS-1$
-
- /** Inspect action image identifier. */
- public static final String IMG_LCL_INSPECT= "IMG_LCL_INSPECT"; //$NON-NLS-1$
/** Re-launch action image identifier.*/
public static final String IMG_LCL_RELAUNCH= "IMG_LCL_RELAUNCH"; //$NON-NLS-1$
@@ -320,12 +318,13 @@ public interface IDebugUIConstants { /** Terminated system process image identifier. */
public static final String IMG_OBJS_OS_PROCESS_TERMINATED= "IMG_OBJS_OS_PROCESS_TERMINATED"; //$NON-NLS-1$
- /** Expression image identifier. */
+ /**
+ * Expression image identifier.
+ *
+ * @since 2.0
+ */
public static final String IMG_OBJS_EXPRESSION= "IMG_OBJS_EXPRESSION"; //$NON-NLS-1$
-
- /** Launch configuration image identifier. */
- public static final String IMG_OBJS_LAUNCH_CONFIGURATION= "IMG_OBJS_LAUNCH_CONFIGURATION"; //$NON-NLS-1$
-
+
// wizard banners
/** Debug wizard banner image identifier. */
public static final String IMG_WIZBAN_DEBUG= "IMG_WIZBAN_DEBUG"; //$NON-NLS-1$
@@ -333,12 +332,6 @@ public interface IDebugUIConstants { /** Run wizard banner image identifier. */
public static final String IMG_WIZBAN_RUN= "IMG_WIZBAN_RUN"; //$NON-NLS-1$
- /** OK wizard banner image identifier. */
- public static final String IMG_WIZBAN_OK= "IMG_WIZBAN_OK"; //$NON-NLS-1$
-
- /** FAIL wizard banner image identifier. */
- public static final String IMG_WIZBAN_FAIL= "IMG_WIZBAN_FAIL"; //$NON-NLS-1$
-
/**
* Debug action set identifier (value <code>"org.eclipse.debug.ui.debugActionSet"</code>).
*/
@@ -446,13 +439,16 @@ public interface IDebugUIConstants { /**
* Identifier for an empty group preceeding an
* expression group in a menu (value <code>"emptyExpressionGroup"</code>).
+ *
+ * @since 2.0
*/
public static final String EMPTY_EXPRESSION_GROUP = "emptyExpressionGroup"; //$NON-NLS-1$
/**
* Identifier for an expression group in a menu (value <code>"expressionGroup"</code>).
+ *
+ * @since 2.0
*/
-
public static final String EXPRESSION_GROUP = "expressionGroup"; //$NON-NLS-1$
/**
* Identifier for an empty group preceeding a
@@ -527,7 +523,8 @@ public interface IDebugUIConstants { /**
* Launch configuration attribute - a boolean value that indicates if the launch configuration
* is 'private'. A private configuration is one that does not appear to the user in the launch
- * history or the launch configuration dialog.
+ * history or the launch configuration dialog. Also, the debug view does not automatically select
+ * and reveal threads that suspend for private launches.
*
* @since 2.0
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIEventFilter.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIEventFilter.java deleted file mode 100644 index 97dfb22ad..000000000 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIEventFilter.java +++ /dev/null @@ -1,55 +0,0 @@ -package org.eclipse.debug.ui;
-
-/*
- * (c) Copyright IBM Corp. 2000, 2001.
- * All Rights Reserved.
- */
-
-import org.eclipse.debug.core.DebugEvent;
-import org.eclipse.debug.core.ILaunch;
-
-/**
- * An event filter allows clients to selectively suppress events that
- * cause the debug UI to automatically display the debug/process view when
- * a launch is registered or when a debug session suspends.
- * <p>
- * For example, a client that programatically launches a debug session may
- * not want the default behavior of switching to the debug perspective as
- * a result of registering a launch. In this case the client could add a filter
- * to the debug UI to selectively suppress switch to the debug perspective.
- * </p>
- * <p>
- * Clients may implement this interface.
- * </p>
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- */
-public interface IDebugUIEventFilter {
-
- /**
- * Returns whether the given launch should cause the debug UI to
- * show the debug/process view. This method is only called when the
- * <code>PREF_AUTO_SHOW_DEBUG_VIEW</code> preference is <code>true</code>.
- *
- * @param the launch that has just been registered
- * @return whether to automatically display the launch
- */
- public boolean showLaunch(ILaunch launch);
-
- /**
- * Returns whether the given event should cause the debug UI to
- * show the associated debug element. This method is only called when the
- * <code>PREF_AUTO_SHOW_DEBUG_VIEW</code> preference is <code>true</code>,
- * and the debug event is of kind <code>SUSPEND</code>.
- *
- * @param the launch that has just been registered
- * @return whether to automatically display the launch
- * @see DebugEvent
- */
- public boolean showDebugEvent(DebugEvent event);
-
-}
\ No newline at end of file diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugView.java index f3aa7b89c..dd9c23cad 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugView.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugView.java @@ -11,29 +11,18 @@ import org.eclipse.jface.viewers.Viewer; import org.eclipse.ui.IViewPart;
/**
- * An adapter that debug views implement.
- * Provides access to underlying viewer and debug model presentation being
- * used by a viewer. This allows clients to do such things as add and
- * remove filters to a viewer, and configure a debug model presentation.
- * The following debug views support this adapter:
- * <ul>
- * <li>Debug view</li>
- * <li>Breakpoint view</li>
- * <li>Variable view</li>
- * <li>Expression view</li>
- * <li>Console view</li>
- * </ul>
+ * Common function for debug views. Provides access to underlying viewer and
+ * debug model presentation being used by a viewer. This allows clients to do
+ * such things as add and remove filters to a viewer, and configure a debug
+ * model presentation.
* <p>
- * Clients are not intended to implement this interface.
- * </p>
- * <p>
- * <b>NOTE:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
+ * Clients may implement this interface. Generally, clients should subclass
+ * <code>AbstractDebugView</code> when creating a new debug view.
* </p>
* @see org.eclipse.core.runtime.IAdaptable
- * @see IDebugModelPresentation
+ * @see org.eclipse.debug.ui.IDebugModelPresentation
+ * @see org.eclipse.debug.ui.AbstractDebugView
+ * @since 2.0
*/
public interface IDebugView extends IViewPart {
@@ -42,7 +31,6 @@ public interface IDebugView extends IViewPart { * Returns the viewer contained in this debug view.
*
* @return viewer
- * @since 2.0
*/
public Viewer getViewer();
@@ -63,7 +51,6 @@ public interface IDebugView extends IViewPart { * @param actionId the action id
* @param action the action, or <code>null</code> to clear it
* @see #getAction
- * @since 2.0
*/
public void setAction(String actionID, IAction action);
@@ -73,7 +60,6 @@ public interface IDebugView extends IViewPart { * @param actionId the action id
* @return the action, or <code>null</code> if none
* @see #setAction
- * @since 2.0
*/
public IAction getAction(String actionID);
@@ -81,7 +67,6 @@ public interface IDebugView extends IViewPart { * Returns the context menu manager for this view.
*
* @return the context menu manager for this view, or <code>null</code> if none
- * @since 2.0
*/
public IMenuManager getContextMenuManager();
}
\ No newline at end of file diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationDialog.java index 983bb938e..53ca5ff0b 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationDialog.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationDialog.java @@ -10,7 +10,8 @@ import org.eclipse.jface.operation.IRunnableContext; */
/**
- * A launch configuraiton dialog contains a launch configuration
+ * A launch configuraiton dialog is used to edit and launch
+ * launch configurations. It contains a launch configuration
* tab group.
*
* @see ILaunchConfigurationTabGroup
@@ -21,17 +22,18 @@ import org.eclipse.jface.operation.IRunnableContext; public interface ILaunchConfigurationDialog extends IRunnableContext {
/**
- * Constant used as return value from <code>open()</code> method of a
- * launch configuration dialog.
+ * Return value from <code>open()</code> method of a
+ * launch configuration dialog when a launch completed
+ * successfully with a single lick (i.e. without opening a
+ * launch configuration dialog).
*/
public static final int SINGLE_CLICK_LAUNCHED = 2;
/**
* Adjusts the enable state of the Launch button
- * to reflect the state of the currently active
- * pages in this launch configuration dialog.
+ * to reflect the state of the active tab group.
* <p>
- * This may be called by a page to force a button state
+ * This may be called by to force a button state
* update.
* </p>
*/
@@ -39,10 +41,10 @@ public interface ILaunchConfigurationDialog extends IRunnableContext { /**
* Updates the message (or error message) shown in the message line to
- * reflect the state of the currently active page in this launch
+ * reflect the state of the currently active tab in this launch
* configuration dialog.
* <p>
- * This method may be called by a page to force a message
+ * This method may be called to force a message
* update.
* </p>
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java index dfa9fd3d3..b164425d0 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java @@ -39,47 +39,8 @@ import org.eclipse.swt.widgets.Control; * control does not exist.
* </p>
* <p>
- * A launch configuration tab extension is defined in <code>plugin.xml</code>.
- * Following is an example definition of a launch configuration
- * tab extension.
- * <pre>
- * <extension point="org.eclipse.debug.ui.launchConfigurationTab">
- * <launchConfigurationType
- * id="com.example.ExampleTabIdentifier"
- * type="com.example.ExampleLaunchConfigurationTypeIdentifier"
- * class="com.example.ExampleLaunchConfigurationTabClass"
- * name="Example Tab Page"
- * mode="debug"
- * </launchConfigurationType>
- * </extension>
- * </pre>
- * The attributes are specified as follows:
- * <ul>
- * <li><code>id</code> specifies a unique identifier for this launch configuration
- * tab.</li>
- * <li><code>type</code> specifies launch configuration type that this tab
- * is applicable to (corresponds to the id of a launch configuration type
- * extension). Or, if unspecified, this tab will appear for all launch
- * configurations.</li>
- * <li><code>class</code>specifies a fully qualified name of a Java class
- * that implements <code>ILanuchConfigurationTab</code>.</li>
- * <li><code>name</code> specifies a human readable name for this
- * launch configuration tab that will appear as the title for this
- * tab, in the tab page.</li>
- * <li><code>mode</code> optionally specifies the mode for which this tab should
- * be displayed - one of "run" or "debug". This tab is displayed for
- * both modes if unspecified.</li>
- * </ul>
- * </p>
- * <p>
* This interface is intended to be implemented by clients.
* </p>
- * <p>
- * <b>NOTE:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
* @see org.eclipse.debug.core.ILaunchConfigurationType
* @see org.eclipse.debug.core.ILaunchConfiguration
* @since 2.0
@@ -160,7 +121,7 @@ public interface ILaunchConfigurationTab { /**
* Returns the current error message for this tab.
- * May be <code>null</null> to indicate no error message.
+ * May be <code>null</code> to indicate no error message.
* <p>
* An error message should describe some error state,
* as opposed to a message which may simply provide instruction
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTabGroup.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTabGroup.java index 70fae3784..eef38ecc9 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTabGroup.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTabGroup.java @@ -70,12 +70,6 @@ import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; * <p> * This interface is intended to be implemented by clients. * </p> - * <p> - * <b>NOTE:</b> This class/interface is part of an interim API that is still under development and expected to - * change significantly before reaching stability. It is being made available at this early stage to solicit feedback - * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken - * (repeatedly) as the API evolves. - * </p> * @see org.eclipse.debug.core.ILaunchConfigurationType * @see org.eclipse.debug.core.ILaunchConfiguration * @see org.eclipse.debug.ui.ILaunchConfigurationTab diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ISourcePresentation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ISourcePresentation.java index 106edd3a6..94b8e841e 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ISourcePresentation.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ISourcePresentation.java @@ -31,12 +31,7 @@ import org.eclipse.ui.IEditorInput; * than the default debug model presentation.</li>
* </ol>
* </p>
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
+ * @since 2.0
*/
public interface ISourcePresentation {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IValueDetailListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IValueDetailListener.java index 64bcec0e4..f76f4da1d 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IValueDetailListener.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IValueDetailListener.java @@ -8,8 +8,7 @@ package org.eclipse.debug.ui; import org.eclipse.debug.core.model.IValue;
/**
- * Listener interface for notification of value
- * details.
+ * Notified of detailed value descriptions.
*
* @see IDebugModelPresentation
* @since 2.0
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugAction.java index d9285ef76..91b26ed1f 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugAction.java @@ -18,7 +18,8 @@ import org.eclipse.ui.IViewActionDelegate; * Otherwise, the launch configuration dialog will be openned.
* </p>
* <p>
- * This class is not intended to be subclassed.
+ * This class is not intended to be subclassed. This class may
+ * be instantiated.
* </p>
* @since 2.0
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RunAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RunAction.java index 2be3a3cbc..e4cad07bb 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RunAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RunAction.java @@ -18,7 +18,8 @@ import org.eclipse.ui.IViewActionDelegate; * Otherwise, the launch configuration dialog will be openned.
* </p>
* <p>
- * This class is not intended to be subclassed.
+ * This class is not intended to be subclassed. This class may
+ * be instantiated.
* </p>
* @since 2.0
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/package.html b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/package.html index f107c52d1..5b239004e 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/package.html +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/package.html @@ -48,7 +48,7 @@ workspace. It supports enabling/disabling and breakpoint removal.</p> <p>The debug UI plug-in defines an extension (<b>org.eclipse.debug.ui.debugModelPresentations</b>)
point to allow implementations of debug models to provide custom rendering and
-presentation of its debug elements. Extensions are be registered for a specific debug
+presentation of its debug elements. Extensions are registered for a specific debug
model. It is intended that an implementation of a debug model will also provide an
implementation of a debug model presentation. The presentation provides:
@@ -64,7 +64,7 @@ implementation of a debug model presentation. The presentation provides: <p>The debug UI plug-in provides a lanuch configuration dialog for
creating and editing launch configurations. Clients may contribute
-tabs to the launch configuration dialog via the launchConfigurationTab
+tabs to the launch configuration dialog via the launchConfigurationTabGroup
extension point.</p>
|