1 package jalview.structure;
3 import jalview.commands.CommandI;
6 * Defines a listener for commands performed on another alignment. This is to
7 * support linked editing of two alternative representations of an alignment (in
8 * particular, cDNA and protein).
13 public interface CommandListener
16 * The listener may attempt to perform the specified command; the region acted
17 * on is determined by a callback to the StructureSelectionManager (which
18 * holds mappings between alignments).
24 * the originator of the command
26 public void mirrorCommand(CommandI command, boolean undo,
27 StructureSelectionManager ssm, VamsasSource source);
30 * Temporary workaround to make check for source == listener work.
34 public VamsasSource getVamsasSource();