@Deprecated public class OpenHandler extends AbstractHandler implements IHandler
Constructor and Description |
---|
OpenHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
execute(ExecutionEvent event)
Deprecated.
|
static IEditorPart |
openObject(Object o,
IWorkbenchPage workbenchPage,
ExecutionEvent event)
Deprecated.
Tries to open the object o in an editor.
|
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHandlerListener, dispose, isEnabled, isHandled, removeHandlerListener
public Object execute(ExecutionEvent event) throws ExecutionException
execute
in interface IHandler
ExecutionException
public static IEditorPart openObject(Object o, IWorkbenchPage workbenchPage, ExecutionEvent event)
o
- The object to open. Should be adaptable to IFile
.workbenchPage
- The workbench page in which the editor should be opened.event
- TODO