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, updateMainTypeFromConfig
createProjectEditor, getDefaultListener, getJavaProject, getWorkspaceRoot, handleProjectButtonSelected, mapResources
getContext, getCurrentLaunchConfiguration, initializeJavaProject
activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createVerticalSpacer, deactivated, dispose, getControl, getErrorMessage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, launched, setAttribute, setControl, setDirty, setErrorMessage, setLaunchConfigurationDialog, setMessage, updateLaunchConfigurationDialog
public 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 ILaunchConfigurationTab
getImage
in class AbstractLaunchConfigurationTab
public String getName()
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) IBM Corp. and others 2000, 2006. All Rights Reserved.