org.eclipse.emf.ecp.view.model.internal.preview.actions
Class OpenPreviewHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
org.eclipse.emf.ecp.view.treemasterdetail.ui.swt.internal.MasterDetailAction
org.eclipse.emf.ecp.view.model.internal.preview.actions.OpenPreviewHandler
- All Implemented Interfaces:
- org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2
public class OpenPreviewHandler
- extends MasterDetailAction
Opens the PreviewView
.
Method Summary |
void |
execute(org.eclipse.emf.ecore.EObject object)
|
Object |
execute(org.eclipse.core.commands.ExecutionEvent event)
|
boolean |
shouldShow(org.eclipse.emf.ecore.EObject eObject)
|
Methods inherited from class org.eclipse.core.commands.AbstractHandler |
addHandlerListener, dispose, isEnabled, isHandled, removeHandlerListener, setEnabled |
OpenPreviewHandler
public OpenPreviewHandler()
execute
public void execute(org.eclipse.emf.ecore.EObject object)
-
- Specified by:
execute
in class MasterDetailAction
- Parameters:
object
- The EObject
on which the action is executed- See Also:
MasterDetailAction.execute(EObject)
shouldShow
public boolean shouldShow(org.eclipse.emf.ecore.EObject eObject)
-
- Specified by:
shouldShow
in class MasterDetailAction
- Parameters:
eObject
- the EObject
on which to test if the action can be executed
- Returns:
- true if the action can be executed on the parameter
eObject
- See Also:
MasterDetailAction.shouldShow(org.eclipse.emf.ecore.EObject)
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event)
throws org.eclipse.core.commands.ExecutionException
-
- Throws:
org.eclipse.core.commands.ExecutionException
- See Also:
IHandler.execute(org.eclipse.core.commands.ExecutionEvent)
Copyright © 2014. All Rights Reserved.