1 package eu
.etaxonomy
.taxeditor
.molecular
.handler
;
4 import info
.bioinfweb
.libralign
.alignmentarea
.AlignmentArea
;
6 import org
.eclipse
.core
.commands
.ExecutionEvent
;
7 import org
.eclipse
.core
.commands
.ExecutionException
;
9 import eu
.etaxonomy
.taxeditor
.molecular
.editor
.AlignmentEditor
;
13 public abstract class AbstractFocusedAlignmentAreaHandler
extends AbstractAlignmentEditorHandler
{
15 protected void doExecute(ExecutionEvent event
, AlignmentEditor editor
) throws ExecutionException
{
16 AlignmentArea focusedArea
= editor
.getFocusedArea();
17 if (focusedArea
!= null) {
18 doExecute2(event
, editor
, focusedArea
);
23 protected abstract void doExecute2(ExecutionEvent event
, AlignmentEditor editor
, AlignmentArea focusedArea
);