Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.actions.ui
Class ToggleableSystemMessageDialog

java.lang.Object
  extended by SystemMessageDialog
      extended by com.ibm.etools.systems.application.visual.editor.actions.ui.ToggleableSystemMessageDialog

public class ToggleableSystemMessageDialog
extends SystemMessageDialog

Enhanced system message dialog with an option to not show the message again.


Field Summary
static String copyright
           
protected  Button noShowAgainButton
           
 
Constructor Summary
ToggleableSystemMessageDialog(Shell parentShell, SystemMessage message, boolean noShowAgainOption)
           
 
Method Summary
protected  Control createDialogArea(Composite parent)
           
 boolean getNoShowAgainSelection()
          Returns whether the do not show again button was selected.
 void widgetDefaultSelected(SelectionEvent e)
           
 void widgetSelected(SelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright

noShowAgainButton

protected Button noShowAgainButton
Constructor Detail

ToggleableSystemMessageDialog

public ToggleableSystemMessageDialog(Shell parentShell,
                                     SystemMessage message,
                                     boolean noShowAgainOption)
Parameters:
parentShell -
message -
Method Detail

createDialogArea

protected Control createDialogArea(Composite parent)
See Also:
Dialog

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)
See Also:
SelectionListener

widgetSelected

public void widgetSelected(SelectionEvent e)
See Also:
SelectionListener

getNoShowAgainSelection

public boolean getNoShowAgainSelection()
Returns whether the do not show again button was selected.

Returns:
true if the user chose not to show this message again, false otherwise.

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 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.