Project

General

Profile

« Previous | Next » 

Revision 8712cea1

Added by Patrick Plitzner almost 6 years ago

ref #6913 Remove alignment handler

View differences:

eu.etaxonomy.taxeditor.molecular/src/main/java/eu/etaxonomy/taxeditor/molecular/editor/AlignmentEditorActionUpdater.java
8 8
import org.eclipse.ui.commands.ICommandService;
9 9

  
10 10
import eu.etaxonomy.taxeditor.molecular.editor.e4.AlignmentEditorE4;
11
import eu.etaxonomy.taxeditor.molecular.handler.AbstractAlignmentEditorHandler;
11
import eu.etaxonomy.taxeditor.molecular.handler.HandlerTools;
12 12
import info.bioinfweb.libralign.alignmentarea.selection.SelectionChangeEvent;
13 13
import info.bioinfweb.libralign.alignmentarea.selection.SelectionListener;
14 14

  
......
35 35

  
36 36
	@Override
37 37
	public void handleEvent(Event event) {
38
		AlignmentEditorE4 editor = AbstractAlignmentEditorHandler.getActiveAlignmentEditor();
38
		AlignmentEditorE4 editor = HandlerTools.getActiveAlignmentEditor();
39 39
		if (editor != null) {
40 40
            updateEvents();
41 41
		}
......
44 44

  
45 45
	@Override
46 46
	public void selectionChanged(SelectionChangeEvent e) {
47
		AlignmentEditorE4 editor = AbstractAlignmentEditorHandler.getActiveAlignmentEditor();
47
		AlignmentEditorE4 editor = HandlerTools.getActiveAlignmentEditor();
48 48
		if (editor != null) {
49 49
			if ((e.getSource() == editor.getReadsArea().getSelection()) ||
50 50
					(e.getSource() == editor.getEditableConsensusArea().getSelection())) {

Also available in: Unified diff