com.bt.exact_tech.ui.views.navigator.actions
Class RemoveDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
com.bt.exact_tech.ui.views.navigator.actions.RemoveDialog
public class RemoveDialog
- extends org.eclipse.swt.widgets.Dialog
The class builds and displays a warning window upon
a deletion attempt of a non-empty group in the HierachyTree.
- Version:
- 0.1
- Author:
- Lenni Madsen
Constructor Summary |
RemoveDialog(org.eclipse.swt.widgets.Shell parent)
|
RemoveDialog(org.eclipse.swt.widgets.Shell parent,
int style,
java.lang.String string,
boolean warning_dialog)
|
Method Summary |
java.lang.Boolean |
open()
Opens the dialog and returns 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 |
RemoveDialog
public RemoveDialog(org.eclipse.swt.widgets.Shell parent)
- Parameters:
parent
-
RemoveDialog
public RemoveDialog(org.eclipse.swt.widgets.Shell parent,
int style,
java.lang.String string,
boolean warning_dialog)
- Parameters:
parent
- style
- string
- warning_dialog
-
setMessage
public void setMessage(java.lang.String message)
- Sets the message
- Parameters:
message
- the new message
open
public java.lang.Boolean open()
- Opens the dialog and returns the input
- Returns:
- String