Eclipse PDE
Release 3.2

org.eclipse.pde.ui.launcher
Class MainTab

java.lang.Object
  extended byorg.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended byorg.eclipse.pde.ui.launcher.AbstractLauncherTab
          extended byorg.eclipse.pde.ui.launcher.MainTab
All Implemented Interfaces:
ILaunchConfigurationTab, IPDELauncherConstants
Direct Known Subclasses:
PluginJUnitMainTab

public class MainTab
extends AbstractLauncherTab
implements IPDELauncherConstants

A launch configuration tab that displays and edits the main launching arguments of an Eclipse application.

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

Since:
3.2

Field Summary
protected  org.eclipse.pde.internal.ui.launcher.WorkspaceDataBlock fDataBlock
           
protected  org.eclipse.pde.internal.ui.launcher.JREBlock fJreBlock
           
protected  org.eclipse.pde.internal.ui.launcher.ProgramBlock fProgramBlock
           
 
Fields inherited from interface org.eclipse.pde.ui.launcher.IPDELauncherConstants
APP_TO_TEST, APPLICATION, ASKCLEAR, AUTOMATIC_ADD, AUTOMATIC_VALIDATE, BOOTSTRAP_ENTRIES, CONFIG_CLEAR_AREA, CONFIG_GENERATE_DEFAULT, CONFIG_LOCATION, CONFIG_TEMPLATE_LOCATION, CONFIG_USE_DEFAULT_AREA, DEFAULT_AUTO_START, DEFAULT_START_LEVEL, DEFINED_TARGET, DESELECTED_WORKSPACE_PLUGINS, DOCLEAR, INCLUDE_OPTIONAL, LOCATION, PRODUCT, PRODUCT_FILE, SELECTED_TARGET_PLUGINS, SELECTED_WORKSPACE_PLUGINS, TARGET_BUNDLES, TRACING, TRACING_CHECKED, TRACING_NONE, TRACING_OPTIONS, TRACING_SELECTED_PLUGIN, USE_DEFAULT, USE_PRODUCT, USEFEATURES, VMINSTALL, WORKSPACE_BUNDLES
 
Constructor Summary
MainTab()
           
 
Method Summary
 void createControl(Composite parent)
           
protected  void createProgramBlock()
          Creates the Program To Run group on the tab
 void dispose()
           
 Image getImage()
           
 String getName()
           
 void initializeFrom(ILaunchConfiguration config)
           
 void performApply(ILaunchConfigurationWorkingCopy config)
           
 void setDefaults(ILaunchConfigurationWorkingCopy config)
           
 void validateTab()
          Validates the data entered on the tab.
 
Methods inherited from class org.eclipse.pde.ui.launcher.AbstractLauncherTab
activated, createStartingSpace, deactivated, isValid, updateLaunchConfigurationDialog
 
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createVerticalSpacer, getControl, getErrorMessage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, launched, setAttribute, setControl, setDirty, setErrorMessage, setLaunchConfigurationDialog, setMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fDataBlock

protected org.eclipse.pde.internal.ui.launcher.WorkspaceDataBlock fDataBlock

fProgramBlock

protected org.eclipse.pde.internal.ui.launcher.ProgramBlock fProgramBlock

fJreBlock

protected org.eclipse.pde.internal.ui.launcher.JREBlock fJreBlock
Constructor Detail

MainTab

public MainTab()
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface ILaunchConfigurationTab

createControl

public void createControl(Composite parent)
Specified by:
createControl in interface ILaunchConfigurationTab

initializeFrom

public void initializeFrom(ILaunchConfiguration config)
Specified by:
initializeFrom in interface ILaunchConfigurationTab

setDefaults

public void setDefaults(ILaunchConfigurationWorkingCopy config)
Specified by:
setDefaults in interface ILaunchConfigurationTab

performApply

public void performApply(ILaunchConfigurationWorkingCopy config)
Specified by:
performApply in interface ILaunchConfigurationTab

getName

public String getName()
Specified by:
getName in interface ILaunchConfigurationTab

getImage

public Image getImage()
Specified by:
getImage in interface ILaunchConfigurationTab

createProgramBlock

protected void createProgramBlock()
Creates the Program To Run group on the tab


validateTab

public void validateTab()
Description copied from class: AbstractLauncherTab
Validates the data entered on the tab.

Specified by:
validateTab in class AbstractLauncherTab

Eclipse PDE
Release 3.2

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