Package org.pentaho.di.ui.spoon.dialog
Class DeleteMessageBox
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.eclipse.swt.widgets.MessageBox
org.pentaho.di.ui.spoon.dialog.DeleteMessageBox
public class DeleteMessageBox
extends org.eclipse.swt.widgets.MessageBox
Displays the delete message box to confirm deletes of multiple steps or job entries
- Author:
- David Kincade
-
Constructor Summary
ConstructorDescriptionDeleteMessageBox
(org.eclipse.swt.widgets.Shell shell, String text, List<String> stepList) Creates a message box to confirm the deletion of the items -
Method Summary
Methods inherited from class org.eclipse.swt.widgets.MessageBox
getMessage, setMessage
Methods inherited from class org.eclipse.swt.widgets.Dialog
getParent, getStyle, getText, setText
-
Constructor Details
-
DeleteMessageBox
Creates a message box to confirm the deletion of the items- Parameters:
shell
- the shell which will be the parent of the new instancetext
- the title for the dialogstepList
- the text list of proposed steps to be deleted
-
-
Method Details
-
open
public int open()Creats the dialog and then performs the display and returns the result- Overrides:
open
in classorg.eclipse.swt.widgets.MessageBox
- See Also:
-
MessageBox
-
buildMessage
Builds a message from the text and the stepList- Returns:
-
checkSubclass
protected void checkSubclass()Allow this class to subclass MessageBox- Overrides:
checkSubclass
in classorg.eclipse.swt.widgets.Dialog
-