Class JavaArgumentsTab
java.lang.Object
org.eclipse.debug.ui.AbstractLaunchConfigurationTab
org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider
,ILaunchConfigurationTab
,ILaunchConfigurationTab2
- Direct Known Subclasses:
AppletArgumentsTab
A launch configuration tab that displays and edits program arguments,
VM arguments, and working directory launch configuration attributes.
This class may be instantiated.
- Since:
- 2.0
- Restriction:
- This class is not intended to be sub-classed by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected Label
protected Text
protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock
protected WorkingDirectoryBlock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
activated
(ILaunchConfigurationWorkingCopy workingCopy) void
createControl
(Composite parent) protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock
protected WorkingDirectoryBlock
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, ornull
if empty.getId()
getImage()
getName()
protected void
void
initializeFrom
(ILaunchConfiguration configuration) boolean
isValid
(ILaunchConfiguration config) void
performApply
(ILaunchConfigurationWorkingCopy configuration) void
Defaults are empty.protected void
Set the help context id for this launch config tab.void
Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
getContext, getCurrentLaunchConfiguration, initializeJavaProject
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getHelpContextId, getLaunchConfigurationDialog, getLaunchManager, getShell, getUpdateJobDelay, getWarningMessage, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setMessage, setWarningMessage, updateLaunchConfigurationDialog
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTab
OkToLeaveTab, postApply
-
Field Details
-
fPrgmArgumentsLabel
-
fPrgmArgumentsText
-
fVMArgumentsBlock
protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock fVMArgumentsBlock -
fWorkingDirectoryBlock
-
EMPTY_STRING
- See Also:
-
-
Constructor Details
-
JavaArgumentsTab
public JavaArgumentsTab()
-
-
Method Details
-
createVMArgsBlock
protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock createVMArgsBlock() -
createWorkingDirBlock
Creates a control to specify a working directory.- Returns:
- the new
WorkingDirectoryBlock
- Since:
- 3.4
-
createControl
-
setHelpContextId
protected void setHelpContextId()Set the help context id for this launch config tab. Subclasses may override this method. -
dispose
public void dispose()- Specified by:
dispose
in interfaceILaunchConfigurationTab
- Overrides:
dispose
in classAbstractLaunchConfigurationTab
- See Also:
-
isValid
- Specified by:
isValid
in interfaceILaunchConfigurationTab
- Overrides:
isValid
in classAbstractLaunchConfigurationTab
- See Also:
-
setDefaults
Defaults are empty. -
initializeFrom
- Specified by:
initializeFrom
in interfaceILaunchConfigurationTab
- Overrides:
initializeFrom
in classJavaLaunchTab
- See Also:
-
performApply
-
getAttributeValueFrom
Returns the string in the text widget, ornull
if empty.- Parameters:
text
- the widget to get the value from- Returns:
- text or
null
-
getName
- See Also:
-
setLaunchConfigurationDialog
- Specified by:
setLaunchConfigurationDialog
in interfaceILaunchConfigurationTab
- Overrides:
setLaunchConfigurationDialog
in classAbstractLaunchConfigurationTab
- See Also:
-
getErrorMessage
- Specified by:
getErrorMessage
in interfaceILaunchConfigurationTab
- Overrides:
getErrorMessage
in classAbstractLaunchConfigurationTab
- See Also:
-
getMessage
- Specified by:
getMessage
in interfaceILaunchConfigurationTab
- Overrides:
getMessage
in classAbstractLaunchConfigurationTab
- See Also:
-
getImage
- Specified by:
getImage
in interfaceILaunchConfigurationTab
- Overrides:
getImage
in classAbstractLaunchConfigurationTab
- See Also:
-
getId
- Overrides:
getId
in classAbstractLaunchConfigurationTab
- Since:
- 3.3
- See Also:
-
activated
- Specified by:
activated
in interfaceILaunchConfigurationTab
- Overrides:
activated
in classAbstractLaunchConfigurationTab
-
deactivated
- Specified by:
deactivated
in interfaceILaunchConfigurationTab
- Overrides:
deactivated
in classAbstractLaunchConfigurationTab
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributes
in classJavaLaunchTab
-