From ad37a7bb38cec8206086747f6d0d97eaaae88eec Mon Sep 17 00:00:00 2001 From: kiramt Date: Tue, 14 Feb 2017 13:47:50 +0000 Subject: [PATCH] JAL-2388 Removed unnecessary CommandListener interface from Viewports --- src/jalview/appletgui/AlignViewport.java | 3 +-- src/jalview/gui/AlignViewport.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/jalview/appletgui/AlignViewport.java b/src/jalview/appletgui/AlignViewport.java index fc087c6..951a651 100644 --- a/src/jalview/appletgui/AlignViewport.java +++ b/src/jalview/appletgui/AlignViewport.java @@ -35,7 +35,6 @@ import jalview.datamodel.SequenceI; import jalview.renderer.ResidueShader; import jalview.schemes.ColourSchemeProperty; import jalview.schemes.UserColourScheme; -import jalview.structure.CommandListener; import jalview.structure.SelectionSource; import jalview.structure.StructureSelectionManager; import jalview.structure.VamsasSource; @@ -44,7 +43,7 @@ import jalview.viewmodel.AlignmentViewport; import java.awt.Font; public class AlignViewport extends AlignmentViewport implements - SelectionSource, VamsasSource, CommandListener + SelectionSource { boolean cursorMode = false; diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index 499faaf..87ab946 100644 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -46,7 +46,6 @@ import jalview.schemes.ColourSchemeI; import jalview.schemes.ColourSchemeProperty; import jalview.schemes.ResidueColourScheme; import jalview.schemes.UserColourScheme; -import jalview.structure.CommandListener; import jalview.structure.SelectionSource; import jalview.structure.StructureSelectionManager; import jalview.structure.VamsasSource; @@ -72,7 +71,7 @@ import javax.swing.JInternalFrame; * @version $Revision: 1.141 $ */ public class AlignViewport extends AlignmentViewport implements - SelectionSource, CommandListener + SelectionSource { Font font; -- 1.7.10.2