de.cau.cs.kieler.sim.kiem.config.ui
Class SingleStringInputDialog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by de.cau.cs.kieler.sim.kiem.config.ui.AbstractPropertiesDialog<String>
          extended by de.cau.cs.kieler.sim.kiem.config.ui.SingleStringInputDialog

public class SingleStringInputDialog
extends AbstractPropertiesDialog<String>

Reads a single String from the user.

Rating proposed yellow
(2010-01-27)

Constructor Summary
SingleStringInputDialog(Shell parent, String newTitle, String newLabel, String tooltip)
          Creates a new SingleStringInputDialog.
 
Method Summary
 String open()
          Open the dialog and return a specific object.
 
Methods inherited from class de.cau.cs.kieler.sim.kiem.config.ui.AbstractPropertiesDialog
openDialog
 
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleStringInputDialog

public SingleStringInputDialog(Shell parent,
                               String newTitle,
                               String newLabel,
                               String tooltip)
Creates a new SingleStringInputDialog.

Parameters:
parent - the parent shell
newTitle - the title of the dialog
newLabel - the label of the input field
tooltip - the tooltip for this dialog
Method Detail

open

public String open()
Open the dialog and return a specific object.

Specified by:
open in class AbstractPropertiesDialog<String>
Returns:
some object.