3 * Copyright (C) 2015 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.molecular
.handler
;
13 import info
.bioinfweb
.libralign
.pherogram
.PherogramComponent
;
15 import org
.eclipse
.core
.commands
.ExecutionEvent
;
16 import org
.eclipse
.core
.commands
.ExecutionException
;
18 import eu
.etaxonomy
.taxeditor
.molecular
.editor
.AlignmentEditor
;
19 import eu
.etaxonomy
.taxeditor
.molecular
.editor
.PherogramViewPart
;
25 * Toggles whether probability values (substitution, overcall and undercall) should be displayed
26 * in pherogram areas of {@link AlignmentEditor} or {@link PherogramViewPart}.
31 public class ToggleShowPherogramProbabilitiesHandler
extends AbstractPherogramComponentHandler
{
33 public void doExecute(ExecutionEvent event
, PherogramComponent component
) throws ExecutionException
{
34 component
.getFormats().toggleShowProbabilityValues();