Class ShowPerspectiveHandler

All Implemented Interfaces:
IHandler, IHandler2

public final class ShowPerspectiveHandler extends AbstractHandler
Shows the given perspective. If no perspective is specified in the parameters, then this opens the perspective selection dialog.
Since:
3.1
  • Constructor Details

    • ShowPerspectiveHandler

      public ShowPerspectiveHandler()
  • Method Details

    • execute

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