Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui
Interface IDebugView

All Superinterfaces:
IAdaptable, IPersistable, IViewPart, IWorkbenchPart
All Known Implementing Classes:
AbstractDebugView

public interface IDebugView
extends IViewPart

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:
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 ()
          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.
 
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

COPY_ACTION

static final 
String 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:
setAction(String, IAction)

CUT_ACTION

static final 
String 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:
setAction(String, IAction)

DOUBLE_CLICK_ACTION

static final 
String 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.

See Also:
setAction(String, IAction), Constant Field Values

FIND_ACTION

static final 
String 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:
setAction(String, IAction)

PASTE_ACTION

static final 
String 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:
setAction(String, IAction)

REMOVE_ACTION

static final 
String 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.

See Also:
setAction(String, IAction), Constant Field Values

SELECT_ALL_ACTION

static final 
String 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:
setAction(String, IAction)
Method Detail

getViewer


Viewer getViewer()
Returns the viewer contained in this debug view.

Returns:
viewer

getPresentation


IDebugModelPresentation getPresentation(
String id)
Returns the debug model presentation for this view specified by the debug model identifier.

Parameters:
id - the debug model identifier that corresponds to the id attribute of a debug model presentation extension
Returns:
the debug model presentation, or null if no presentation is registered for the specified id

setAction

void setAction(
String actionID,
               
IAction action)
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 of IUpdate it is added/remove from the collection of updateables associated with this view.

Parameters:
actionID - the action id
action - the action, or null to clear it
See Also:
getAction(java.lang.String)

add

void add(
IUpdate updatable)
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

void remove(
IUpdate updatable)
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


IAction getAction(
String actionID)
Returns the action installed under the given action id.

Parameters:
actionID - the action id
Returns:
the action, or null if none
See Also:
setAction(java.lang.String, org.eclipse.jface.action.IAction)

getContextMenuManager


IMenuManager 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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire