Class 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 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 instance
        text - the title for the dialog
        stepList - 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:
        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