Eclipse JDT
2.1

org.eclipse.jdt.debug.ui.launchConfigurations
Class JavaArgumentsTab

java.lang.Object
  |
  +--org.eclipse.debug.ui.AbstractLaunchConfigurationTab
        |
        +--org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab
              |
              +--org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab
All Implemented Interfaces:
org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener, ILaunchConfigurationTab
Direct Known Subclasses:
AppletArgumentsTab

public class JavaArgumentsTab
extends org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab

A launch configuration tab that displays and edits program arguments, VM arguments, and working directory launch configuration attributes.

This class may be instantiated. This class is not intended to be subclassed.

Since:
2.0

Field Summary
protected static String EMPTY_STRING
           
protected  Label fPrgmArgumentsLabel
           
protected  Text fPrgmArgumentsText
           
protected  org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock fVMArgumentsBlock
           
protected  org.eclipse.jdt.internal.debug.ui.launcher.WorkingDirectoryBlock fWorkingDirectoryBlock
           
 
Constructor Summary
JavaArgumentsTab()
           
 
Method Summary
 void createControl(Composite parent)
           
protected  org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock createVMArgsBlock()
           
protected  org.eclipse.jdt.internal.debug.ui.launcher.WorkingDirectoryBlock createWorkingDirBlock()
           
 void dispose()
           
protected  String getAttributeValueFrom(Text text)
          Retuns the string in the text widget, or null if empty.
 String getErrorMessage()
           
 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)
           
 
Methods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab
entriesChanged, getContext, initializeJavaProject
 
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, createPushButton, createRadioButton, createVerticalSpacer, getControl, getLaunchConfigurationDialog, getLaunchManager, getShell, isDirty, launched, setAttribute, setControl, setDirty, setErrorMessage, setMessage, updateLaunchConfigurationDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fPrgmArgumentsLabel

protected Label fPrgmArgumentsLabel

fPrgmArgumentsText

protected Text fPrgmArgumentsText

fVMArgumentsBlock

protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock fVMArgumentsBlock

fWorkingDirectoryBlock

protected org.eclipse.jdt.internal.debug.ui.launcher.WorkingDirectoryBlock fWorkingDirectoryBlock

EMPTY_STRING

protected static final String EMPTY_STRING
Constructor Detail

JavaArgumentsTab

public JavaArgumentsTab()
Method Detail

createVMArgsBlock

protected org.eclipse.jdt.internal.debug.ui.launcher.VMArgumentsBlock createVMArgsBlock()

createWorkingDirBlock

protected org.eclipse.jdt.internal.debug.ui.launcher.WorkingDirectoryBlock createWorkingDirBlock()

createControl

public void createControl(Composite parent)
Overrides:
createControl in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.createControl(Composite)

setHelpContextId

protected void setHelpContextId()
Set the help context id for this launch config tab. Subclasses may override this method.

dispose

public void dispose()
Overrides:
dispose in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.dispose()

isValid

public boolean isValid(ILaunchConfiguration config)
Overrides:
isValid in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.isValid(ILaunchConfiguration)

setDefaults

public void setDefaults(ILaunchConfigurationWorkingCopy config)
Defaults are empty.
Overrides:
setDefaults in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)

initializeFrom

public void initializeFrom(ILaunchConfiguration configuration)
Overrides:
initializeFrom in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)

performApply

public void performApply(ILaunchConfigurationWorkingCopy configuration)
Overrides:
performApply in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)

getAttributeValueFrom

protected String getAttributeValueFrom(Text text)
Retuns the string in the text widget, or null if empty.
Returns:
text or null

getName

public String getName()
Overrides:
getName in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.getName()

setLaunchConfigurationDialog

public void setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog)
Overrides:
setLaunchConfigurationDialog in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.setLaunchConfigurationDialog(ILaunchConfigurationDialog)

getErrorMessage

public String getErrorMessage()
Overrides:
getErrorMessage in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.getErrorMessage()

getMessage

public String getMessage()
Overrides:
getMessage in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.getMessage()

getImage

public Image getImage()
Overrides:
getImage in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.getImage()

Eclipse JDT
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.