1
|
package eu.etaxonomy.taxeditor.handler.defaultHandler;
|
2
|
|
3
|
import org.eclipse.core.commands.AbstractHandler;
|
4
|
import org.eclipse.core.commands.ExecutionEvent;
|
5
|
import org.eclipse.core.commands.ExecutionException;
|
6
|
import org.eclipse.e4.ui.workbench.modeling.EPartService;
|
7
|
import org.eclipse.e4.ui.workbench.modeling.EPartService.PartState;
|
8
|
|
9
|
import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin;
|
10
|
|
11
|
public class OpenReferencingObjectsView extends AbstractHandler {
|
12
|
|
13
|
@Override
|
14
|
public Object execute(ExecutionEvent event) throws ExecutionException {
|
15
|
TaxeditorStorePlugin.getDefault().getWorkbench().getService(EPartService.class).showPart(
|
16
|
eu.etaxonomy.taxeditor.bulkeditor.AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_BULKEDITOR_REFERENCINGOBJECTS_E4_REFERENCINGOBJECTSVIEWE4,
|
17
|
PartState.ACTIVATE);
|
18
|
return null;
|
19
|
}
|
20
|
|
21
|
}
|