|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.debug.ui.AbstractLaunchConfigurationTab
org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaMainTab
org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTab
org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab
public class JavaMainTab
A launch configuration tab that displays and edits project and main type name launch configuration attributes.
This class may be instantiated.
Field Summary | |
---|---|
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. |
Fields inherited from class org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTab |
---|
fMainText |
Fields inherited from class org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaMainTab |
---|
EMPTY_STRING, fProjText |
Constructor Summary | |
---|---|
JavaMainTab()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.SharedJavaMainTab |
---|
createMainTypeEditor, initializeMainTypeAndName, updateMainTypeFromConfig |
Methods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaMainTab |
---|
createProjectEditor, getDefaultListener, getJavaProject, getWorkspaceRoot, handleProjectButtonSelected, mapResources |
Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab |
---|
getContext, getCurrentLaunchConfiguration, initializeJavaProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ATTR_INCLUDE_EXTERNAL_JARS
false
.
public static final String ATTR_CONSIDER_INHERITED_MAIN
false
.
Constructor Detail |
---|
public JavaMainTab()
Method Detail |
---|
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)
|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.