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 SummaryFieldsModifier 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.JavaClasspathTabfClasspathViewer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.JavaClasspathTabinitializeAttributesMethods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTabentriesChangedMethods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTabgetContext, getCurrentLaunchConfiguration, initializeJavaProjectMethods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTabcanSave, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTabOkToLeaveTab, postApply
- 
Field Details- 
DIALOG_SETTINGS_PREFIX- See Also:
 
- 
fLaunchConfigurationprotected org.eclipse.debug.core.ILaunchConfiguration fLaunchConfigurationThe last launch config this tab was initialized from
 
- 
- 
Constructor Details- 
JavaDependenciesTabpublic JavaDependenciesTab()Constructor
 
- 
- 
Method Details- 
createControlpublic void createControl(org.eclipse.swt.widgets.Composite parent) - Specified by:
- createControlin interface- org.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
- createControlin class- JavaClasspathTab
 
- 
createPathButtonsprotected void createPathButtons(org.eclipse.swt.widgets.Composite pathButtonComp) Creates the buttons to manipulate the classpath.- Overrides:
- createPathButtonsin class- JavaClasspathTab
- Parameters:
- pathButtonComp- composite buttons are contained in
- Since:
- 3.0
 
- 
createButtonprotected 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 class- JavaClasspathTab
- Parameters:
- pathButtonComp- parent composite for the button
- action- the action triggered by the button
- Returns:
- the button that was created
 
- 
setDefaultspublic void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) - Specified by:
- setDefaultsin interface- org.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
- setDefaultsin class- JavaClasspathTab
 
- 
initializeFrompublic void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) - Specified by:
- initializeFromin interface- org.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
- initializeFromin class- JavaClasspathTab
 
- 
activatedpublic void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy) - Specified by:
- activatedin interface- org.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
- activatedin class- JavaClasspathTab
 
- 
performApplypublic void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) - Specified by:
- performApplyin interface- org.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
- performApplyin class- JavaClasspathTab
 
- 
getName- Specified by:
- getNamein interface- org.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
- getNamein class- JavaClasspathTab
 
- 
getId- Overrides:
- getIdin class- JavaClasspathTab
- Since:
- 3.3
- See Also:
 
- 
getClasspathImagepublic 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:
 
- 
getLaunchConfigurationpublic org.eclipse.debug.core.ILaunchConfiguration getLaunchConfiguration()Returns the current launch configuration- Overrides:
- getLaunchConfigurationin class- JavaClasspathTab
- Returns:
- the backing ILaunchConfiguration
 
- 
disposepublic void dispose()- Specified by:
- disposein interface- org.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
- disposein class- JavaClasspathTab
 
- 
getImagepublic org.eclipse.swt.graphics.Image getImage()- Specified by:
- getImagein interface- org.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
- getImagein class- JavaClasspathTab
 
- 
isValidpublic boolean isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig) - Specified by:
- isValidin interface- org.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
- isValidin class- JavaClasspathTab
 
- 
isShowBootpathpublic boolean isShowBootpath()Returns whether the bootpath should be displayed.- Overrides:
- isShowBootpathin class- JavaClasspathTab
- Returns:
- whether the bootpath should be displayed
- Since:
- 3.0
 
- 
getModelprotected org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModel getModel()- Overrides:
- getModelin class- JavaClasspathTab
- Returns:
- Returns the classpath model.
 
 
-