git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4134 leaves marked when columns are selected - doesn’t refresh automatically...
[jalview.git]
/
src
/
jalview
/
gui
/
LineartOptions.java
diff --git
a/src/jalview/gui/LineartOptions.java
b/src/jalview/gui/LineartOptions.java
index
765a1ac
..
8a530ac
100644
(file)
--- a/
src/jalview/gui/LineartOptions.java
+++ b/
src/jalview/gui/LineartOptions.java
@@
-20,13
+20,10
@@
*/
package jalview.gui;
*/
package jalview.gui;
-import jalview.bin.Cache;
-import jalview.util.MessageManager;
-import jalview.util.dialogrunner.RunResponse;
-
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
+import java.util.concurrent.Callable;
import java.util.concurrent.atomic.AtomicBoolean;
import javax.swing.BorderFactory;
import java.util.concurrent.atomic.AtomicBoolean;
import javax.swing.BorderFactory;
@@
-36,6
+33,9
@@
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
+import jalview.bin.Cache;
+import jalview.util.MessageManager;
+
/**
* A dialog where the user may choose Text or Lineart rendering, and optionally
* save this as a preference ("Don't ask me again")
/**
* A dialog where the user may choose Text or Lineart rendering, and optionally
* save this as a preference ("Don't ask me again")
@@
-96,9
+96,9
@@
public class LineartOptions extends JPanel
*
* @param action
*/
*
* @param action
*/
- public void setResponseAction(RunResponse action)
+ public void setResponseAction(Object response, Callable action)
{
{
- dialog.addResponse(action);
+ dialog.setResponseHandler(response, action);
}
/**
}
/**