public class JavaClasspathTab
extends org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTab
Clients may call AbstractLaunchConfigurationTab.setHelpContextId(String)
on this tab prior to control
creation to alter the default context help associated with this tab.
This class may be instantiated.
Modifier and Type | Field and Description |
---|---|
protected static String |
DIALOG_SETTINGS_PREFIX |
protected org.eclipse.jdt.internal.debug.ui.classpath.RuntimeClasspathViewer |
fClasspathViewer |
protected ILaunchConfiguration |
fLaunchConfiguration
The last launch config this tab was initialized from
|
Constructor and Description |
---|
JavaClasspathTab()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
activated(ILaunchConfigurationWorkingCopy workingCopy) |
protected Button |
createButton(Composite pathButtonComp,
org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action)
Creates a button for the given action.
|
void |
createControl(Composite parent) |
protected void |
createPathButtons(Composite pathButtonComp)
Creates the buttons to manipulate the classpath.
|
void |
dispose() |
static Image |
getClasspathImage()
Returns the image for this tab, or
null if none |
String |
getId() |
Image |
getImage() |
ILaunchConfiguration |
getLaunchConfiguration()
Returns the current launch configuration
|
protected org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModel |
getModel() |
String |
getName() |
void |
initializeFrom(ILaunchConfiguration configuration) |
boolean |
isShowBootpath()
Returns whether the bootpath should be displayed.
|
boolean |
isValid(ILaunchConfiguration launchConfig) |
void |
performApply(ILaunchConfigurationWorkingCopy configuration) |
void |
setDefaults(ILaunchConfigurationWorkingCopy configuration) |
entriesChanged
getContext, getCurrentLaunchConfiguration, initializeJavaProject
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, getControl, getErrorMessage, getHelpContextId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
protected org.eclipse.jdt.internal.debug.ui.classpath.RuntimeClasspathViewer fClasspathViewer
protected static final String DIALOG_SETTINGS_PREFIX
protected ILaunchConfiguration fLaunchConfiguration
public void createControl(Composite parent)
protected void createPathButtons(Composite pathButtonComp)
pathButtonComp
- composite buttons are contained inprotected Button createButton(Composite pathButtonComp, org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action)
pathButtonComp
- parent composite for the buttonaction
- the action triggered by the buttonpublic void setDefaults(ILaunchConfigurationWorkingCopy configuration)
public void initializeFrom(ILaunchConfiguration configuration)
initializeFrom
in interface ILaunchConfigurationTab
initializeFrom
in class JavaLaunchTab
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
activated
in interface ILaunchConfigurationTab
activated
in class AbstractLaunchConfigurationTab
public void performApply(ILaunchConfigurationWorkingCopy configuration)
public String getName()
public String getId()
getId
in class AbstractLaunchConfigurationTab
AbstractLaunchConfigurationTab.getId()
public static Image getClasspathImage()
null
if nonenull
if noneILaunchConfigurationTab.getImage()
public ILaunchConfiguration getLaunchConfiguration()
ILaunchConfiguration
public void dispose()
dispose
in interface ILaunchConfigurationTab
dispose
in class AbstractLaunchConfigurationTab
public Image getImage()
getImage
in interface ILaunchConfigurationTab
getImage
in class AbstractLaunchConfigurationTab
public boolean isValid(ILaunchConfiguration launchConfig)
isValid
in interface ILaunchConfigurationTab
isValid
in class AbstractLaunchConfigurationTab
public boolean isShowBootpath()
protected org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModel getModel()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.