Class JavaDependenciesTab
- java.lang.Object
-
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
- org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
-
- org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTab
-
- org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
-
- org.eclipse.jdt.debug.ui.launchConfigurations.JavaDependenciesTab
-
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider,ILaunchConfigurationTab,ILaunchConfigurationTab2,org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener
public class JavaDependenciesTab extends JavaClasspathTab
A launch configuration tab that displays and edits the user and bootstrap classes comprising the classpath launch configuration attribute.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.
- Since:
- 3.9
- Restriction:
- This class is not intended to be sub-classed by clients.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDIALOG_SETTINGS_PREFIXprotected ILaunchConfigurationfLaunchConfigurationThe last launch config this tab was initialized from-
Fields inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
fClasspathViewer
-
-
Constructor Summary
Constructors Constructor Description JavaDependenciesTab()Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivated(ILaunchConfigurationWorkingCopy workingCopy)protected ButtoncreateButton(Composite pathButtonComp, org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action)Creates a button for the given action.voidcreateControl(Composite parent)protected voidcreatePathButtons(Composite pathButtonComp)Creates the buttons to manipulate the classpath.voiddispose()static ImagegetClasspathImage()Returns the image for this tab, ornullif noneStringgetId()ImagegetImage()ILaunchConfigurationgetLaunchConfiguration()Returns the current launch configurationprotected org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModelgetModel()StringgetName()voidinitializeFrom(ILaunchConfiguration configuration)booleanisShowBootpath()Returns whether the bootpath should be displayed.booleanisValid(ILaunchConfiguration launchConfig)voidperformApply(ILaunchConfigurationWorkingCopy configuration)voidsetDefaults(ILaunchConfigurationWorkingCopy configuration)-
Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
initializeAttributes
-
Methods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTab
entriesChanged
-
Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
getContext, getCurrentLaunchConfiguration, initializeJavaProject
-
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getErrorMessage, getHelpContextId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTab
OkToLeaveTab, postApply
-
-
-
-
Field Detail
-
DIALOG_SETTINGS_PREFIX
protected static final String DIALOG_SETTINGS_PREFIX
- See Also:
- Constant Field Values
-
fLaunchConfiguration
protected ILaunchConfiguration fLaunchConfiguration
The last launch config this tab was initialized from
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
- Specified by:
createControlin interfaceILaunchConfigurationTab- Overrides:
createControlin classJavaClasspathTab
-
createPathButtons
protected void createPathButtons(Composite pathButtonComp)
Creates the buttons to manipulate the classpath.- Overrides:
createPathButtonsin classJavaClasspathTab- Parameters:
pathButtonComp- composite buttons are contained in- Since:
- 3.0
-
createButton
protected Button createButton(Composite pathButtonComp, org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action)
Creates a button for the given action.- Overrides:
createButtonin classJavaClasspathTab- Parameters:
pathButtonComp- parent composite for the buttonaction- the action triggered by the button- Returns:
- the button that was created
-
setDefaults
public void setDefaults(ILaunchConfigurationWorkingCopy configuration)
- Specified by:
setDefaultsin interfaceILaunchConfigurationTab- Overrides:
setDefaultsin classJavaClasspathTab
-
initializeFrom
public void initializeFrom(ILaunchConfiguration configuration)
- Specified by:
initializeFromin interfaceILaunchConfigurationTab- Overrides:
initializeFromin classJavaClasspathTab
-
activated
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
activatedin interfaceILaunchConfigurationTab- Overrides:
activatedin classJavaClasspathTab
-
performApply
public void performApply(ILaunchConfigurationWorkingCopy configuration)
- Specified by:
performApplyin interfaceILaunchConfigurationTab- Overrides:
performApplyin classJavaClasspathTab
-
getName
public String getName()
- Specified by:
getNamein interfaceILaunchConfigurationTab- Overrides:
getNamein classJavaClasspathTab
-
getId
public String getId()
- Overrides:
getIdin classJavaClasspathTab- Since:
- 3.3
- See Also:
AbstractLaunchConfigurationTab.getId()
-
getClasspathImage
public static Image getClasspathImage()
Returns the image for this tab, ornullif none- Returns:
- the image for this tab, or
nullif none - See Also:
ILaunchConfigurationTab.getImage()
-
getLaunchConfiguration
public ILaunchConfiguration getLaunchConfiguration()
Returns the current launch configuration- Overrides:
getLaunchConfigurationin classJavaClasspathTab- Returns:
- the backing
ILaunchConfiguration
-
dispose
public void dispose()
- Specified by:
disposein interfaceILaunchConfigurationTab- Overrides:
disposein classJavaClasspathTab
-
getImage
public Image getImage()
- Specified by:
getImagein interfaceILaunchConfigurationTab- Overrides:
getImagein classJavaClasspathTab
-
isValid
public boolean isValid(ILaunchConfiguration launchConfig)
- Specified by:
isValidin interfaceILaunchConfigurationTab- Overrides:
isValidin classJavaClasspathTab
-
isShowBootpath
public boolean isShowBootpath()
Returns whether the bootpath should be displayed.- Overrides:
isShowBootpathin classJavaClasspathTab- Returns:
- whether the bootpath should be displayed
- Since:
- 3.0
-
getModel
protected org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModel getModel()
- Overrides:
getModelin classJavaClasspathTab- Returns:
- Returns the classpath model.
-
-