|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAbstractLaunchConfigurationTab
org.eclipse.ptp.launch.ui.LaunchConfigurationTab
org.eclipse.ptp.launch.ui.ApplicationTab
public class ApplicationTab
The Main tab is used to specify the resource manager for the launch, select the project and executable to launch, and specify the location of the executable if it is a remote launch.
| Nested Class Summary | |
|---|---|
protected class |
ApplicationTab.WidgetListener
|
| Field Summary | |
|---|---|
protected org.eclipse.swt.widgets.Button |
appButton
|
protected org.eclipse.swt.widgets.Text |
appText
|
protected org.eclipse.swt.widgets.Button |
browseAppButton
|
protected boolean |
combinedOutputDefault
|
protected org.eclipse.swt.widgets.Button |
consoleButton
|
protected ApplicationTab.WidgetListener |
listener
|
protected org.eclipse.swt.widgets.Button |
localAppButton
|
protected org.eclipse.swt.widgets.Text |
localAppText
|
protected org.eclipse.swt.widgets.Button |
projButton
|
protected org.eclipse.swt.widgets.Text |
projText
|
static String |
TAB_ID
|
| Fields inherited from class org.eclipse.ptp.launch.ui.LaunchConfigurationTab |
|---|
DEFAULT_VALUE, EMPTY_STRING |
| Constructor Summary | |
|---|---|
ApplicationTab()
|
|
| Method Summary | |
|---|---|
protected org.eclipse.core.resources.IResource |
chooseFile()
Create a dialog that allows the user to select a file in the current project. |
protected org.eclipse.core.resources.IProject |
chooseProject()
Create a dialog that allows the user to choose a project. |
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
protected org.eclipse.core.resources.IProject |
getDefaultProject(org.eclipse.debug.core.ILaunchConfiguration configuration)
Get a default project. |
String |
getId()
|
org.eclipse.swt.graphics.Image |
getImage()
|
String |
getName()
|
protected org.eclipse.core.resources.IProject |
getProject()
Get the IProject the corresponds to the project name that is displayed in the projText control |
protected void |
handleApplicationButtonSelected()
Allow the user to choose the application to execute Initial path does not work on MacOS X: see bug #153365 |
protected void |
handleBrowseLocalApplicationButtonSelected()
|
protected void |
handleLocalApplicationButtonSelected()
Disables copy of executable from local machine. |
protected void |
handleProjectButtonSelected()
Allow the user to choose a project |
void |
initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
|
boolean |
isValid(org.eclipse.debug.core.ILaunchConfiguration config)
|
void |
performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
|
void |
setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
|
void |
setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog)
|
protected void |
updateLaunchConfigurationDialog()
|
| Methods inherited from class org.eclipse.ptp.launch.ui.LaunchConfigurationTab |
|---|
createGridLayout, getContainer, getFieldContent, getLaunchConfiguration, getPlatform, getProject, getResource, getResourceManager, getWorkspaceRoot, setLaunchConfiguration, spanGridData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TAB_ID
protected org.eclipse.swt.widgets.Text projText
protected org.eclipse.swt.widgets.Text appText
protected org.eclipse.swt.widgets.Text localAppText
protected org.eclipse.swt.widgets.Button projButton
protected org.eclipse.swt.widgets.Button appButton
protected org.eclipse.swt.widgets.Button browseAppButton
protected org.eclipse.swt.widgets.Button localAppButton
protected org.eclipse.swt.widgets.Button consoleButton
protected ApplicationTab.WidgetListener listener
protected final boolean combinedOutputDefault
| Constructor Detail |
|---|
public ApplicationTab()
| Method Detail |
|---|
public void createControl(org.eclipse.swt.widgets.Composite parent)
public String getId()
public org.eclipse.swt.graphics.Image getImage()
public String getName()
public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
initializeFrom in class LaunchConfigurationTabpublic boolean isValid(org.eclipse.debug.core.ILaunchConfiguration config)
public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
public void setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog)
protected org.eclipse.core.resources.IResource chooseFile()
protected org.eclipse.core.resources.IProject chooseProject()
protected org.eclipse.core.resources.IProject getDefaultProject(org.eclipse.debug.core.ILaunchConfiguration configuration)
configuration -
protected org.eclipse.core.resources.IProject getProject()
protected void handleApplicationButtonSelected()
protected void handleBrowseLocalApplicationButtonSelected()
protected void handleLocalApplicationButtonSelected()
protected void handleProjectButtonSelected()
protected void updateLaunchConfigurationDialog()
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||