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

    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

    Modifier and Type
    Method
    Description
    protected String
    Builds a message from the text and the stepList
    protected void
    Allow this class to subclass MessageBox
    int
    Creats the dialog and then performs the display and returns the result

    Methods inherited from class org.eclipse.swt.widgets.MessageBox

    getMessage, setMessage

    Methods inherited from class org.eclipse.swt.widgets.Dialog

    getParent, getStyle, getText, setText

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 instance
      text - the title for the dialog
      stepList - 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 class org.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:
      checkSubclass in class org.eclipse.swt.widgets.Dialog