public interface ILaunchConfigurationDialog extends IRunnableContext
ILaunchConfigurationTabGroup
,
ILaunchConfigurationTab
Modifier and Type | Field and Description |
---|---|
static int |
LAUNCHED_BEFORE_OPENING
Deprecated.
the launch dialog no longer supports launching without
opening - this constant will never be returned by the dialog
|
Modifier and Type | Method and Description |
---|---|
String |
generateName(String name)
Returns a unique launch configuration name, using the given name
as a seed.
|
ILaunchConfigurationTab |
getActiveTab()
Returns the currently active
ILaunchConfigurationTab
being displayed, or null if there is none. |
String |
getMode()
Returns the mode in which this dialog was opened -
run or debug.
|
ILaunchConfigurationTab[] |
getTabs()
Returns the tabs currently being displayed, or
null if none. |
void |
setActiveTab(ILaunchConfigurationTab tab)
Sets the displayed tab to the given tab.
|
void |
setActiveTab(int index)
Sets the displayed tab to the tab with the given index.
|
void |
setName(String name)
Sets the contents of the name field to the given name.
|
void |
updateButtons()
Adjusts the enable state of this dialog's buttons
to reflect the state of the active tab group.
|
void |
updateMessage()
Updates the message (or error message) shown in the message line to
reflect the state of the currently active tab in this launch
configuration dialog.
|
run
@Deprecated static final int LAUNCHED_BEFORE_OPENING
open()
method of a
launch configuration dialog when a launch completed
successfully with a single click (without opening a
launch configuration dialog).void updateButtons()
This may be called by to force a button state update.
void updateMessage()
This method may be called to force a message update.
void setName(String name)
name
- new name valueString generateName(String name)
name
- seed from which to generate a new unique nameILaunchConfigurationTab[] getTabs()
null
if none.null
ILaunchConfigurationTab getActiveTab()
ILaunchConfigurationTab
being displayed, or null
if there is none.ILaunchConfigurationTab
, or null
.String getMode()
RUN_MODE
or DEBUG_MODE
defined in ILaunchManager
ILaunchManager
void setActiveTab(ILaunchConfigurationTab tab)
tab
- the tab to display/activatevoid setActiveTab(int index)
getTabs()
.index
- the index of the tab to display
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.