Package org.eclipse.pde.ui.launcher
Class MainTab
- java.lang.Object
- 
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
- 
- org.eclipse.pde.ui.launcher.AbstractLauncherTab
- 
- org.eclipse.pde.ui.launcher.MainTab
 
 
 
- 
- All Implemented Interfaces:
- IPrototypeAttributesLabelProvider,- ILaunchConfigurationTab,- ILaunchConfigurationTab2,- IPDELauncherConstants,- IPDELauncherConstants
 - Direct Known Subclasses:
- PluginJUnitMainTab
 
 public class MainTab extends AbstractLauncherTab implements IPDELauncherConstants, 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
- Restriction:
- This class is not intended to be subclassed by clients.
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.eclipse.pde.internal.ui.launcher.WorkspaceDataBlockfDataBlockprotected org.eclipse.pde.internal.ui.launcher.JREBlockfJreBlockprotected org.eclipse.pde.internal.ui.launcher.ProgramBlockfProgramBlock- 
Fields inherited from interface org.eclipse.pde.launching.IPDELauncherConstantsADDITIONAL_PLUGINS, 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_BUNDLES, DESELECTED_WORKSPACE_PLUGINS, DOCLEAR, ECLIPSE_APPLICATION_LAUNCH_CONFIGURATION_TYPE, FEATURE_DEFAULT_LOCATION, FEATURE_PLUGIN_RESOLUTION, GENERATE_PROFILE, INCLUDE_OPTIONAL, LOCATION, LOCATION_DEFAULT, LOCATION_EXTERNAL, LOCATION_WORKSPACE, OSGI_CONFIGURATION_TYPE, OSGI_FRAMEWORK_ID, PRODUCT, PRODUCT_FILE, RUN_IN_UI_THREAD, SELECTED_FEATURES, SELECTED_TARGET_BUNDLES, SELECTED_TARGET_PLUGINS, SELECTED_WORKSPACE_BUNDLES, SELECTED_WORKSPACE_PLUGINS, SHOW_SELECTED_ONLY, TAB_BUNDLES_ID, TAB_CONFIGURATION_ID, TAB_MAIN_ID, TAB_OSGI_SETTINGS_ID, TAB_PLUGIN_JUNIT_MAIN_ID, TAB_PLUGINS_ID, TAB_TEST_ID, TAB_TRACING_ID, TARGET_BUNDLES, TRACING, TRACING_CHECKED, TRACING_NONE, TRACING_OPTIONS, TRACING_SELECTED_PLUGIN, USE_CUSTOM_FEATURES, USE_DEFAULT, USE_PRODUCT, USEFEATURES, VMINSTALL, WORKSPACE_BUNDLES
 
- 
 - 
Constructor SummaryConstructors Constructor Description MainTab()Contructor to create a new main tab
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyData(Object data)Applies the given data to this page.voidcreateControl(Composite parent)protected voidcreateJREBlock()Creates the Java Runtime Environment group on the tabprotected voidcreateProgramBlock()Creates the Program To Run group on the tabprotected voidcreateWorkspaceDataBlock()Creates the Workspace Data group on the tabvoiddispose()StringgetId()ImagegetImage()StringgetName()protected voidinitializeAttributes()voidinitializeFrom(ILaunchConfiguration config)voidperformApply(ILaunchConfigurationWorkingCopy config)voidsetDefaults(ILaunchConfigurationWorkingCopy config)voidvalidateTab()Validates the data entered on the tab.- 
Methods inherited from class org.eclipse.pde.ui.launcher.AbstractLauncherTabactivated, createStartingSpace, deactivated, isValid, scheduleUpdateJob, updateLaunchConfigurationDialog
 - 
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTabcanSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getErrorMessage, getHelpContextId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, isDirty, launched, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTabOkToLeaveTab, postApply
 
- 
 
- 
- 
- 
Method Detail- 
disposepublic void dispose() - Specified by:
- disposein interface- ILaunchConfigurationTab
- Overrides:
- disposein class- AbstractLaunchConfigurationTab
 
 - 
createControlpublic void createControl(Composite parent) - Specified by:
- createControlin interface- ILaunchConfigurationTab
 
 - 
applyDatapublic void applyData(Object data) Applies the given data to this page.- Parameters:
- data- the data to apply
- Since:
- 3.7
- Restriction:
- This method is not intended to be referenced by clients.
 
 - 
initializeFrompublic void initializeFrom(ILaunchConfiguration config) - Specified by:
- initializeFromin interface- ILaunchConfigurationTab
 
 - 
setDefaultspublic void setDefaults(ILaunchConfigurationWorkingCopy config) - Specified by:
- setDefaultsin interface- ILaunchConfigurationTab
 
 - 
performApplypublic void performApply(ILaunchConfigurationWorkingCopy config) - Specified by:
- performApplyin interface- ILaunchConfigurationTab
 
 - 
getNamepublic String getName() - Specified by:
- getNamein interface- ILaunchConfigurationTab
 
 - 
getImagepublic Image getImage() - Specified by:
- getImagein interface- ILaunchConfigurationTab
- Overrides:
- getImagein class- AbstractLaunchConfigurationTab
 
 - 
createWorkspaceDataBlockprotected void createWorkspaceDataBlock() Creates the Workspace Data group on the tab
 - 
createProgramBlockprotected void createProgramBlock() Creates the Program To Run group on the tab
 - 
createJREBlockprotected void createJREBlock() Creates the Java Runtime Environment group on the tab- Since:
- 3.4
 
 - 
validateTabpublic void validateTab() Description copied from class:AbstractLauncherTabValidates the data entered on the tab.- Specified by:
- validateTabin class- AbstractLauncherTab
 
 - 
getIdpublic String getId() - Overrides:
- getIdin class- AbstractLaunchConfigurationTab
 
 - 
initializeAttributesprotected void initializeAttributes() - Overrides:
- initializeAttributesin class- AbstractLaunchConfigurationTab
 
 
- 
 
-