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:
org.eclipse.debug.core.IPrototypeAttributesLabelProvider,org.eclipse.debug.ui.ILaunchConfigurationTab,org.eclipse.debug.ui.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 org.eclipse.swt.widgets.Labelprotected org.eclipse.swt.widgets.Textprotected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlockprotected org.eclipse.debug.ui.WorkingDirectoryBlock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy) voidcreateControl(org.eclipse.swt.widgets.Composite parent) protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlockprotected org.eclipse.debug.ui.WorkingDirectoryBlockCreates a control to specify a working directory.voiddeactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy) voiddispose()protected StringgetAttributeValueFrom(org.eclipse.swt.widgets.Text text) Returns the string in the text widget, ornullif empty.getId()org.eclipse.swt.graphics.ImagegetImage()getName()protected voidvoidinitializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) booleanisValid(org.eclipse.debug.core.ILaunchConfiguration config) voidperformApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) voidsetDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config) Defaults are empty.protected voidSet the help context id for this launch config tab.voidsetLaunchConfigurationDialog(org.eclipse.debug.ui.ILaunchConfigurationDialog dialog) Methods 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
protected org.eclipse.swt.widgets.Label fPrgmArgumentsLabel -
fPrgmArgumentsText
protected org.eclipse.swt.widgets.Text fPrgmArgumentsText -
fVMArgumentsBlock
protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock fVMArgumentsBlock -
fWorkingDirectoryBlock
protected org.eclipse.debug.ui.WorkingDirectoryBlock fWorkingDirectoryBlock -
EMPTY_STRING
- See Also:
-
-
Constructor Details
-
JavaArgumentsTab
public JavaArgumentsTab()
-
-
Method Details
-
createVMArgsBlock
protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock createVMArgsBlock() -
createWorkingDirBlock
protected org.eclipse.debug.ui.WorkingDirectoryBlock createWorkingDirBlock()Creates a control to specify a working directory.- Returns:
- the new
WorkingDirectoryBlock - Since:
- 3.4
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent) - See Also:
-
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 interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
disposein classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab- See Also:
-
isValid
public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration config) - Specified by:
isValidin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
isValidin classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab- See Also:
-
setDefaults
public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config) Defaults are empty.- See Also:
-
initializeFrom
public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) - Specified by:
initializeFromin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
initializeFromin classJavaLaunchTab- See Also:
-
performApply
public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) - See Also:
-
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
public void setLaunchConfigurationDialog(org.eclipse.debug.ui.ILaunchConfigurationDialog dialog) - Specified by:
setLaunchConfigurationDialogin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
setLaunchConfigurationDialogin classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab- See Also:
-
getErrorMessage
- Specified by:
getErrorMessagein interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
getErrorMessagein classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab- See Also:
-
getMessage
- Specified by:
getMessagein interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
getMessagein classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab- See Also:
-
getImage
public org.eclipse.swt.graphics.Image getImage()- Specified by:
getImagein interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
getImagein classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab- See Also:
-
getId
- Overrides:
getIdin classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab- Since:
- 3.3
- See Also:
-
activated
public void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy) - Specified by:
activatedin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
activatedin classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
deactivated
public void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy) - Specified by:
deactivatedin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
deactivatedin classorg.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classJavaLaunchTab
-