public final class ShowViewHandler extends AbstractHandler
Constructor and Description |
---|
ShowViewHandler()
Creates a new ShowViewHandler that will open the view in its default location.
|
ShowViewHandler(boolean makeFast)
Creates a new ShowViewHandler that will optionally force the view to become
a fast view.
|
Modifier and Type | Method and Description |
---|---|
Object |
execute(ExecutionEvent event)
Executes with the map of parameter values by name.
|
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public ShowViewHandler()
public ShowViewHandler(boolean makeFast)
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.public final Object execute(ExecutionEvent event) throws ExecutionException
IHandler
event
- An event containing all the information about the current
state of the application; must not be null
.null
.ExecutionException
- if an exception occurred during execution.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.