Eclipse JDT
2.1

org.eclipse.jdt.debug.ui.launchConfigurations
Class JavaClasspathTab

java.lang.Object
  |
  +--org.eclipse.debug.ui.AbstractLaunchConfigurationTab
        |
        +--org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab
              |
              +--org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
All Implemented Interfaces:
org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener, ILaunchConfigurationTab

public class JavaClasspathTab
extends org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab

A launch configuration tab that displays and edits the user and bootstrap classes comprising the classpath launch configuration attribute.

This class may be instantiated. This class is not intended to be subclassed.

Since:
2.0

Field Summary
protected static String DIALOG_SETTINGS_PREFIX
           
protected  List fActions
           
protected  TabItem fBootPathTabItem
           
protected  org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathViewer fBootpathViewer
           
protected  Button fClassPathDefaultButton
           
protected  TabItem fClassPathTabItem
           
protected  org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathViewer fClasspathViewer
           
protected  Image fImage
           
protected  ILaunchConfiguration fLaunchConfiguration
          The last launch config this tab was initialized from
protected  TabFolder fPathTabFolder
           
 
Constructor Summary
JavaClasspathTab()
           
 
Method Summary
protected  void addAction(org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action)
          Adds the given action to the action collection in this tab
 void createControl(Composite parent)
           
protected  void displayDefaultClasspath()
          Displays the default classpath in the UI
 void dispose()
           
 Image getImage()
           
protected  ILaunchConfiguration getLaunchConfiguration()
          Returns the current java project context
 String getName()
           
protected  void handleClasspathDefaultButtonSelected()
          The default classpath button has been toggled
 void initializeFrom(ILaunchConfiguration configuration)
           
 void performApply(ILaunchConfigurationWorkingCopy configuration)
           
protected  void retargetActions(org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathViewer viewer)
          Re-targets actions to the given viewer
protected  void setClasspathEntries(IRuntimeClasspathEntry[] entries)
          Displays the given classpath entries, grouping into user and bootstrap entries
 void setDefaults(ILaunchConfigurationWorkingCopy configuration)
           
protected  void setLaunchConfiguration(ILaunchConfiguration config)
          Sets the java project currently specified by the given launch config, if any.
 
Methods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab
entriesChanged, getContext, initializeJavaProject
 
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, createPushButton, createRadioButton, createVerticalSpacer, getControl, getErrorMessage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, isValid, launched, setAttribute, setControl, setDirty, setErrorMessage, setLaunchConfigurationDialog, setMessage, updateLaunchConfigurationDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fPathTabFolder

protected TabFolder fPathTabFolder

fBootPathTabItem

protected TabItem fBootPathTabItem

fClassPathTabItem

protected TabItem fClassPathTabItem

fClasspathViewer

protected org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathViewer fClasspathViewer

fBootpathViewer

protected org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathViewer fBootpathViewer

fClassPathDefaultButton

protected Button fClassPathDefaultButton

fActions

protected List fActions

fImage

protected Image fImage

DIALOG_SETTINGS_PREFIX

protected static final String DIALOG_SETTINGS_PREFIX

fLaunchConfiguration

protected ILaunchConfiguration fLaunchConfiguration
The last launch config this tab was initialized from
Constructor Detail

JavaClasspathTab

public JavaClasspathTab()
Method Detail

createControl

public void createControl(Composite parent)
Overrides:
createControl in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.createControl(Composite)

handleClasspathDefaultButtonSelected

protected void handleClasspathDefaultButtonSelected()
The default classpath button has been toggled

setDefaults

public void setDefaults(ILaunchConfigurationWorkingCopy configuration)
Overrides:
setDefaults in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)

initializeFrom

public void initializeFrom(ILaunchConfiguration configuration)
Overrides:
initializeFrom in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)

displayDefaultClasspath

protected void displayDefaultClasspath()
Displays the default classpath in the UI

setClasspathEntries

protected void setClasspathEntries(IRuntimeClasspathEntry[] entries)
Displays the given classpath entries, grouping into user and bootstrap entries

performApply

public void performApply(ILaunchConfigurationWorkingCopy configuration)
Overrides:
performApply in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)

getName

public String getName()
Overrides:
getName in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.getName()

getImage

public Image getImage()
Overrides:
getImage in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.getImage()

setLaunchConfiguration

protected void setLaunchConfiguration(ILaunchConfiguration config)
Sets the java project currently specified by the given launch config, if any.

getLaunchConfiguration

protected ILaunchConfiguration getLaunchConfiguration()
Returns the current java project context

addAction

protected void addAction(org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action)
Adds the given action to the action collection in this tab

retargetActions

protected void retargetActions(org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathViewer viewer)
Re-targets actions to the given viewer

dispose

public void dispose()
Overrides:
dispose in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.dispose()

Eclipse JDT
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.