Class ShowViewHandler

  • All Implemented Interfaces:
    IHandler, IHandler2

    public final class ShowViewHandler
    extends AbstractHandler
    Shows the given view. If no view is specified in the parameters, then this opens the view selection dialog.
    • Constructor Detail

      • ShowViewHandler

        public ShowViewHandler()
        Creates a new ShowViewHandler that will open the view in its default location.
      • ShowViewHandler

        public ShowViewHandler​(boolean makeFast)
        Creates a new ShowViewHandler that will optionally force the view to become a fast view.
        makeFast - if true, the view will be moved to the fast view bar (even if it already exists elsewhere). If false, the view will be shown in its default location. Calling with false is equivalent to using the default constructor.
    • Method Detail

      • execute

        public Object execute​(ExecutionEvent event)
                       throws ExecutionException
        Description copied from interface: IHandler
        Executes with the map of parameter values by name.
        event - An event containing all the information about the current state of the application; must not be null.
        the result of the execution. Reserved for future use, must be null.
        ExecutionException - if an exception occurred during execution.