Class ECPDialogExecutor


  • public abstract class ECPDialogExecutor
    extends java.lang.Object
    Since:
    1.5
    Author:
    Eugen Neufeld
    • Constructor Summary

      Constructors 
      Constructor Description
      ECPDialogExecutor​(org.eclipse.jface.dialogs.Dialog dialog)
      Constructor.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      This is the method to run the ECPDialogExecutor.
      abstract void handleResult​(int codeResult)
      Callback method which will get notified when the user presses a button leading to a close of the dialog.
      • Methods inherited from class java.lang.Object

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

      • ECPDialogExecutor

        public ECPDialogExecutor​(org.eclipse.jface.dialogs.Dialog dialog)
        Constructor.
        Parameters:
        dialog - the Dialog to show
    • Method Detail

      • handleResult

        public abstract void handleResult​(int codeResult)
        Callback method which will get notified when the user presses a button leading to a close of the dialog. (e.g Ok or Cancel)
        Parameters:
        codeResult - the result code of the dialog. Constants are defined in Window