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.MessageBoxDisplays the delete message box to confirm deletes of multiple steps or job entries- Author:
- David Kincade
-
-
Constructor Summary
Constructors Constructor Description DeleteMessageBox(org.eclipse.swt.widgets.Shell shell, String text, List<String> stepList)Creates a message box to confirm the deletion of the items
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringbuildMessage()Builds a message from the text and the stepListprotected voidcheckSubclass()Allow this class to subclass MessageBoxintopen()Creats the dialog and then performs the display and returns the result
-
-
-
Constructor Detail
-
DeleteMessageBox
public DeleteMessageBox(org.eclipse.swt.widgets.Shell shell, String text, List<String> stepList)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 Detail
-
open
public int open()
Creats the dialog and then performs the display and returns the result- Overrides:
openin classorg.eclipse.swt.widgets.MessageBox- See Also:
MessageBox
-
buildMessage
protected String buildMessage()
Builds a message from the text and the stepList- Returns:
-
checkSubclass
protected void checkSubclass()
Allow this class to subclass MessageBox- Overrides:
checkSubclassin classorg.eclipse.swt.widgets.Dialog
-
-