public class JavaMainTab
extends org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTab
This class may be instantiated.
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_CONSIDER_INHERITED_MAIN
Boolean launch configuration attribute indicating whether types inheriting
a main method should be considered when searching for a main type.
|
static 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 and Description |
---|
JavaMainTab() |
Modifier and Type | Method and Description |
---|---|
void |
createControl(Composite parent) |
protected void |
createMainTypeExtensions(Composite parent)
This method allows the group for main type to be extended with custom controls.
|
String |
getId() |
Image |
getImage() |
String |
getName() |
protected void |
handleSearchButtonSelected()
Show a dialog that lists all main types
|
void |
initializeFrom(ILaunchConfiguration config) |
boolean |
isValid(ILaunchConfiguration config) |
void |
performApply(ILaunchConfigurationWorkingCopy config) |
void |
setDefaults(ILaunchConfigurationWorkingCopy config) |
createMainTypeEditor, initializeMainTypeAndName, updateMainTypeFromConfig
createProjectEditor, getDefaultListener, getJavaProject, getWorkspaceRoot, handleProjectButtonSelected, mapResources
getContext, getCurrentLaunchConfiguration, initializeJavaProject
activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, dispose, getControl, getErrorMessage, getHelpContextId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
public static final String ATTR_INCLUDE_EXTERNAL_JARS
false
.public static final String ATTR_CONSIDER_INHERITED_MAIN
false
.public void createControl(Composite parent)
protected void createMainTypeExtensions(Composite parent)
org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTab
createMainTypeExtensions
in class org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTab
parent
- the parent to add toSharedJavaMainTab.createMainTypeExtensions(org.eclipse.swt.widgets.Composite)
public Image getImage()
getImage
in interface ILaunchConfigurationTab
getImage
in class AbstractLaunchConfigurationTab
public String getName()
public String getId()
getId
in class AbstractLaunchConfigurationTab
AbstractLaunchConfigurationTab.getId()
protected void handleSearchButtonSelected()
handleSearchButtonSelected
in class org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTab
public void initializeFrom(ILaunchConfiguration config)
initializeFrom
in interface ILaunchConfigurationTab
initializeFrom
in class org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaMainTab
public boolean isValid(ILaunchConfiguration config)
isValid
in interface ILaunchConfigurationTab
isValid
in class AbstractLaunchConfigurationTab
public void performApply(ILaunchConfigurationWorkingCopy config)
public void setDefaults(ILaunchConfigurationWorkingCopy config)
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.