|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
IAdaptable
,
IDebugModelPresentation
,
AbstractDebugView
Field Summary | |
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. |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Method Summary | |
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()
Returns the context menu manager for this view. |
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. |
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 |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Field Detail |
public static final String COPY_ACTION
setAction(String, IAction)
,
Constant Field Valuespublic static final String CUT_ACTION
setAction(String, IAction)
,
Constant Field Valuespublic static final String DOUBLE_CLICK_ACTION
setAction(String, IAction)
,
Constant Field Valuespublic static final String FIND_ACTION
setAction(String, IAction)
,
Constant Field Valuespublic static final String PASTE_ACTION
setAction(String, IAction)
,
Constant Field Valuespublic static final String REMOVE_ACTION
setAction(String, IAction)
,
Constant Field Valuespublic static final String SELECT_ALL_ACTION
setAction(String, IAction)
,
Constant Field ValuesMethod Detail |
public Viewer getViewer()
public IDebugModelPresentation getPresentation(String id)
id
- the debug model identifier that corresponds to the id
attribute of a debug model presentation extension
null
if no
presentation is registered for the specified idpublic void setAction(String actionID, IAction action)
IUpdate
it is added/remove
from the collection of updateables associated with this view.
action
- the action, or null
to clear itgetAction(java.lang.String)
public void add(IUpdate updatable)
updatable
- The IUpdate instance to be addedpublic void remove(IUpdate updatable)
updatable
- The IUpdate instance to be removedpublic IAction getAction(String actionID)
null
if nonesetAction(java.lang.String, org.eclipse.jface.action.IAction)
public IMenuManager getContextMenuManager()
null
if none
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |