Rational Developer for i
7.5.0

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
All Implemented Interfaces:
EventListener, SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class ToggleableSystemMessageDialog
extends SystemMessageDialog
implements SelectionListener

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)
Specified by:
widgetDefaultSelected in interface SelectionListener
See Also:
SelectionListener.widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)

widgetSelected

public void widgetSelected(SelectionEvent e)
Specified by:
widgetSelected in interface SelectionListener
See Also:
SelectionListener.widgetSelected(org.eclipse.swt.events.SelectionEvent)

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 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.