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, updateMainTypeFromConfigcreateProjectEditor, getDefaultListener, getJavaProject, getWorkspaceRoot, handleProjectButtonSelected, mapResourcesgetContext, getCurrentLaunchConfiguration, initializeJavaProjectactivated, 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, updateLaunchConfigurationDialogpublic 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.SharedJavaMainTabcreateMainTypeExtensions in class org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTabparent - the parent to add toSharedJavaMainTab.createMainTypeExtensions(org.eclipse.swt.widgets.Composite)public Image getImage()
getImage in interface ILaunchConfigurationTabgetImage in class AbstractLaunchConfigurationTabpublic String getName()
public String getId()
getId in class AbstractLaunchConfigurationTabAbstractLaunchConfigurationTab.getId()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) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.