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 Stringprotected Labelprotected Textprotected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlockprotected WorkingDirectoryBlock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivated(ILaunchConfigurationWorkingCopy workingCopy) voidcreateControl(Composite parent) protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlockprotected WorkingDirectoryBlockCreates a control to specify a working directory.voiddeactivated(ILaunchConfigurationWorkingCopy workingCopy) voiddispose()protected StringgetAttributeValueFrom(Text text) Returns the string in the text widget, ornullif empty.getId()getImage()getName()protected voidvoidinitializeFrom(ILaunchConfiguration configuration) booleanisValid(ILaunchConfiguration config) voidperformApply(ILaunchConfigurationWorkingCopy configuration) voidDefaults are empty.protected voidSet the help context id for this launch config tab.voidMethods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
getContext, getCurrentLaunchConfiguration, initializeJavaProjectMethods 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, updateLaunchConfigurationDialogMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
disposein interfaceILaunchConfigurationTab- Overrides:
disposein classAbstractLaunchConfigurationTab- See Also:
-
isValid
- Specified by:
isValidin interfaceILaunchConfigurationTab- Overrides:
isValidin classAbstractLaunchConfigurationTab- See Also:
-
setDefaults
Defaults are empty. -
initializeFrom
- Specified by:
initializeFromin interfaceILaunchConfigurationTab- Overrides:
initializeFromin classJavaLaunchTab- See Also:
-
performApply
-
getAttributeValueFrom
Returns the string in the text widget, ornullif empty.- Parameters:
text- the widget to get the value from- Returns:
- text or
null
-
getName
- See Also:
-
setLaunchConfigurationDialog
- Specified by:
setLaunchConfigurationDialogin interfaceILaunchConfigurationTab- Overrides:
setLaunchConfigurationDialogin classAbstractLaunchConfigurationTab- See Also:
-
getErrorMessage
- Specified by:
getErrorMessagein interfaceILaunchConfigurationTab- Overrides:
getErrorMessagein classAbstractLaunchConfigurationTab- See Also:
-
getMessage
- Specified by:
getMessagein interfaceILaunchConfigurationTab- Overrides:
getMessagein classAbstractLaunchConfigurationTab- See Also:
-
getImage
- Specified by:
getImagein interfaceILaunchConfigurationTab- Overrides:
getImagein classAbstractLaunchConfigurationTab- See Also:
-
getId
- Overrides:
getIdin classAbstractLaunchConfigurationTab- Since:
- 3.3
- See Also:
-
activated
- Specified by:
activatedin interfaceILaunchConfigurationTab- Overrides:
activatedin classAbstractLaunchConfigurationTab
-
deactivated
- Specified by:
deactivatedin interfaceILaunchConfigurationTab- Overrides:
deactivatedin classAbstractLaunchConfigurationTab
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classJavaLaunchTab
-