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:
org.eclipse.debug.core.IPrototypeAttributesLabelProvider,org.eclipse.debug.ui.ILaunchConfigurationTab,org.eclipse.debug.ui.ILaunchConfigurationTab2,org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener
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
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected org.eclipse.debug.core.ILaunchConfigurationThe last launch config this tab was initialized fromFields inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
fClasspathViewer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy) protected org.eclipse.swt.widgets.ButtoncreateButton(org.eclipse.swt.widgets.Composite pathButtonComp, org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action) Creates a button for the given action.voidcreateControl(org.eclipse.swt.widgets.Composite parent) protected voidcreatePathButtons(org.eclipse.swt.widgets.Composite pathButtonComp) Creates the buttons to manipulate the classpath.voiddispose()static org.eclipse.swt.graphics.ImageReturns the image for this tab, ornullif nonegetId()org.eclipse.swt.graphics.ImagegetImage()org.eclipse.debug.core.ILaunchConfigurationReturns the current launch configurationprotected org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModelgetModel()getName()voidinitializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) booleanReturns whether the bootpath should be displayed.booleanisValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig) voidperformApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) voidsetDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
initializeAttributesMethods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTab
entriesChangedMethods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
getContext, getCurrentLaunchConfiguration, initializeJavaProjectMethods 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, updateLaunchConfigurationDialogMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTab
OkToLeaveTab, postApply
-
Field Details
-
DIALOG_SETTINGS_PREFIX
- See Also:
-
fLaunchConfiguration
protected org.eclipse.debug.core.ILaunchConfiguration fLaunchConfigurationThe last launch config this tab was initialized from
-
-
Constructor Details
-
JavaDependenciesTab
public JavaDependenciesTab()Constructor
-
-
Method Details
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent) - Specified by:
createControlin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
createControlin classJavaClasspathTab
-
createPathButtons
protected void createPathButtons(org.eclipse.swt.widgets.Composite pathButtonComp) Creates the buttons to manipulate the classpath.- Overrides:
createPathButtonsin classJavaClasspathTab- Parameters:
pathButtonComp- composite buttons are contained in- Since:
- 3.0
-
createButton
protected org.eclipse.swt.widgets.Button createButton(org.eclipse.swt.widgets.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(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) - Specified by:
setDefaultsin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
setDefaultsin classJavaClasspathTab
-
initializeFrom
public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) - Specified by:
initializeFromin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
initializeFromin classJavaClasspathTab
-
activated
public void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy) - Specified by:
activatedin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
activatedin classJavaClasspathTab
-
performApply
public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) - Specified by:
performApplyin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
performApplyin classJavaClasspathTab
-
getName
- Specified by:
getNamein interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
getNamein classJavaClasspathTab
-
getId
- Overrides:
getIdin classJavaClasspathTab- Since:
- 3.3
- See Also:
-
getClasspathImage
public static org.eclipse.swt.graphics.Image getClasspathImage()Returns the image for this tab, ornullif none- Returns:
- the image for this tab, or
nullif none - See Also:
-
getLaunchConfiguration
public org.eclipse.debug.core.ILaunchConfiguration getLaunchConfiguration()Returns the current launch configuration- Overrides:
getLaunchConfigurationin classJavaClasspathTab- Returns:
- the backing
ILaunchConfiguration
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
disposein classJavaClasspathTab
-
getImage
public org.eclipse.swt.graphics.Image getImage()- Specified by:
getImagein interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
getImagein classJavaClasspathTab
-
isValid
public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig) - Specified by:
isValidin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- 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.
-