public interface IDebugView extends IViewPart
Clients may implement this interface. Generally, clients should subclass
AbstractDebugView
when creating a new debug view.
IAdaptable
,
IDebugModelPresentation
,
AbstractDebugView
Modifier and Type | Field and Description |
---|---|
static String |
COPY_ACTION
Action id for a view's copy action.
|
static String |
CUT_ACTION
Action id for a view's cut action.
|
static String |
DOUBLE_CLICK_ACTION
Action id for a view's double-click action.
|
static String |
FIND_ACTION
Action id for a view's find action.
|
static String |
PASTE_ACTION
Action id for a view's paste action.
|
static String |
REMOVE_ACTION
Action id for a view's remove action.
|
static String |
SELECT_ALL_ACTION
Action id for a view's select all action.
|
PROP_TITLE
Modifier and Type | Method and Description |
---|---|
void |
add(IUpdate updatable)
Adds the given IUpdate to this view's collection of updatable
objects.
|
IAction |
getAction(String actionID)
Returns the action installed under the given action id.
|
IMenuManager |
getContextMenuManager()
Deprecated.
See AbstractDebugView#getContextMenuManagers()
|
IDebugModelPresentation |
getPresentation(String id)
Returns the debug model presentation for this view specified
by the debug model identifier.
|
Viewer |
getViewer()
Returns the viewer contained in this debug view.
|
void |
remove(IUpdate updatable)
Removes the given IUpdate from this view's collection of updatable
objects.
|
void |
setAction(String actionID,
IAction action)
Installs the given action under the given action id.
|
getViewSite, init, init, saveState
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
getAdapter
static final String COPY_ACTION
setAction(String, IAction)
static final String CUT_ACTION
setAction(String, IAction)
static final String DOUBLE_CLICK_ACTION
setAction(String, IAction)
,
Constant Field Valuesstatic final String FIND_ACTION
setAction(String, IAction)
static final String PASTE_ACTION
setAction(String, IAction)
static final String REMOVE_ACTION
setAction(String, IAction)
,
Constant Field Valuesstatic final String SELECT_ALL_ACTION
setAction(String, IAction)
Viewer getViewer()
IDebugModelPresentation getPresentation(String id)
id
- the debug model identifier that corresponds to the id
attribute of a debug model presentation extensionnull
if no
presentation is registered for the specified idvoid setAction(String actionID, IAction action)
IUpdate
it is added/remove
from the collection of updateables associated with this view.actionID
- the action idaction
- the action, or null
to clear itgetAction(java.lang.String)
void add(IUpdate updatable)
updatable
- The IUpdate instance to be addedvoid remove(IUpdate updatable)
updatable
- The IUpdate instance to be removedIAction getAction(String actionID)
actionID
- the action idnull
if nonesetAction(java.lang.String, org.eclipse.jface.action.IAction)
@Deprecated IMenuManager getContextMenuManager()
null
if none
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.