Rational Developer for i
7.5.0

com.ibm.etools.systems.as400.debug.launchconfig.ui
Class IDEALTabBase

java.lang.Object
  extended by AbstractLaunchConfigurationTab
      extended by com.ibm.etools.systems.as400.debug.launchconfig.ui.IDEALTabBase
Direct Known Subclasses:
IDEALTabAdvanced, IDEALTabDebuggeInfoBase, IDEALTabLaunchInfoBase

public abstract class IDEALTabBase
extends AbstractLaunchConfigurationTab


Field Summary
static String copyright
           
protected  String errorMessageFromDelegate
           
protected  AbstractLaunchConfigurationTabGroup parentTabGroup
           
protected  String tabGroupID
           
 
Constructor Summary
IDEALTabBase(AbstractLaunchConfigurationTabGroup parentTabGroup)
           
IDEALTabBase(AbstractLaunchConfigurationTabGroup parentTabGroup, String tabGroupID)
          Constructors.
 
Method Summary
 boolean canSave()
          Returns whether this tab is in a state that allows the launch configuration whose values this tab is showing to be saved.
 void dispose()
          Notifies this launch configuration tab that it has been disposed.
 Image getImage()
          Returns the image for this tab, or null if none
 AbstractLaunchConfigurationTabGroup getParentTabGroup()
          Getter method for parentTabGroup
 String getTabGroupID()
          Getter method for tabGroupID
 void launched(ILaunch launch)
          Notifies this tab that the specified configuration has been launched, resulting in the given launch.
 void setErrorMessage(String errorMessage)
          Public interface to set this page's error message
 void setErrorMessageFromDelegate(String errorMessage)
          Setter method for errorMessageFromDelegate
 void updateLaunchConfigurationDialog()
          Public interface to update Launch Configurations Dialog (LCD) As a result, LCD will call isValid(ILaunchConfiguration) method for each individual tab to determine if any is in error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

parentTabGroup

protected AbstractLaunchConfigurationTabGroup parentTabGroup

errorMessageFromDelegate

protected String errorMessageFromDelegate

tabGroupID

protected String tabGroupID
Constructor Detail

IDEALTabBase

public IDEALTabBase(AbstractLaunchConfigurationTabGroup parentTabGroup,
                    String tabGroupID)
Constructors.


IDEALTabBase

public IDEALTabBase(AbstractLaunchConfigurationTabGroup parentTabGroup)
Method Detail

getParentTabGroup

public AbstractLaunchConfigurationTabGroup getParentTabGroup()
Getter method for parentTabGroup


getTabGroupID

public String getTabGroupID()
Getter method for tabGroupID


dispose

public void dispose()
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.

See Also:
ILaunchConfigurationTab#dispose()

canSave

public boolean canSave()
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 isValid() in that canSave() determines if this tab prevents the current launch configuration from being saved, whereas isValid() determines if this tab prevents the current launch configuration from being launched.

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

Returns:
whether this tab is in a state that allows the current launch configuration to be saved
See Also:
ILaunchConfigurationTab#canSave()

launched

public void launched(ILaunch launch)
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.

Parameters:
launch - the result of launching the current launch configuration
See Also:
ILaunchConfigurationTab#launched(ILaunch)

getImage

public Image getImage()
Returns the image for this tab, or null if none

Returns:
the image for this tab, or null if none
See Also:
ILaunchConfigurationTab#getImage()

setErrorMessage

public void setErrorMessage(String errorMessage)
Public interface to set this page's error message

See Also:
AbstractLaunchConfigurationTab#setErrorMessage()

setErrorMessageFromDelegate

public void setErrorMessageFromDelegate(String errorMessage)
Setter method for errorMessageFromDelegate


updateLaunchConfigurationDialog

public void updateLaunchConfigurationDialog()
Public interface to update Launch Configurations Dialog (LCD) As a result, LCD will call isValid(ILaunchConfiguration) method for each individual tab to determine if any is in error.

See Also:
AbstractLaunchConfigurationTab#updateLaunchConfigurationDialog()

Rational Developer for i
7.5.0

Copyright 2009 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.