Class JavaClasspathTab
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
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider,ILaunchConfigurationTab,ILaunchConfigurationTab2,org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener
- Direct Known Subclasses:
JavaDependenciesTab
public class JavaClasspathTab
extends org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTab
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:
- 2.0
- Restriction:
- This class is not intended to be sub-classed by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected org.eclipse.jdt.internal.debug.ui.classpath.RuntimeClasspathViewerprotected ILaunchConfigurationThe last launch config this tab was initialized from -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivated(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 ImageReturns the image for this tab, ornullif nonegetId()getImage()Returns the current launch configurationprotected org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModelgetModel()getName()protected voidvoidinitializeFrom(ILaunchConfiguration configuration) booleanReturns whether the bootpath should be displayed.booleanisValid(ILaunchConfiguration launchConfig) voidperformApply(ILaunchConfigurationWorkingCopy configuration) voidsetDefaults(ILaunchConfigurationWorkingCopy configuration) Methods 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
-
fClasspathViewer
protected org.eclipse.jdt.internal.debug.ui.classpath.RuntimeClasspathViewer fClasspathViewer -
DIALOG_SETTINGS_PREFIX
- See Also:
-
fLaunchConfiguration
The last launch config this tab was initialized from
-
-
Constructor Details
-
JavaClasspathTab
public JavaClasspathTab()Constructor
-
-
Method Details
-
createControl
-
createPathButtons
Creates the buttons to manipulate the classpath.- 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.- Parameters:
pathButtonComp- parent composite for the buttonaction- the action triggered by the button- Returns:
- the button that was created
-
setDefaults
-
initializeFrom
- Specified by:
initializeFromin interfaceILaunchConfigurationTab- Overrides:
initializeFromin classJavaLaunchTab
-
activated
- Specified by:
activatedin interfaceILaunchConfigurationTab- Overrides:
activatedin classAbstractLaunchConfigurationTab
-
performApply
-
getName
-
getId
- Overrides:
getIdin classAbstractLaunchConfigurationTab- Since:
- 3.3
- See Also:
-
getClasspathImage
Returns the image for this tab, ornullif none- Returns:
- the image for this tab, or
nullif none - See Also:
-
getLaunchConfiguration
Returns the current launch configuration- Returns:
- the backing
ILaunchConfiguration
-
dispose
public void dispose()- Specified by:
disposein interfaceILaunchConfigurationTab- Overrides:
disposein classAbstractLaunchConfigurationTab
-
getImage
- Specified by:
getImagein interfaceILaunchConfigurationTab- Overrides:
getImagein classAbstractLaunchConfigurationTab
-
isValid
- Specified by:
isValidin interfaceILaunchConfigurationTab- Overrides:
isValidin classAbstractLaunchConfigurationTab
-
isShowBootpath
public boolean isShowBootpath()Returns whether the bootpath should be displayed.- Returns:
- whether the bootpath should be displayed
- Since:
- 3.0
-
getModel
protected org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModel getModel()- Returns:
- Returns the classpath model.
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classJavaLaunchTab
-