public class JavaMainTab
extends org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTab
This class may be instantiated. This class is not intended to be subclassed.
| 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) |
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, updateMainTypeFromConfigcreateProjectEditor, getDefaultListener, getJavaProject, getWorkspaceRoot, handleProjectButtonSelected, mapResourcesgetContext, getCurrentLaunchConfiguration, initializeJavaProjectactivated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createVerticalSpacer, deactivated, dispose, getControl, getErrorMessage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, launched, setAttribute, setControl, setDirty, setErrorMessage, setLaunchConfigurationDialog, setMessage, updateLaunchConfigurationDialogpublic static final String ATTR_INCLUDE_EXTERNAL_JARS
false.public static final String ATTR_CONSIDER_INHERITED_MAIN
false.public void createControl(Composite parent)
public Image getImage()
getImage in interface ILaunchConfigurationTabgetImage in class AbstractLaunchConfigurationTabpublic String getName()
protected void handleSearchButtonSelected()
handleSearchButtonSelected in class org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTabpublic void initializeFrom(ILaunchConfiguration config)
initializeFrom in interface ILaunchConfigurationTabinitializeFrom in class org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaMainTabpublic boolean isValid(ILaunchConfiguration config)
isValid in interface ILaunchConfigurationTabisValid in class AbstractLaunchConfigurationTabpublic void performApply(ILaunchConfigurationWorkingCopy config)
public void setDefaults(ILaunchConfigurationWorkingCopy config)
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.