Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

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


java.lang.Object
  extended by 

org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended by 

org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
          extended by 
org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab
All Implemented Interfaces:
ILaunchConfigurationTab
Direct Known Subclasses:
AppletArgumentsTab

public class JavaArgumentsTab
extends JavaLaunchTab

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 subclassed by clients.

Field Summary
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 Summary
JavaArgumentsTab ()
           
 
Method Summary
 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)
           
 
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, 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 
WorkingDirectoryBlock fWorkingDirectoryBlock

EMPTY_STRING

protected static final 
String EMPTY_STRING
See Also:
Constant Field Values
Constructor Detail

JavaArgumentsTab

public JavaArgumentsTab()
Method Detail

createVMArgsBlock

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

createWorkingDirBlock

protected 
WorkingDirectoryBlock createWorkingDirBlock()
Creates a control to specify a working directory.

Since:
3.4

createControl

public void createControl(
Composite parent)
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()
Specified by:
dispose in interface ILaunchConfigurationTab
Overrides:
dispose in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.dispose()

isValid

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

setDefaults

public void setDefaults(
ILaunchConfigurationWorkingCopy config)
Defaults are empty.

See Also:
ILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)

initializeFrom

public void initializeFrom(
ILaunchConfiguration configuration)
Specified by:
initializeFrom in interface ILaunchConfigurationTab
Overrides:
initializeFrom in class JavaLaunchTab
See Also:
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)

performApply

public void performApply(
ILaunchConfigurationWorkingCopy configuration)
See Also:
ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)

getAttributeValueFrom

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

Returns:
text or null

getName

public 
String getName()
See Also:
ILaunchConfigurationTab.getName()

setLaunchConfigurationDialog

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

getErrorMessage

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

getMessage

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

getImage

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

getId

public 
String getId()
Overrides:
getId in class AbstractLaunchConfigurationTab
Since:
3.3
See Also:
AbstractLaunchConfigurationTab.getId()

activated

public void activated(
ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
activated in interface ILaunchConfigurationTab
Overrides:
activated in class AbstractLaunchConfigurationTab

deactivated

public void deactivated(
ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
deactivated in interface ILaunchConfigurationTab
Overrides:
deactivated in class AbstractLaunchConfigurationTab

Eclipse JDT
Release 3.5

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire