|
|||||||||
| Home >> All >> org >> eclipse >> debug >> internal >> ui >> [ launchConfigurations overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.debug.internal.ui.launchConfigurations
Class LaunchConfigurationView

java.lang.Objectorg.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.ui.part.PageBookView
org.eclipse.debug.ui.AbstractDebugView
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.ui.IDebugView, org.eclipse.jface.viewers.IDoubleClickListener, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.debug.core.ILaunchConfigurationListener, org.eclipse.ui.IPartListener, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2
- public class LaunchConfigurationView
- extends org.eclipse.debug.ui.AbstractDebugView
- implements org.eclipse.debug.core.ILaunchConfigurationListener
- extends org.eclipse.debug.ui.AbstractDebugView
A tree view of launch configurations
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.debug.ui.AbstractDebugView |
|
| Nested classes inherited from class org.eclipse.ui.part.PageBookView |
org.eclipse.ui.part.PageBookView.PageRec, org.eclipse.ui.part.PageBookView.SelectionProvider |
| Field Summary | |
private boolean |
fAutoSelect
Whether to automatically select configs that are added |
private CreateLaunchConfigurationAction |
fCreateAction
Actions |
private DeleteLaunchConfigurationAction |
fDeleteAction
|
private DuplicateLaunchConfigurationAction |
fDuplicateAction
|
private LaunchGroupExtension |
fLaunchGroup
The launch group to display |
private org.eclipse.jface.viewers.Viewer |
fViewer
|
| Fields inherited from class org.eclipse.debug.ui.AbstractDebugView |
|
| Fields inherited from class org.eclipse.ui.part.PageBookView |
|
| Fields inherited from class org.eclipse.ui.part.ViewPart |
|
| Fields inherited from class org.eclipse.ui.part.WorkbenchPart |
|
| Fields inherited from interface org.eclipse.debug.ui.IDebugView |
COPY_ACTION, CUT_ACTION, DOUBLE_CLICK_ACTION, FIND_ACTION, PASTE_ACTION, REMOVE_ACTION, SELECT_ALL_ACTION |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
| Constructor Summary | |
LaunchConfigurationView(LaunchGroupExtension launchGroup)
Constructs a launch configuration view for the given launch group |
|
| Method Summary | |
protected void |
configureToolBar(org.eclipse.jface.action.IToolBarManager tbm)
Subclasses implement this menu to contribute actions to the toolbar. |
protected void |
createActions()
Creates this view's actions. |
void |
createLaunchDialogControl(org.eclipse.swt.widgets.Composite parent)
This is similar to IWorkbenchPart#createPartControl(Composite), but it is called by the launch dialog when creating the launch config tree view. |
protected org.eclipse.jface.viewers.Viewer |
createViewer(org.eclipse.swt.widgets.Composite parent)
Creates and returns this view's underlying viewer. |
void |
dispose()
Disposes of this workbench part. |
protected void |
fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
Subclasses must override this method to fill the context menu each time it is realized. |
protected java.lang.String |
getHelpContextId()
Returns this view's help context id, which is hooked to this view on creation. |
protected LaunchGroupExtension |
getLaunchGroup()
Returns the launch group this view is displaying. |
protected org.eclipse.debug.core.ILaunchManager |
getLaunchManager()
|
protected org.eclipse.jface.viewers.TreeViewer |
getTreeViewer()
Returns this view's tree viewer |
org.eclipse.jface.viewers.Viewer |
getViewer()
Returns the viewer contained in this debug view. |
protected void |
handleHelpRequest(org.eclipse.swt.events.HelpEvent evt)
Handle help events locally rather than deferring to WorkbenchHelp. |
protected boolean |
isAutoSelect()
Returns whether this view is currently configured to automatically select newly created configs that are added into the view. |
void |
launchConfigurationAdded(org.eclipse.debug.core.ILaunchConfiguration configuration)
The given launch configuration has been created. |
void |
launchConfigurationChanged(org.eclipse.debug.core.ILaunchConfiguration configuration)
The given launch configuration has changed in some way. |
void |
launchConfigurationRemoved(org.eclipse.debug.core.ILaunchConfiguration configuration)
The given launch configuration has been deleted. |
void |
setAutoSelect(boolean select)
Sets whether to automatically select configs that are added into the view (newly created). |
| Methods inherited from class org.eclipse.ui.part.PageBookView |
doesPageExist, getCurrentContributingPart, getCurrentPage, getDefaultPage, getPageBook, getPageRec, getPageRec, getPageSite, getSelectionProvider, init, initPage, partActivated, partBroughtToTop, partClosed, partDeactivated, partOpened, setFocus, showPageRec |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
getViewSite, saveState, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IViewPart |
getViewSite, init, saveState |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus |
| Field Detail |
fViewer
private org.eclipse.jface.viewers.Viewer fViewer
fLaunchGroup
private LaunchGroupExtension fLaunchGroup
- The launch group to display
fCreateAction
private CreateLaunchConfigurationAction fCreateAction
- Actions
fDeleteAction
private DeleteLaunchConfigurationAction fDeleteAction
fDuplicateAction
private DuplicateLaunchConfigurationAction fDuplicateAction
fAutoSelect
private boolean fAutoSelect
- Whether to automatically select configs that are added
| Constructor Detail |
LaunchConfigurationView
public LaunchConfigurationView(LaunchGroupExtension launchGroup)
- Constructs a launch configuration view for the given launch group
| Method Detail |
getLaunchGroup
protected LaunchGroupExtension getLaunchGroup()
- Returns the launch group this view is displaying.
createViewer
protected org.eclipse.jface.viewers.Viewer createViewer(org.eclipse.swt.widgets.Composite parent)
- Description copied from class:
org.eclipse.debug.ui.AbstractDebugView - Creates and returns this view's underlying viewer.
The viewer's control will automatically be hooked
to display a pop-up menu that other plug-ins may
contribute to. Subclasses must override this method.
handleHelpRequest
protected void handleHelpRequest(org.eclipse.swt.events.HelpEvent evt)
- Handle help events locally rather than deferring to WorkbenchHelp. This
allows help specific to the selected config type to be presented.
- Since:
- 2.1
createActions
protected void createActions()
- Description copied from class:
org.eclipse.debug.ui.AbstractDebugView - Creates this view's actions. Subclasses must
override this method, which is called after
createViewer(Composite)
getHelpContextId
protected java.lang.String getHelpContextId()
- Description copied from class:
org.eclipse.debug.ui.AbstractDebugView - Returns this view's help context id, which is hooked
to this view on creation.
fillContextMenu
protected void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
- Description copied from class:
org.eclipse.debug.ui.AbstractDebugView - Subclasses must override this method to fill the context
menu each time it is realized.
configureToolBar
protected void configureToolBar(org.eclipse.jface.action.IToolBarManager tbm)
- Description copied from class:
org.eclipse.debug.ui.AbstractDebugView - Subclasses implement this menu to contribute actions
to the toolbar. This method is called after
createActions().
getTreeViewer
protected org.eclipse.jface.viewers.TreeViewer getTreeViewer()
- Returns this view's tree viewer
dispose
public void dispose()
- Description copied from interface:
org.eclipse.ui.IWorkbenchPart - Disposes of this workbench part.
This is the last method called on the
IWorkbenchPart. At this point the part controls (if they were ever created) have been disposed as part of an SWT composite. There is no guarantee that createPartControl() has been called, so the part controls may never have been created.Within this method a part may release any resources, fonts, images, etc. held by this part. It is also very important to deregister all listeners from the workbench.
Clients should not call this method (the workbench calls this method at appropriate times).
- Specified by:
disposein interfaceorg.eclipse.ui.IWorkbenchPart
launchConfigurationAdded
public void launchConfigurationAdded(org.eclipse.debug.core.ILaunchConfiguration configuration)
- Description copied from interface:
org.eclipse.debug.core.ILaunchConfigurationListener - The given launch configuration has been created.
- Specified by:
launchConfigurationAddedin interfaceorg.eclipse.debug.core.ILaunchConfigurationListener
launchConfigurationChanged
public void launchConfigurationChanged(org.eclipse.debug.core.ILaunchConfiguration configuration)
- Description copied from interface:
org.eclipse.debug.core.ILaunchConfigurationListener - The given launch configuration has changed in some way.
The configuration may be a working copy.
- Specified by:
launchConfigurationChangedin interfaceorg.eclipse.debug.core.ILaunchConfigurationListener
launchConfigurationRemoved
public void launchConfigurationRemoved(org.eclipse.debug.core.ILaunchConfiguration configuration)
- Description copied from interface:
org.eclipse.debug.core.ILaunchConfigurationListener - The given launch configuration has been deleted.
- Specified by:
launchConfigurationRemovedin interfaceorg.eclipse.debug.core.ILaunchConfigurationListener
createLaunchDialogControl
public void createLaunchDialogControl(org.eclipse.swt.widgets.Composite parent)
- This is similar to IWorkbenchPart#createPartControl(Composite), but it is
called by the launch dialog when creating the launch config tree view.
Since this view is not contained in the workbench, we cannot do all the
usual initialzation (toolbars, etc).
getViewer
public org.eclipse.jface.viewers.Viewer getViewer()
- Description copied from interface:
org.eclipse.debug.ui.IDebugView - Returns the viewer contained in this debug view.
- Specified by:
getViewerin interfaceorg.eclipse.debug.ui.IDebugView
getLaunchManager
protected org.eclipse.debug.core.ILaunchManager getLaunchManager()
setAutoSelect
public void setAutoSelect(boolean select)
- Sets whether to automatically select configs that are
added into the view (newly created).
isAutoSelect
protected boolean isAutoSelect()
- Returns whether this view is currently configured to
automatically select newly created configs that are
added into the view.
|
|||||||||
| Home >> All >> org >> eclipse >> debug >> internal >> ui >> [ launchConfigurations overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC