Rational Developer for i
7.5.0

com.ibm.etools.systems.as400.debug.serviceentrypoint
Class IDEALPromptServiceEntryDialog

java.lang.Object
  extended by Dialog
      extended by com.ibm.etools.systems.as400.debug.serviceentrypoint.IDEALPromptServiceEntryDialog

public class IDEALPromptServiceEntryDialog
extends Dialog

An abstract base class for dialogs with a status bar and ok/cancel buttons. The status message must be passed over as StatusInfo object and can be an error, warning or ok. The OK button is enabled / disabled depending on the status.


Constructor Summary
IDEALPromptServiceEntryDialog(Shell parent, IEngineBreakpointAction action, boolean isSet, String profileName)
           
 
Method Summary
protected  void configureShell(Shell shell)
           
protected  Control createButtonBar(Composite parent)
           
protected  void createButtonsForButtonBar(Composite parent)
           
protected  Control createDialogArea(Composite parent)
           
 String getUserProfile()
          Get User Profile information.
protected  void okPressed()
           
 void setTitle(String title)
          Sets the title for this dialog.
protected  void updateButtonsEnableState(IStatus status)
          Update the status of the ok button to reflect the given status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDEALPromptServiceEntryDialog

public IDEALPromptServiceEntryDialog(Shell parent,
                                     IEngineBreakpointAction action,
                                     boolean isSet,
                                     String profileName)
Method Detail

configureShell

protected void configureShell(Shell shell)

createDialogArea

protected Control createDialogArea(Composite parent)
See Also:
Dialog#createDialogArea(Composite)

createButtonBar

protected Control createButtonBar(Composite parent)

createButtonsForButtonBar

protected void createButtonsForButtonBar(Composite parent)

setTitle

public void setTitle(String title)
Sets the title for this dialog.

Parameters:
title - the title

updateButtonsEnableState

protected void updateButtonsEnableState(IStatus status)
Update the status of the ok button to reflect the given status. Subclasses may override this method to update additional buttons.


okPressed

protected void okPressed()
See Also:
Dialog

getUserProfile

public String getUserProfile()
Get User Profile information.


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.