X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FRedundancyPanel.java;h=7ceb57094458acb4cc74866aded378704c44d56f;hb=e3a5770d5844eb5cf183424643605611d3545726;hp=98b907e15a9f28cc4abc91d5dc2a37585b0fff5b;hpb=73fac3ff67c2b37e080569c43fc7e100829d2759;p=jalview.git diff --git a/src/jalview/appletgui/RedundancyPanel.java b/src/jalview/appletgui/RedundancyPanel.java index 98b907e..7ceb570 100755 --- a/src/jalview/appletgui/RedundancyPanel.java +++ b/src/jalview/appletgui/RedundancyPanel.java @@ -1,6 +1,6 @@ /* * Jalview - A Sequence Alignment Editor and Viewer - * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -52,7 +52,7 @@ public class RedundancyPanel extends SliderPanel implements Runnable, WindowList valueField.setText("100"); slider.setVisibleAmount(1); - slider.setMinimum(40); + slider.setMinimum(0); slider.setMaximum(100+slider.getVisibleAmount()); slider.setValue(100); @@ -193,14 +193,14 @@ public class RedundancyPanel extends SliderPanel implements Runnable, WindowList } public void applyButton_actionPerformed() { - historyList.push(new HistoryItem("Remove redundancy", - ap.av.alignment, HistoryItem.HIDE)); + // historyList.push(new HistoryItem("Remove redundancy", + // ap.av.alignment, HistoryItem.HIDE)); if ((historyList.size() == 1) || !ap.alignFrame.historyList.contains(historyList.firstElement())) { - ap.alignFrame.addHistoryItem((HistoryItem) historyList.firstElement()); - ap.alignFrame.updateEditMenuBar(); + // ap.alignFrame.addHistoryItem((HistoryItem) historyList.firstElement()); + // ap.alignFrame.updateEditMenuBar(); } Vector del = new Vector(); @@ -243,8 +243,8 @@ public class RedundancyPanel extends SliderPanel implements Runnable, WindowList public void undoButton_actionPerformed() { - HistoryItem hi = (HistoryItem) historyList.pop(); - ap.alignFrame.restoreHistoryItem(hi); + // HistoryItem hi = (HistoryItem) historyList.pop(); + // ap.alignFrame.restoreHistoryItem(hi); if (historyList.size() == 0) { @@ -272,7 +272,7 @@ public class RedundancyPanel extends SliderPanel implements Runnable, WindowList public void windowClosing(WindowEvent evt) { - + ap.idPanel.idCanvas.setHighlighted(null); } public void windowClosed(WindowEvent evt)