Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.ant.internal.ui.launchConfigurations
Class AntClasspathTab  view AntClasspathTab download AntClasspathTab.java

java.lang.Object
  extended byorg.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended byorg.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab
          extended byorg.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
              extended byorg.eclipse.ant.internal.ui.launchConfigurations.AntClasspathTab
All Implemented Interfaces:
org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener, org.eclipse.debug.ui.ILaunchConfigurationTab

public class AntClasspathTab
extends org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab

The Ant classpath tab


Field Summary
 
Fields inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
DIALOG_SETTINGS_PREFIX, fClasspathViewer, fLaunchConfiguration
 
Fields inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
 
Constructor Summary
AntClasspathTab()
           
 
Method Summary
protected  void createPathButtons(org.eclipse.swt.widgets.Composite pathButtonComp)
          Creates actions to manipulate the classpath.
 void entriesChanged(org.eclipse.jdt.internal.debug.ui.launcher.IClasspathViewer viewer)
          Notification entries have changed in the viewer
 void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
          Initializes this tab's controls with values from the given launch configuration.
 boolean isShowBootpath()
          Returns whether the bootpath should be displayed.
 boolean isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig)
          Returns whether this tab is in a valid state in the context of the specified launch configuration.
 void setDirty(boolean dirty)
          Returns whether this tab is dirty.
private  boolean validateAntHome()
           
 
Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
activated, createButton, createControl, dispose, getClasspathImage, getImage, getLaunchConfiguration, getModel, getName, performApply, setDefaults
 
Methods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab
getContext, 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, setErrorMessage, setLaunchConfigurationDialog, setMessage, updateLaunchConfigurationDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntClasspathTab

public AntClasspathTab()
Method Detail

isShowBootpath

public boolean isShowBootpath()
Description copied from class: org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab
Returns whether the bootpath should be displayed.


createPathButtons

protected void createPathButtons(org.eclipse.swt.widgets.Composite pathButtonComp)
Creates actions to manipulate the classpath.

Since:
3.0

setDirty

public void setDirty(boolean dirty)
Description copied from class: org.eclipse.debug.ui.AbstractLaunchConfigurationTab
Returns whether this tab is dirty. It is up to clients to set/reset and consult this attribute as required. By default, a tab is initialized to dirty.


initializeFrom

public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
Description copied from interface: org.eclipse.debug.ui.ILaunchConfigurationTab
Initializes this tab's controls with values from the given launch configuration. This method is called when a configuration is selected to view or edit, after this tab's control has been created.


entriesChanged

public void entriesChanged(org.eclipse.jdt.internal.debug.ui.launcher.IClasspathViewer viewer)
Description copied from interface: org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener
Notification entries have changed in the viewer


isValid

public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration launchConfig)
Description copied from interface: org.eclipse.debug.ui.ILaunchConfigurationTab
Returns whether this tab is in a valid state in the context of the specified launch configuration.

This information is typically used by the launch configuration dialog to decide when it is okay to launch.


validateAntHome

private boolean validateAntHome()