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) |
entriesChangedgetContext, getCurrentLaunchConfiguration, initializeJavaProjectcanSave, 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, updateLaunchConfigurationDialogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitOkToLeaveTab, postApplyprotected static final String DIALOG_SETTINGS_PREFIX
protected ILaunchConfiguration fLaunchConfiguration
public void createControl(Composite parent)
createControl in interface ILaunchConfigurationTabcreateControl in class JavaClasspathTabprotected void createPathButtons(Composite pathButtonComp)
createPathButtons in class JavaClasspathTabpathButtonComp - composite buttons are contained inprotected Button createButton(Composite pathButtonComp, org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action)
createButton in class JavaClasspathTabpathButtonComp - parent composite for the buttonaction - the action triggered by the buttonpublic void setDefaults(ILaunchConfigurationWorkingCopy configuration)
setDefaults in interface ILaunchConfigurationTabsetDefaults in class JavaClasspathTabpublic void initializeFrom(ILaunchConfiguration configuration)
initializeFrom in interface ILaunchConfigurationTabinitializeFrom in class JavaClasspathTabpublic void activated(ILaunchConfigurationWorkingCopy workingCopy)
activated in interface ILaunchConfigurationTabactivated in class JavaClasspathTabpublic void performApply(ILaunchConfigurationWorkingCopy configuration)
performApply in interface ILaunchConfigurationTabperformApply in class JavaClasspathTabpublic String getName()
getName in interface ILaunchConfigurationTabgetName in class JavaClasspathTabpublic String getId()
getId in class JavaClasspathTabAbstractLaunchConfigurationTab.getId()public static Image getClasspathImage()
null if nonenull if noneILaunchConfigurationTab.getImage()public ILaunchConfiguration getLaunchConfiguration()
getLaunchConfiguration in class JavaClasspathTabILaunchConfigurationpublic void dispose()
dispose in interface ILaunchConfigurationTabdispose in class JavaClasspathTabpublic Image getImage()
getImage in interface ILaunchConfigurationTabgetImage in class JavaClasspathTabpublic boolean isValid(ILaunchConfiguration launchConfig)
isValid in interface ILaunchConfigurationTabisValid in class JavaClasspathTabpublic boolean isShowBootpath()
isShowBootpath in class JavaClasspathTabprotected 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.