Package org.eclipse.debug.ui
Interface IDebugView
- All Superinterfaces:
IAdaptable
,IPersistable
,IViewPart
,IWorkbenchPart
- All Known Implementing Classes:
AbstractDebugView
Common function for debug views. Provides access to the 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.
Clients may implement this interface. Generally, clients should subclass
AbstractDebugView
when creating a new debug view.
- Since:
- 2.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Action id for a view's copy action.static final String
Action id for a view's cut action.static final String
Action id for a view's double-click action.static final String
Action id for a view's find action.static final String
Action id for a view's paste action.static final String
Action id for a view's remove action.static final String
Action id for a view's select all action.Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the given IUpdate to this view's collection of updatable objects.Returns the action installed under the given action id.Deprecated.See AbstractDebugView#getContextMenuManagers()Returns the debug model presentation for this view specified by the debug model identifier.Returns the viewer contained in this debug view.void
Removes the given IUpdate from this view's collection of updatable objects.void
Installs the given action under the given action id.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.ui.IViewPart
getViewSite, init, init, saveState
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
-
Field Details
-
COPY_ACTION
Action id for a view's copy action. Any view with a copy action that should be invoked when CTRL+C is pressed should store their copy action with this key.- See Also:
-
CUT_ACTION
Action id for a view's cut action. Any view with a cut action that should be invoked when CTRL+X is pressed should store their cut action with this key.- See Also:
-
DOUBLE_CLICK_ACTION
Action id for a view's double-click action. Any view with an action that should be invoked when the mouse is double-clicked should store their double-click action with this key. -
FIND_ACTION
Action id for a view's find action. Any view with a find action that should be invoked when CTRL+F is pressed should store their find action with this key.- See Also:
-
PASTE_ACTION
Action id for a view's paste action. Any view with a paste action that should be invoked when CTRL+V is pressed should store their paste action with this key.- See Also:
-
REMOVE_ACTION
Action id for a view's remove action. Any view with a remove action that should be invoked when the delete key is pressed should store their remove action with this key. -
SELECT_ALL_ACTION
Action id for a view's select all action. Any view with a select all action that should be invoked when CTRL+A is pressed should store their select all action with this key.- See Also:
-
-
Method Details
-
getViewer
Viewer getViewer()Returns the viewer contained in this debug view.- Returns:
- viewer
-
getPresentation
Returns the debug model presentation for this view specified by the debug model identifier.- Parameters:
id
- the debug model identifier that corresponds to theid
attribute of a debug model presentation extension- Returns:
- the debug model presentation, or
null
if no presentation is registered for the specified id
-
setAction
Installs the given action under the given action id. If the action has an id that maps to one of the global action ids defined by this interface, the action is registered as a global action handler. If the action is an instance ofIUpdate
it is added/remove from the collection of updateables associated with this view.- Parameters:
actionID
- the action idaction
- the action, ornull
to clear it- See Also:
-
add
Adds the given IUpdate to this view's collection of updatable objects. Allows the view to periodically update these registered objects. Has no effect if an identical IUpdate is already registered.- Parameters:
updatable
- The IUpdate instance to be added
-
remove
Removes the given IUpdate from this view's collection of updatable objects. Has no effect if an identical IUpdate was not already registered.- Parameters:
updatable
- The IUpdate instance to be removed
-
getAction
Returns the action installed under the given action id.- Parameters:
actionID
- the action id- Returns:
- the action, or
null
if none - See Also:
-
getContextMenuManager
Deprecated.See AbstractDebugView#getContextMenuManagers()Returns the context menu manager for this view.- Returns:
- the context menu manager for this view, or
null
if none
-