diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java index e13d55995..3a8551d88 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java @@ -17,19 +17,19 @@ import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; - + /** * A launch configuration tab is used to edit/view attributes * of a specific type of launch configuration. Launch * configurations are presented in a dialog, with a tab folder. * Each tab manipulates one ore more attributes of a launch - * configuration. + * configuration. * <p> * A tab has the following lifecycle methods: * <ul> - * <li><code>setLaunchConfigurationDialog(ILaunchConfigurationDialog)</code> - + * <li><code>setLaunchConfigurationDialog(ILaunchConfigurationDialog)</code> - * this is the first method called on a tab after it is instantiated.</li> - * <li><code>initializeFrom(ILaunchConfiguration)</code> - called when a + * <li><code>initializeFrom(ILaunchConfiguration)</code> - called when a * launch configuration is selected to be displayed.</li> * <li><code>activated(ILaunchConfigurationWorkingCopy)</code> - called when * a tab is entered.</li> @@ -75,7 +75,7 @@ public interface ILaunchConfigurationTab { * @param parent the parent composite */ public void createControl(Composite parent); - + /** * Returns the top level control for this tab. * <p> @@ -85,8 +85,8 @@ public interface ILaunchConfigurationTab { * * @return the top level control or <code>null</code> */ - public Control getControl(); - + public Control getControl(); + /** * Initializes the given launch configuration with * default values for this tab. This method @@ -94,36 +94,36 @@ public interface ILaunchConfigurationTab { * such that the configuration can be initialized with * meaningful values. This method may be called before this * tab's control is created. - * + * * @param configuration launch configuration */ - public void setDefaults(ILaunchConfigurationWorkingCopy configuration); - + public void setDefaults(ILaunchConfigurationWorkingCopy configuration); + /** * 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. - * + * * @param configuration launch configuration */ - public void initializeFrom(ILaunchConfiguration configuration); - + public void initializeFrom(ILaunchConfiguration configuration); + /** * Notifies this launch configuration tab that it has * been disposed. Marks the end of this tab's lifecycle, * allowing this tab to perform any cleanup required. */ public void dispose(); - + /** - * Copies values from this tab into the given + * Copies values from this tab into the given * launch configuration. - * + * * @param configuration launch configuration */ public void performApply(ILaunchConfigurationWorkingCopy configuration); - + /** * Returns the current error message for this tab. * May be <code>null</code> to indicate no error message. @@ -132,23 +132,23 @@ public interface ILaunchConfigurationTab { * as opposed to a message which may simply provide instruction * or information to the user. * </p> - * + * * @return the error message, or <code>null</code> if none */ public String getErrorMessage(); - + /** * Returns the current message for this tab. * <p> - * A message provides instruction or information to the - * user, as opposed to an error message which should + * A message provides instruction or information to the + * user, as opposed to an error message which should * describe some error state. * </p> - * + * * @return the message, or <code>null</code> if none */ - public String getMessage(); - + public String getMessage(); + /** * Returns whether this tab is in a valid state in the context of the specified launch configuration. * <p> @@ -162,38 +162,38 @@ public interface ILaunchConfigurationTab { * @return whether this tab is in a valid state */ public boolean isValid(ILaunchConfiguration launchConfig); - + /** * Returns whether this tab is in a state that allows the launch configuration whose values * this tab is showing to be saved. This differs from <code>isValid()</code> in that <code>canSave()</code> * determines if this tab prevents the current launch configuration from being saved, whereas * <code>isValid()</code> determines if this tab prevents the current launch configuration from * being launched. - * + * * <p> * This information is typically used by the launch configuration * dialog to decide when it is okay to save a launch configuration. * </p> - * + * * @return whether this tab is in a state that allows the current launch configuration to be saved */ public boolean canSave(); - + /** * Sets the launch configuration dialog that hosts this tab. * This is the first method called on a launch configuration * tab, and marks the beginning of this tab's lifecycle. - * + * * @param dialog launch configuration dialog */ public void setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog); - + /** * Notifies this tab that the specified configuration has been * launched, resulting in the given launch. This method can be * called when a tab's control does not exist, to support single-click * launching. - * + * * @param launch the result of launching the current * launch configuration * @deprecated As of R3.0, this method is no longer called by the launch @@ -203,34 +203,34 @@ public interface ILaunchConfigurationTab { */ @Deprecated public void launched(ILaunch launch); - + /** * Returns the name of this tab. - * + * * @return the name of this tab */ public String getName(); - + /** * Returns the image for this tab, or <code>null</code> if none - * + * * @return the image for this tab, or <code>null</code> if none */ - public Image getImage(); - + public Image getImage(); + /** * Notification that this tab has become the active tab in the launch * configuration dialog. - * + * * @param workingCopy the launch configuration being edited * @since 3.0 */ public void activated(ILaunchConfigurationWorkingCopy workingCopy); - + /** * Notification that this tab is no longer the active tab in the launch * configuration dialog. - * + * * @param workingCopy the launch configuration being edited * @since 3.0 */ |