Eclipse PDE
Release 3.6

org.eclipse.pde.ui.launcher
Class PluginsTab

java.lang.Object
  extended by org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended by org.eclipse.pde.ui.launcher.AbstractLauncherTab
          extended by org.eclipse.pde.ui.launcher.PluginsTab
All Implemented Interfaces:
ILaunchConfigurationTab

public class PluginsTab
extends AbstractLauncherTab

A launch configuration tab that displays the different self-hosting modes, and lets the user customize the list of plug-ins to launch with.

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

Since:
3.2
Restriction:
This class is not intended to be subclassed by clients.

Constructor Summary
PluginsTab()
          Constructor.
PluginsTab(boolean showFeatures)
          Deprecated. As of 3.6 the feature-based workspace launch option is no longer available, so there is no need to set this flag
 
Method Summary
 void createControl(Composite parent)
           
 void dispose()
           
 String getId()
           
 Image getImage()
           
 String getName()
           
 void initializeFrom(ILaunchConfiguration configuration)
           
 void performApply(ILaunchConfigurationWorkingCopy configuration)
           
 void setDefaults(ILaunchConfigurationWorkingCopy configuration)
           
 void validateTab()
          Validates the tab.
 
Methods inherited from class org.eclipse.pde.ui.launcher.AbstractLauncherTab
activated, createStartingSpace, deactivated, isValid, scheduleUpdateJob, updateLaunchConfigurationDialog
 
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, getControl, getErrorMessage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, 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
 

Constructor Detail

PluginsTab

public PluginsTab()
Constructor. Equivalent to PluginsTab(true).

See Also:
PluginsTab(boolean)

PluginsTab

public PluginsTab(boolean showFeatures)
Deprecated. As of 3.6 the feature-based workspace launch option is no longer available, so there is no need to set this flag

Constructor

Parameters:
showFeatures - a flag indicating if the tab should present the feature-based self-hosting option.
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface ILaunchConfigurationTab
Overrides:
dispose in class AbstractLaunchConfigurationTab

createControl

public void createControl(Composite parent)

initializeFrom

public void initializeFrom(ILaunchConfiguration configuration)

setDefaults

public void setDefaults(ILaunchConfigurationWorkingCopy configuration)

performApply

public void performApply(ILaunchConfigurationWorkingCopy configuration)

getName

public String getName()

getImage

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

validateTab

public void validateTab()
Validates the tab. If the feature option is chosen, and the workspace is not correctly set up, the error message is set.

Specified by:
validateTab in class AbstractLauncherTab
See Also:
AbstractLauncherTab.validateTab()

getId

public String getId()
Overrides:
getId in class AbstractLaunchConfigurationTab

Eclipse PDE
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.