Class SafeHandler

    • Constructor Detail

      • SafeHandler

        public SafeHandler()
    • Method Detail

      • getCommand

        public Command getCommand()
      • extractEventDetails

        protected void extractEventDetails​(ExecutionEvent event)
        Extracts details from the event that we may need later, for example on a background thread when the original execution context is no longer valid.
      • safeExecute

        protected abstract java.lang.Object safeExecute​(ExecutionEvent event)
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getText

        protected java.lang.String getText()
      • updateSelection

        protected boolean updateSelection​(ISelection selection)