edu.mayo.bsi.ngsportal.client
Class SelectStringDialog

java.lang.Object
  extended by edu.mayo.bsi.ngsportal.client.SelectStringDialog

public class SelectStringDialog
extends Object

Class that takes a List of Strings, puts up a Dialog Box with a ComboBox holding the strings, a Cancel button, and a Select button, and reports the user's choice

@author Gregory Dougherty


Constructor Summary
SelectStringDialog(String title, String message, List<String> choices, StringCommand doneCommand, com.google.gwt.user.client.Command followUp)
          Create and show a dialog that has a ComboBox for choosing one of a list of Strings
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectStringDialog

public SelectStringDialog(String title,
                          String message,
                          List<String> choices,
                          StringCommand doneCommand,
                          com.google.gwt.user.client.Command followUp)
Create and show a dialog that has a ComboBox for choosing one of a list of Strings

Parameters:
title - The title of the dialog
message - A message to show above the ComboBox
choices - List of choices to appear in the ComboBox
doneCommand - Routine to receive the user's selection and the followUp Command
followUp - Command to be executed by doneCommand. Can be null