- added handler to exported packages
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / handler / alignmenteditor / ChangePherogramQualityOutputType.java
1 // $Id$
2 /**
3 * Copyright (C) 2015 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.taxeditor.editor.handler.alignmenteditor;
11
12
13 import info.bioinfweb.libralign.pherogram.PherogramComponent;
14
15 import org.eclipse.core.commands.ExecutionEvent;
16 import org.eclipse.core.commands.ExecutionException;
17
18
19
20 /**
21 * Switches between the quality output types available for components displaying pherograms.
22 *
23 * @author Ben Stöver
24 * @date 19.06.2015
25 */
26 public class ChangePherogramQualityOutputType extends AbstractPherogramComponentHandler {
27 @Override
28 public void doExecute(ExecutionEvent event, PherogramComponent component) throws ExecutionException {
29 component.getFormats().changeQualityOutputType();
30 }
31 }