edu.mayo.bsi.ngsportal.client
Interface StringCommand

All Known Implementing Classes:
RunEditPanel

public interface StringCommand

Sibling to {Command}, whose execute(java.lang.String, com.google.gwt.user.client.Command) routine takes a String argument and a Command to use

@author Gregory Dougherty


Method Summary
 void execute(String choice, com.google.gwt.user.client.Command followUp)
          A procedure that takes a string (generally the user's choice from a ComboBox in a dialog box) and a Command (generally something the user will execute after it deals with the String
 

Method Detail

execute

void execute(String choice,
             com.google.gwt.user.client.Command followUp)
A procedure that takes a string (generally the user's choice from a ComboBox in a dialog box) and a Command (generally something the user will execute after it deals with the String

Parameters:
choice - A String, null to say no selection, otherwise the user's choice from a ComboBox
followUp - Command to execute if the user made a choice