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-2416 order score models by order of addition rather than name
[jalview.git]
/
src
/
jalview
/
jbgui
/
GRestInputParamEditDialog.java
diff --git
a/src/jalview/jbgui/GRestInputParamEditDialog.java
b/src/jalview/jbgui/GRestInputParamEditDialog.java
index
31657f0
..
eb1a348
100644
(file)
--- a/
src/jalview/jbgui/GRestInputParamEditDialog.java
+++ b/
src/jalview/jbgui/GRestInputParamEditDialog.java
@@
-1,30
+1,39
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
- * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
* Jalview is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* This file is part of Jalview.
*
* Jalview is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
*
* Jalview is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
*
* Jalview is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
*/
package jalview.jbgui;
*/
package jalview.jbgui;
+import jalview.gui.JvSwingUtils;
+import jalview.gui.OptsAndParamsPage;
+import jalview.util.MessageManager;
+
import java.awt.Dimension;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.Dimension;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
-import jalview.gui.JvSwingUtils;
-import jalview.gui.OptsAndParamsPage;
-
-import javax.swing.*;
+import javax.swing.JLabel;
+import javax.swing.JList;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.JTextField;
+import javax.swing.ListSelectionModel;
import javax.swing.border.TitledBorder;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
import javax.swing.border.TitledBorder;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
@@
-94,16
+103,20
@@
public class GRestInputParamEditDialog
optionsPanel = new JPanel(new MigLayout("", "[fill]", "[fill]"));
JScrollPane optionView = new JScrollPane();
optionView.setViewportView(options);
optionsPanel = new JPanel(new MigLayout("", "[fill]", "[fill]"));
JScrollPane optionView = new JScrollPane();
optionView.setViewportView(options);
- JvSwingUtils.mgAddtoLayout(dpane, "Input Parameter name", new JLabel(
- "Name"), tok, "grow,spanx 3,wrap");
+ JvSwingUtils.mgAddtoLayout(dpane,
+ MessageManager.getString("label.input_parameter_name"),
+ new JLabel(MessageManager.getString("label.name")), tok,
+ "grow,spanx 3,wrap");
JPanel paramsType = new JPanel(new MigLayout("", "[grow 100,fill]",
"[grow 100,fill]"));
JPanel paramsType = new JPanel(new MigLayout("", "[grow 100,fill]",
"[grow 100,fill]"));
- paramsType.setBorder(new TitledBorder("Select input type"));
+ paramsType.setBorder(new TitledBorder(MessageManager
+ .getString("label.select_input_type")));
JScrollPane jlistScroller = new JScrollPane();
jlistScroller.setViewportView(typeList);
paramsType.add(jlistScroller, "spanx 2,spany 2");
dpane.add(paramsType);
JScrollPane jlistScroller = new JScrollPane();
jlistScroller.setViewportView(typeList);
paramsType.add(jlistScroller, "spanx 2,spany 2");
dpane.add(paramsType);
- optionsPanel.setBorder(new TitledBorder("Set options for type"));
+ optionsPanel.setBorder(new TitledBorder(MessageManager
+ .getString("label.set_options_for_type")));
optionsPanel.add(optionView);
dpane.add(optionsPanel, "wrap");
okcancel = new JPanel(new MigLayout("", "[center][center]", "[]"));
optionsPanel.add(optionView);
dpane.add(optionsPanel, "wrap");
okcancel = new JPanel(new MigLayout("", "[center][center]", "[]"));