Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.resources.dialogs
Class QuestionAndAnswer

java.lang.Object
  extended by com.ibm.etools.iseries.subsystems.qsys.resources.dialogs.QuestionAndAnswer
All Implemented Interfaces:
Runnable

public class QuestionAndAnswer
extends Object
implements Runnable

A general-purpose way of asking the user a question and retaining the answer. Intended for use by non-GUI threads.


Field Summary
static String copyright
           
 
Constructor Summary
QuestionAndAnswer(Shell shell, SystemMessage message)
           
 
Method Summary
 boolean isYes()
           
 void run()
           
 
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
Constructor Detail

QuestionAndAnswer

public QuestionAndAnswer(Shell shell,
                         SystemMessage message)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

isYes

public boolean isYes()
              throws Exception
Throws:
Exception

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.