com.pvx.ooadide.launchers
Class ProvideXMainTab

java.lang.Object
  extended by org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended by com.pvx.ooadide.launchers.ProvideXMainTab
All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchConfigurationTab

public class ProvideXMainTab
extends org.eclipse.debug.ui.AbstractLaunchConfigurationTab

A launch configuration tab that displays and edits project and main type name launch configuration attributes.

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

Since:
2.0

Field Summary
static java.lang.String ATTR_INCLUDE_EXTERNAL_JARS
          Boolean launch configuration attribute indicating that external jars (on the runtime classpath) should be searched when looking for a main type.
 
Constructor Summary
ProvideXMainTab()
           
 
Method Summary
 void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
           
 org.eclipse.swt.graphics.Image getImage()
           
 java.lang.String getName()
           
 void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration config)
           
 boolean isValid(org.eclipse.debug.core.ILaunchConfiguration config)
           
 void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
           
 void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
           
 
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, dispose, getControl, getErrorMessage, getId, getMessage, launched, setLaunchConfigurationDialog
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_INCLUDE_EXTERNAL_JARS

public static final java.lang.String ATTR_INCLUDE_EXTERNAL_JARS
Boolean launch configuration attribute indicating that external jars (on the runtime classpath) should be searched when looking for a main type. Default value is false.

Since:
2.1
Constructor Detail

ProvideXMainTab

public ProvideXMainTab()
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
See Also:
ILaunchConfigurationTab.createControl(Composite)

initializeFrom

public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration config)
See Also:
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)

performApply

public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
See Also:
ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)

isValid

public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration config)
Specified by:
isValid in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
isValid in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.isValid(ILaunchConfiguration)

setDefaults

public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
See Also:
The setDefaults() method is called when a new config is created. This method sets default values for all attributes it understands on the working copy argument. This is done differently depending on the nature of the attributes collected by the tab. The AppletMainTab checks the current workbench selection or active editor to determine default values for the Project & Applet class attributes.

getName

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

getImage

public org.eclipse.swt.graphics.Image getImage()
Specified by:
getImage in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
getImage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.getImage()

activated

public void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
activated in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
activated in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

deactivated

public void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
deactivated in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
deactivated in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab