Eclipse Platform
2.0

org.eclipse.debug.ui
Interface ILaunchConfigurationDialog

All Superinterfaces:
IRunnableContext

public interface ILaunchConfigurationDialog
extends IRunnableContext

A launch configuration dialog is used to edit and launch launch configurations. It contains a launch configuration tab group.

Since:
2.0
See Also:
ILaunchConfigurationTabGroup, ILaunchConfigurationTab

Field Summary
static int LAUNCHED_BEFORE_OPENING
          Return value from open() method of a launch configuration dialog when a launch completed successfully with a single click (i.e.
 
Method Summary
 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 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.
 
Methods inherited from interface org.eclipse.jface.operation.IRunnableContext
run
 

Field Detail

LAUNCHED_BEFORE_OPENING

public static final int LAUNCHED_BEFORE_OPENING
Return value from open() method of a launch configuration dialog when a launch completed successfully with a single click (i.e. without opening a launch configuration dialog).

See Also:
Constant Field Values
Method Detail

updateButtons

public void updateButtons()
Adjusts the enable state of this dialog's buttons to reflect the state of the active tab group.

This may be called by to force a button state update.


updateMessage

public 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.

This method may be called to force a message update.


setName

public void setName(String name)
Sets the contents of the name field to the given name.

Parameters:
name - new name value

generateName

public String generateName(String name)
Returns a unique launch configuration name, using the given name as a seed.

Parameters:
name - seed from which to generate a new unique name

getTabs

public ILaunchConfigurationTab[] getTabs()
Returns the tabs currently being displayed, or null if none.

Returns:
currently displayed tabs, or null

getActiveTab

public ILaunchConfigurationTab getActiveTab()
Returns the currently active ILaunchConfigurationTab being displayed, or null if there is none.

Returns:
currently active ILaunchConfigurationTab, or null.

getMode

public String getMode()
Returns the mode in which this dialog was opened - run or debug.

Returns:
one of RUN_MODE or DEBUG_MODE defined in ILaunchManager
See Also:
ILaunchManager

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.