Eclipse JDT
Release 3.5

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

java.lang.Object
  extended by org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended by org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
          extended by org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTab
              extended by org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
All Implemented Interfaces:
ILaunchConfigurationTab, org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener

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.

This class may be instantiated.

Since:
2.0
Restriction:
This class is not intended to be subclassed by clients.

Field Summary
protected static String DIALOG_SETTINGS_PREFIX
           
protected  org.eclipse.jdt.internal.debug.ui.classpath.RuntimeClasspathViewer fClasspathViewer
           
protected  ILaunchConfiguration fLaunchConfiguration
          The last launch config this tab was initialized from
 
Constructor Summary
JavaClasspathTab()
           
 
Method Summary
 void activated(ILaunchConfigurationWorkingCopy workingCopy)
           
protected  Button createButton(Composite pathButtonComp, org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction action)
          Creates a button for the given action.
 void createControl(Composite parent)
           
protected  void createPathButtons(Composite pathButtonComp)
          Creates the buttons to manipulate the classpath.
 void dispose()
           
static Image getClasspathImage()
           
 String getId()
           
 Image getImage()
           
 ILaunchConfiguration getLaunchConfiguration()
          Returns the current launch configuration
protected  org.eclipse.jdt.internal.debug.ui.classpath.ClasspathModel getModel()
           
 String getName()
           
 void initializeFrom(ILaunchConfiguration configuration)
           
 boolean isShowBootpath()
          Returns whether the bootpath should be displayed.
 boolean isValid(ILaunchConfiguration launchConfig)
           
 void performApply(ILaunchConfigurationWorkingCopy configuration)
           
 void setDefaults(ILaunchConfigurationWorkingCopy configuration)
           
 
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, createVerticalSpacer, deactivated, getControl, getErrorMessage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, 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

fClasspathViewer

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

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

Constructor Detail

JavaClasspathTab

public JavaClasspathTab()
Method Detail

createControl

public void createControl(Composite parent)

createPathButtons

protected void createPathButtons(Composite pathButtonComp)
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 button
action - the action triggered by the button
Returns:
the button that was created

setDefaults

public void setDefaults(ILaunchConfigurationWorkingCopy configuration)

initializeFrom

public void initializeFrom(ILaunchConfiguration configuration)
Specified by:
initializeFrom in interface ILaunchConfigurationTab
Overrides:
initializeFrom in class JavaLaunchTab

activated

public void activated(ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
activated in interface ILaunchConfigurationTab
Overrides:
activated in class AbstractLaunchConfigurationTab

performApply

public void performApply(ILaunchConfigurationWorkingCopy configuration)

getName

public String getName()

getId

public String getId()
Overrides:
getId in class AbstractLaunchConfigurationTab
Since:
3.3
See Also:
AbstractLaunchConfigurationTab.getId()

getClasspathImage

public static Image getClasspathImage()
See Also:
ILaunchConfigurationTab.getImage()

getLaunchConfiguration

public ILaunchConfiguration getLaunchConfiguration()
Returns the current launch configuration


dispose

public void dispose()
Specified by:
dispose in interface ILaunchConfigurationTab
Overrides:
dispose in class AbstractLaunchConfigurationTab

getImage

public Image getImage()
Specified by:
getImage in interface ILaunchConfigurationTab
Overrides:
getImage in class AbstractLaunchConfigurationTab

isValid

public boolean isValid(ILaunchConfiguration launchConfig)
Specified by:
isValid in interface ILaunchConfigurationTab
Overrides:
isValid in class AbstractLaunchConfigurationTab

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.

Eclipse JDT
Release 3.5

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