public class MoveSynonymToAnotherAcceptedTaxonHandlerE4 extends java.lang.Object implements IPostOperationEnabled
Constructor and Description |
---|
MoveSynonymToAnotherAcceptedTaxonHandlerE4() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute(org.eclipse.jface.viewers.IStructuredSelection selection,
org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem menuItem) |
void |
execute(org.eclipse.e4.ui.model.application.ui.basic.MPart activePart,
org.eclipse.jface.viewers.IStructuredSelection selection,
org.eclipse.swt.widgets.Shell shell,
org.eclipse.e4.ui.workbench.modeling.EPartService partService,
org.eclipse.e4.ui.di.UISynchronize sync) |
boolean |
onComplete()
This method will get called after the execution took place and occasional
cleanups were performed.
|
boolean |
postOperation(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
This method will be called after executing an operation.
|
public MoveSynonymToAnotherAcceptedTaxonHandlerE4()
@Execute public void execute(@Named(value="e4ActivePart") org.eclipse.e4.ui.model.application.ui.basic.MPart activePart, @Named(value="org.eclipse.ui.selection") org.eclipse.jface.viewers.IStructuredSelection selection, @Named(value="activeShell") org.eclipse.swt.widgets.Shell shell, org.eclipse.e4.ui.workbench.modeling.EPartService partService, org.eclipse.e4.ui.di.UISynchronize sync)
@CanExecute public boolean canExecute(@Named(value="org.eclipse.ui.selection") org.eclipse.jface.viewers.IStructuredSelection selection, org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem menuItem)
public boolean postOperation(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
IPostOperationEnabled
This method will be called after executing an operation. If operation
created a new object and the IPostOperationEnabled
has to know
about the object it should be passed to the IPostOperationEnabled
postOperation
in interface IPostOperationEnabled
objectAffectedByOperation
- a newly created object for example. May be null
Status.CANCEL_STATUS
which
might not be what you want.public boolean onComplete()
IPostOperationEnabled
onComplete
in interface IPostOperationEnabled
Copyright © 2007-2018. All Rights Reserved.