public class JavaArgumentsTab extends JavaLaunchTab
This class may be instantiated.
Modifier and Type | Field and Description |
---|---|
protected static String |
EMPTY_STRING |
protected Label |
fPrgmArgumentsLabel |
protected Text |
fPrgmArgumentsText |
protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock |
fVMArgumentsBlock |
protected WorkingDirectoryBlock |
fWorkingDirectoryBlock |
Constructor and Description |
---|
JavaArgumentsTab() |
Modifier and Type | Method and Description |
---|---|
void |
activated(ILaunchConfigurationWorkingCopy workingCopy) |
void |
createControl(Composite parent) |
protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock |
createVMArgsBlock() |
protected WorkingDirectoryBlock |
createWorkingDirBlock()
Creates a control to specify a working directory.
|
void |
deactivated(ILaunchConfigurationWorkingCopy workingCopy) |
void |
dispose() |
protected String |
getAttributeValueFrom(Text text)
Returns the string in the text widget, or
null if empty. |
String |
getErrorMessage() |
String |
getId() |
Image |
getImage() |
String |
getMessage() |
String |
getName() |
void |
initializeFrom(ILaunchConfiguration configuration) |
boolean |
isValid(ILaunchConfiguration config) |
void |
performApply(ILaunchConfigurationWorkingCopy configuration) |
void |
setDefaults(ILaunchConfigurationWorkingCopy config)
Defaults are empty.
|
protected void |
setHelpContextId()
Set the help context id for this launch config tab.
|
void |
setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog) |
getContext, getCurrentLaunchConfiguration, initializeJavaProject
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, getControl, getHelpContextId, getLaunchConfigurationDialog, getLaunchManager, getShell, getUpdateJobDelay, getWarningMessage, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setMessage, setWarningMessage, updateLaunchConfigurationDialog
protected Label fPrgmArgumentsLabel
protected Text fPrgmArgumentsText
protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock fVMArgumentsBlock
protected WorkingDirectoryBlock fWorkingDirectoryBlock
protected static final String EMPTY_STRING
protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock createVMArgsBlock()
protected WorkingDirectoryBlock createWorkingDirBlock()
WorkingDirectoryBlock
public void createControl(Composite parent)
protected void setHelpContextId()
public void dispose()
dispose
in interface ILaunchConfigurationTab
dispose
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.dispose()
public boolean isValid(ILaunchConfiguration config)
isValid
in interface ILaunchConfigurationTab
isValid
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.isValid(ILaunchConfiguration)
public void setDefaults(ILaunchConfigurationWorkingCopy config)
public void initializeFrom(ILaunchConfiguration configuration)
initializeFrom
in interface ILaunchConfigurationTab
initializeFrom
in class JavaLaunchTab
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)
public void performApply(ILaunchConfigurationWorkingCopy configuration)
protected String getAttributeValueFrom(Text text)
null
if empty.text
- the widget to get the value fromnull
public String getName()
ILaunchConfigurationTab.getName()
public void setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog)
setLaunchConfigurationDialog
in interface ILaunchConfigurationTab
setLaunchConfigurationDialog
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.setLaunchConfigurationDialog(ILaunchConfigurationDialog)
public String getErrorMessage()
getErrorMessage
in interface ILaunchConfigurationTab
getErrorMessage
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.getErrorMessage()
public String getMessage()
getMessage
in interface ILaunchConfigurationTab
getMessage
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.getMessage()
public Image getImage()
getImage
in interface ILaunchConfigurationTab
getImage
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.getImage()
public String getId()
getId
in class AbstractLaunchConfigurationTab
AbstractLaunchConfigurationTab.getId()
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
activated
in interface ILaunchConfigurationTab
activated
in class AbstractLaunchConfigurationTab
public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
deactivated
in interface ILaunchConfigurationTab
deactivated
in class AbstractLaunchConfigurationTab
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.