|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExternalToolsMainTab
com.ibm.etools.systems.launch.ui.remoteexternaltools.RemoteProgramMainTab
The main tab for remote program.
Nested Class Summary | |
---|---|
protected class |
RemoteProgramMainTab.ConnectionsWidgetListener
A listener to update for text modification and widget selection. |
protected class |
RemoteProgramMainTab.ExportSelectionStatusValidator
A class that only allows export description files to be valid. |
Field Summary | |
---|---|
protected SystemConnectionCombo |
connectionCombo
|
protected RemoteProgramMainTab.ConnectionsWidgetListener |
connectionsListener
|
protected Button |
exportButton
|
protected Button |
exportCheckBox
|
protected Text |
exportField
|
protected Label |
exportLabel
|
protected boolean |
isEdited
|
Constructor Summary | |
---|---|
RemoteProgramMainTab()
|
Method Summary | |
---|---|
protected void |
browseExportFile()
|
protected boolean |
contains(String[] extensions,
String extension)
|
protected void |
createArgumentComponent(Composite parent)
Creates the controls needed to edit the argument and prompt for argument attributes of an external tool |
protected void |
createConnectionComponent(Composite parent)
|
void |
createControl(Composite parent)
|
void |
createExportComponent(Composite parent)
|
protected void |
createProgramComponent(Composite parent)
Creates the controls needed to edit the Program or Command attribute of an external tool. |
protected void |
createWorkDirectoryComponent(Composite parent)
Creates the controls needed to edit the working directory attribute of an external tool. |
protected IResource |
findResource(IPath path)
Returns the resource for the specified path. |
SystemConnection |
getCurrentSelectedConnection()
|
protected String |
getExportCheckBoxLabel()
|
protected String |
getExportCheckBoxTooltip()
|
protected String |
getExportFileLocation()
|
protected void |
handleExportCheckBoxChanged()
|
protected void |
handleFileLocationButtonSelected()
|
protected void |
handleFileWorkingDirectoryButtonSelected()
|
protected void |
init()
|
void |
initializeFrom(ILaunchConfiguration configuration)
|
boolean |
isValid(ILaunchConfiguration launchConfig)
|
protected SystemConnection |
parseForConnection(String connection)
|
void |
performApply(ILaunchConfigurationWorkingCopy configuration)
|
protected void |
prefill(ILaunchConfiguration launchConfig)
|
protected void |
setExportWidgetsEnablement(boolean enabled)
Set enablement of project related widgets. |
protected void |
updateConnection(ILaunchConfiguration configuration)
Updates the connection widgets to match the state of the given launch configuration. |
protected void |
updateEnvironmentTab()
|
protected void |
updateExport(ILaunchConfiguration configuration)
|
protected boolean |
validateConnection()
|
protected boolean |
validateExport()
|
protected boolean |
validateLocation(boolean newConfig)
Validates the content of the location field. |
protected boolean |
validateWorkDirectory(boolean newConfig)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SystemConnectionCombo connectionCombo
protected boolean isEdited
protected RemoteProgramMainTab.ConnectionsWidgetListener connectionsListener
protected Button exportCheckBox
protected Label exportLabel
protected Text exportField
protected Button exportButton
Constructor Detail |
public RemoteProgramMainTab()
Method Detail |
public void createControl(Composite parent)
ILaunchConfigurationTab
protected void init()
protected void prefill(ILaunchConfiguration launchConfig)
protected void createArgumentComponent(Composite parent)
parent
- the composite to create the controls inpublic void createExportComponent(Composite parent)
protected void browseExportFile()
protected String getExportFileLocation()
protected String getExportCheckBoxLabel()
protected String getExportCheckBoxTooltip()
protected void handleExportCheckBoxChanged()
protected void setExportWidgetsEnablement(boolean enabled)
protected void createConnectionComponent(Composite parent)
protected void createProgramComponent(Composite parent)
protected void createWorkDirectoryComponent(Composite parent)
parent
- the composite to create the controls inprotected SystemConnection parseForConnection(String connection)
protected void handleFileLocationButtonSelected()
externaltools.internal.launchConfigurations.ExternalToolsMainTab
protected void handleFileWorkingDirectoryButtonSelected()
externaltools.internal.launchConfigurations.ExternalToolsMainTab
protected boolean validateLocation(boolean newConfig)
protected boolean validateWorkDirectory(boolean newConfig)
externaltools.internal.launchConfigurations.ExternalToolsMainTab
protected void updateEnvironmentTab()
public SystemConnection getCurrentSelectedConnection()
public boolean isValid(ILaunchConfiguration launchConfig)
ILaunchConfigurationTab
protected boolean validateConnection()
protected boolean validateExport()
protected boolean contains(String[] extensions, String extension)
protected IResource findResource(IPath path)
path
- the path for which the resource should be returned
null
public void performApply(ILaunchConfigurationWorkingCopy configuration)
ILaunchConfigurationTab
public void initializeFrom(ILaunchConfiguration configuration)
ILaunchConfigurationTab
protected void updateConnection(ILaunchConfiguration configuration)
protected void updateExport(ILaunchConfiguration configuration)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |