public class MainTab extends AbstractLauncherTab implements IPDELauncherConstants
This class may be instantiated. This class is not intended to be subclassed by clients.
Modifier and Type | Field and Description |
---|---|
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 |
ADDITIONAL_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_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_PLUGINS, 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 and Description |
---|
MainTab()
Contructor to create a new main tab
|
Modifier and Type | Method and Description |
---|---|
void |
applyData(Object data)
Applies the given data to this page.
|
void |
createControl(Composite parent) |
protected void |
createJREBlock()
Creates the Java Runtime Environment group on the tab
|
protected void |
createProgramBlock()
Creates the Program To Run group on the tab
|
protected void |
createWorkspaceDataBlock()
Creates the Workspace Data group on the tab
|
void |
dispose() |
String |
getId() |
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.
|
activated, createStartingSpace, deactivated, isValid, scheduleUpdateJob, updateLaunchConfigurationDialog
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, getControl, getErrorMessage, getHelpContextId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, isDirty, launched, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage
protected org.eclipse.pde.internal.ui.launcher.WorkspaceDataBlock fDataBlock
protected org.eclipse.pde.internal.ui.launcher.ProgramBlock fProgramBlock
protected org.eclipse.pde.internal.ui.launcher.JREBlock fJreBlock
public void dispose()
dispose
in interface ILaunchConfigurationTab
dispose
in class AbstractLaunchConfigurationTab
public void createControl(Composite parent)
createControl
in interface ILaunchConfigurationTab
public void applyData(Object data)
data
- the data to applypublic void initializeFrom(ILaunchConfiguration config)
initializeFrom
in interface ILaunchConfigurationTab
public void setDefaults(ILaunchConfigurationWorkingCopy config)
setDefaults
in interface ILaunchConfigurationTab
public void performApply(ILaunchConfigurationWorkingCopy config)
performApply
in interface ILaunchConfigurationTab
public String getName()
getName
in interface ILaunchConfigurationTab
public Image getImage()
getImage
in interface ILaunchConfigurationTab
getImage
in class AbstractLaunchConfigurationTab
protected void createWorkspaceDataBlock()
protected void createProgramBlock()
protected void createJREBlock()
public void validateTab()
AbstractLauncherTab
validateTab
in class AbstractLauncherTab
public String getId()
getId
in class AbstractLaunchConfigurationTab
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.