com.bt.exact_tech.ui.views.navigator.actions
Class InputDialog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by com.bt.exact_tech.ui.views.navigator.actions.InputDialog

public class InputDialog
extends org.eclipse.swt.widgets.Dialog

This class builds the dialog window.
It allows users to input a String to name a
product or group in the HierachyTree.

Version:
0.1

Constructor Summary
InputDialog(org.eclipse.swt.widgets.Shell parent)
          InputDialog constructor
InputDialog(org.eclipse.swt.widgets.Shell parent, int style)
          InputDialog constructor
InputDialog(org.eclipse.swt.widgets.Shell parent, int style, int x, int y)
           
 
Method Summary
 java.lang.String getInput()
          Gets the input
 java.lang.String getMessage()
          Gets the message
 java.lang.String open()
          Opens the dialog and returns the input
 void setInput(java.lang.String input)
          Sets the input
 void setMessage(java.lang.String message)
          Sets the message
 
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

InputDialog

public InputDialog(org.eclipse.swt.widgets.Shell parent)
InputDialog constructor

Parameters:
parent - Shell

InputDialog

public InputDialog(org.eclipse.swt.widgets.Shell parent,
                   int style)
InputDialog constructor

Parameters:
parent - the parent
style - int

InputDialog

public InputDialog(org.eclipse.swt.widgets.Shell parent,
                   int style,
                   int x,
                   int y)
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message

Returns:
String

setMessage

public void setMessage(java.lang.String message)
Sets the message

Parameters:
message - the new message

getInput

public java.lang.String getInput()
Gets the input

Returns:
String

setInput

public void setInput(java.lang.String input)
Sets the input

Parameters:
input - the new input

open

public java.lang.String open()
Opens the dialog and returns the input

Returns:
String