4 package eu
.etaxonomy
.taxeditor
.editor
.key
.e4
.handler
;
6 import javax
.inject
.Named
;
8 import org
.eclipse
.e4
.core
.di
.annotations
.Execute
;
9 import org
.eclipse
.e4
.ui
.model
.application
.ui
.basic
.MPart
;
10 import org
.eclipse
.e4
.ui
.services
.IServiceConstants
;
12 import eu
.etaxonomy
.taxeditor
.editor
.key
.e4
.AbstractGraphKeyEditorE4
;
18 public class ApplyLayoutHandlerE4
{
21 public void execute(@Named(IServiceConstants
.ACTIVE_PART
)MPart activePart
) {
22 AbstractGraphKeyEditorE4 graphKeyEditorE4
= (AbstractGraphKeyEditorE4
) activePart
.getObject();
23 graphKeyEditorE4
.applyLayout();