public class JavaDependenciesTab extends JavaClasspathTab
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 ILaunchConfiguration |
fLaunchConfiguration
The last launch config this tab was initialized from
|
fClasspathViewer
Constructor and Description |
---|
JavaDependenciesTab()
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
OkToLeaveTab, postApply
protected static final String DIALOG_SETTINGS_PREFIX
protected ILaunchConfiguration fLaunchConfiguration
public void createControl(Composite parent)
createControl
in interface ILaunchConfigurationTab
createControl
in class JavaClasspathTab
protected void createPathButtons(Composite pathButtonComp)
createPathButtons
in class JavaClasspathTab
pathButtonComp
- composite buttons are contained inprotected Button createButton(Composite pathButtonComp, org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action)
createButton
in class JavaClasspathTab
pathButtonComp
- parent composite for the buttonaction
- the action triggered by the buttonpublic void setDefaults(ILaunchConfigurationWorkingCopy configuration)
setDefaults
in interface ILaunchConfigurationTab
setDefaults
in class JavaClasspathTab
public void initializeFrom(ILaunchConfiguration configuration)
initializeFrom
in interface ILaunchConfigurationTab
initializeFrom
in class JavaClasspathTab
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
activated
in interface ILaunchConfigurationTab
activated
in class JavaClasspathTab
public void performApply(ILaunchConfigurationWorkingCopy configuration)
performApply
in interface ILaunchConfigurationTab
performApply
in class JavaClasspathTab
public String getName()
getName
in interface ILaunchConfigurationTab
getName
in class JavaClasspathTab
public String getId()
getId
in class JavaClasspathTab
AbstractLaunchConfigurationTab.getId()
public static Image getClasspathImage()
null
if nonenull
if noneILaunchConfigurationTab.getImage()
public ILaunchConfiguration getLaunchConfiguration()
getLaunchConfiguration
in class JavaClasspathTab
ILaunchConfiguration
public void dispose()
dispose
in interface ILaunchConfigurationTab
dispose
in class JavaClasspathTab
public Image getImage()
getImage
in interface ILaunchConfigurationTab
getImage
in class JavaClasspathTab
public boolean isValid(ILaunchConfiguration launchConfig)
isValid
in interface ILaunchConfigurationTab
isValid
in class JavaClasspathTab
public boolean isShowBootpath()
isShowBootpath
in class JavaClasspathTab
protected org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModel getModel()
getModel
in class JavaClasspathTab
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.