|
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.WorkingDirectoryBlock
public class WorkingDirectoryBlock
TODO: NEEDS TO BE DOCUMENTED
| Nested Class Summary | |
|---|---|
protected class |
WorkingDirectoryBlock.WidgetListener
|
| Field Summary | |
|---|---|
protected org.eclipse.debug.core.ILaunchConfiguration |
launchConfiguration
|
protected WorkingDirectoryBlock.WidgetListener |
listener
|
protected org.eclipse.swt.widgets.Button |
useDefaultWorkingDirButton
|
protected org.eclipse.swt.widgets.Button |
workingDirBrowseButton
|
protected org.eclipse.swt.widgets.Text |
workingDirText
|
| Fields inherited from class org.eclipse.ptp.launch.ui.LaunchConfigurationTab |
|---|
DEFAULT_VALUE, EMPTY_STRING |
| Constructor Summary | |
|---|---|
WorkingDirectoryBlock()
|
|
| Method Summary | |
|---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
org.eclipse.debug.core.ILaunchConfiguration |
getLaunchConfiguration()
|
String |
getName()
|
protected void |
handleUseDefaultWorkingDirButtonSelected()
The default working dir check box has been toggled. |
protected void |
handleWorkingDirBrowseButtonSelected()
Show a dialog that lets the user select a working directory |
void |
initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
|
protected boolean |
isDefaultWorkingDirectory()
Returns whether the default working directory is to be used |
boolean |
isValid(org.eclipse.debug.core.ILaunchConfiguration configuration)
|
void |
performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
|
void |
setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
Defaults are empty. |
protected void |
setDefaultWorkingDir(org.eclipse.debug.core.ILaunchConfiguration configuration)
Sets the default working directory |
void |
setLaunchConfiguration(org.eclipse.debug.core.ILaunchConfiguration launchConfiguration)
Cache the launch configuration |
void |
setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog)
|
protected void |
updateLaunchConfigurationDialog()
|
| Methods inherited from class org.eclipse.ptp.launch.ui.LaunchConfigurationTab |
|---|
createGridLayout, getContainer, getFieldContent, getPlatform, getProject, getResource, getResourceManager, getWorkspaceRoot, spanGridData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.eclipse.swt.widgets.Button useDefaultWorkingDirButton
protected org.eclipse.swt.widgets.Text workingDirText
protected org.eclipse.swt.widgets.Button workingDirBrowseButton
protected org.eclipse.debug.core.ILaunchConfiguration launchConfiguration
protected WorkingDirectoryBlock.WidgetListener listener
| Constructor Detail |
|---|
public WorkingDirectoryBlock()
| Method Detail |
|---|
public void createControl(org.eclipse.swt.widgets.Composite parent)
ILaunchConfigurationTab#createControl(Composite)public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
ILaunchConfigurationTab#setDefaults(ILaunchConfigurationWorkingCopy)public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
initializeFrom in class LaunchConfigurationTabILaunchConfigurationTab#initializeFrom(ILaunchConfiguration)public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
ILaunchConfigurationTab#performApply(ILaunchConfigurationWorkingCopy)public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration configuration)
public String getName()
ILaunchConfigurationTab#getName()public void setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog)
ILaunchConfigurationTab#setLaunchConfigurationDialog(ILaunchConfigurationDialog)protected void updateLaunchConfigurationDialog()
org.eclipse.debug.ui.AbstractLaunchConfigurationTab#updateLaunchConfigurationDialog()protected boolean isDefaultWorkingDirectory()
protected void setDefaultWorkingDir(org.eclipse.debug.core.ILaunchConfiguration configuration)
protected void handleUseDefaultWorkingDirButtonSelected()
protected void handleWorkingDirBrowseButtonSelected()
public org.eclipse.debug.core.ILaunchConfiguration getLaunchConfiguration()
getLaunchConfiguration in class LaunchConfigurationTabpublic void setLaunchConfiguration(org.eclipse.debug.core.ILaunchConfiguration launchConfiguration)
LaunchConfigurationTab
setLaunchConfiguration in class LaunchConfigurationTablaunchConfiguration - The launchConfiguration to set.
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||