1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.jbgui; |
22 |
|
|
23 |
|
import java.awt.BorderLayout; |
24 |
|
import java.awt.Color; |
25 |
|
import java.awt.Component; |
26 |
|
import java.awt.GridLayout; |
27 |
|
import java.awt.event.ActionEvent; |
28 |
|
import java.awt.event.ActionListener; |
29 |
|
import java.awt.event.FocusAdapter; |
30 |
|
import java.awt.event.FocusEvent; |
31 |
|
import java.awt.event.KeyEvent; |
32 |
|
import java.awt.event.MouseAdapter; |
33 |
|
import java.awt.event.MouseEvent; |
34 |
|
import java.util.HashMap; |
35 |
|
import java.util.List; |
36 |
|
import java.util.Map; |
37 |
|
|
38 |
|
import javax.swing.BorderFactory; |
39 |
|
import javax.swing.ButtonGroup; |
40 |
|
import javax.swing.JCheckBoxMenuItem; |
41 |
|
import javax.swing.JInternalFrame; |
42 |
|
import javax.swing.JLabel; |
43 |
|
import javax.swing.JMenu; |
44 |
|
import javax.swing.JMenuBar; |
45 |
|
import javax.swing.JMenuItem; |
46 |
|
import javax.swing.JPanel; |
47 |
|
import javax.swing.JRadioButtonMenuItem; |
48 |
|
import javax.swing.JTabbedPane; |
49 |
|
import javax.swing.KeyStroke; |
50 |
|
import javax.swing.event.ChangeEvent; |
51 |
|
import javax.swing.event.MenuEvent; |
52 |
|
import javax.swing.event.MenuListener; |
53 |
|
|
54 |
|
import jalview.analysis.AnnotationSorter.SequenceAnnotationOrder; |
55 |
|
import jalview.analysis.GeneticCodeI; |
56 |
|
import jalview.analysis.GeneticCodes; |
57 |
|
import jalview.api.SplitContainerI; |
58 |
|
import jalview.bin.Cache; |
59 |
|
import jalview.gui.JvSwingUtils; |
60 |
|
import jalview.gui.Preferences; |
61 |
|
import jalview.io.FileFormats; |
62 |
|
import jalview.schemes.ResidueColourScheme; |
63 |
|
import jalview.util.MessageManager; |
64 |
|
import jalview.util.Platform; |
65 |
|
|
66 |
|
@SuppressWarnings("serial") |
|
|
| 59% |
Uncovered Elements: 443 (1,081) |
Complexity: 296 |
Complexity Density: 0.38 |
|
67 |
|
public class GAlignFrame extends JInternalFrame |
68 |
|
{ |
69 |
|
protected JMenuBar alignFrameMenuBar = new JMenuBar(); |
70 |
|
|
71 |
|
protected JMenuItem closeMenuItem = new JMenuItem(); |
72 |
|
|
73 |
|
public JMenu webService = new JMenu(); |
74 |
|
|
75 |
|
|
76 |
|
public JMenuItem webServiceNoServices; |
77 |
|
|
78 |
|
|
79 |
|
protected JCheckBoxMenuItem viewBoxesMenuItem = new JCheckBoxMenuItem(); |
80 |
|
|
81 |
|
protected JCheckBoxMenuItem viewTextMenuItem = new JCheckBoxMenuItem(); |
82 |
|
|
83 |
|
protected JMenu sortByAnnotScore = new JMenu(); |
84 |
|
|
85 |
|
public JLabel statusBar = new JLabel(); |
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
protected JMenu outputTextboxMenu = new JMenu(); |
90 |
|
|
91 |
|
protected JCheckBoxMenuItem annotationPanelMenuItem = new JCheckBoxMenuItem(); |
92 |
|
|
93 |
|
protected JCheckBoxMenuItem colourTextMenuItem = new JCheckBoxMenuItem(); |
94 |
|
|
95 |
|
protected JCheckBoxMenuItem showNonconservedMenuItem = new JCheckBoxMenuItem(); |
96 |
|
|
97 |
|
protected JMenuItem undoMenuItem = new JMenuItem(); |
98 |
|
|
99 |
|
protected JMenuItem redoMenuItem = new JMenuItem(); |
100 |
|
|
101 |
|
protected JCheckBoxMenuItem wrapMenuItem = new JCheckBoxMenuItem(); |
102 |
|
|
103 |
|
protected JCheckBoxMenuItem renderGapsMenuItem = new JCheckBoxMenuItem(); |
104 |
|
|
105 |
|
public JCheckBoxMenuItem showSeqFeatures = new JCheckBoxMenuItem(); |
106 |
|
|
107 |
|
JMenuItem copy = new JMenuItem(); |
108 |
|
|
109 |
|
JMenuItem copyHighlighted = new JMenuItem(); |
110 |
|
|
111 |
|
JMenuItem cut = new JMenuItem(); |
112 |
|
|
113 |
|
JMenu pasteMenu = new JMenu(); |
114 |
|
|
115 |
|
protected JCheckBoxMenuItem seqLimits = new JCheckBoxMenuItem(); |
116 |
|
|
117 |
|
protected JCheckBoxMenuItem scaleAbove = new JCheckBoxMenuItem(); |
118 |
|
|
119 |
|
protected JCheckBoxMenuItem scaleLeft = new JCheckBoxMenuItem(); |
120 |
|
|
121 |
|
protected JCheckBoxMenuItem scaleRight = new JCheckBoxMenuItem(); |
122 |
|
|
123 |
|
protected JCheckBoxMenuItem applyToAllGroups; |
124 |
|
|
125 |
|
protected JMenu colourMenu = new JMenu(); |
126 |
|
|
127 |
|
protected JMenuItem textColour; |
128 |
|
|
129 |
|
protected JCheckBoxMenuItem conservationMenuItem; |
130 |
|
|
131 |
|
protected JMenuItem modifyConservation; |
132 |
|
|
133 |
|
protected JCheckBoxMenuItem abovePIDThreshold; |
134 |
|
|
135 |
|
protected JMenuItem modifyPID; |
136 |
|
|
137 |
|
protected JCheckBoxMenuItem byConsensusSecondaryStructureMenuItem; |
138 |
|
|
139 |
|
protected JMenuItem modifyConsensusSecondaryStructureThreshold; |
140 |
|
|
141 |
|
protected JRadioButtonMenuItem annotationColour; |
142 |
|
|
143 |
|
protected JMenu sortByTreeMenu = new JMenu(); |
144 |
|
|
145 |
|
protected JMenu sort = new JMenu(); |
146 |
|
|
147 |
|
protected JMenuItem calculateTree = new JMenuItem(); |
148 |
|
|
149 |
|
protected JCheckBoxMenuItem padGapsMenuitem = new JCheckBoxMenuItem(); |
150 |
|
|
151 |
|
protected JCheckBoxMenuItem showNpFeatsMenuitem = new JCheckBoxMenuItem(); |
152 |
|
|
153 |
|
protected JCheckBoxMenuItem showDbRefsMenuitem = new JCheckBoxMenuItem(); |
154 |
|
|
155 |
|
protected JMenu showTranslation = new JMenu(); |
156 |
|
|
157 |
|
protected JMenuItem showReverse = new JMenuItem(); |
158 |
|
|
159 |
|
protected JMenuItem showReverseComplement = new JMenuItem(); |
160 |
|
|
161 |
|
protected JMenu showProducts = new JMenu(); |
162 |
|
|
163 |
|
protected JMenuItem runGroovy = new JMenuItem(); |
164 |
|
|
165 |
|
protected JMenuItem loadVcf; |
166 |
|
|
167 |
|
protected JCheckBoxMenuItem autoCalculate = new JCheckBoxMenuItem(); |
168 |
|
|
169 |
|
protected JCheckBoxMenuItem sortByTree = new JCheckBoxMenuItem(); |
170 |
|
|
171 |
|
protected JCheckBoxMenuItem listenToViewSelections = new JCheckBoxMenuItem(); |
172 |
|
|
173 |
|
protected JPanel statusPanel = new JPanel(); |
174 |
|
|
175 |
|
protected JMenuItem showAllSeqAnnotations = new JMenuItem(); |
176 |
|
|
177 |
|
protected JMenuItem hideAllSeqAnnotations = new JMenuItem(); |
178 |
|
|
179 |
|
protected JMenuItem showAllAlAnnotations = new JMenuItem(); |
180 |
|
|
181 |
|
protected JMenuItem hideAllAlAnnotations = new JMenuItem(); |
182 |
|
|
183 |
|
protected JCheckBoxMenuItem showComplementMenuItem = new JCheckBoxMenuItem(); |
184 |
|
|
185 |
|
protected JCheckBoxMenuItem hiddenMarkers = new JCheckBoxMenuItem(); |
186 |
|
|
187 |
|
protected JTabbedPane tabbedPane = new JTabbedPane(); |
188 |
|
|
189 |
|
protected JMenuItem reload = new JMenuItem(); |
190 |
|
|
191 |
|
protected JMenu formatMenu = new JMenu(); |
192 |
|
|
193 |
|
protected JCheckBoxMenuItem idRightAlign = new JCheckBoxMenuItem(); |
194 |
|
|
195 |
|
protected JCheckBoxMenuItem centreColumnLabelsMenuItem = new JCheckBoxMenuItem(); |
196 |
|
|
197 |
|
protected JCheckBoxMenuItem followHighlightMenuItem = new JCheckBoxMenuItem(); |
198 |
|
|
199 |
|
protected JMenuItem gatherViews = new JMenuItem(); |
200 |
|
|
201 |
|
protected JMenuItem expandViews = new JMenuItem(); |
202 |
|
|
203 |
|
protected JCheckBoxMenuItem showStrucProvider = new JCheckBoxMenuItem(); |
204 |
|
|
205 |
|
protected JCheckBoxMenuItem showSSConsensus = new JCheckBoxMenuItem(); |
206 |
|
|
207 |
|
protected JCheckBoxMenuItem showGroupSSConsensus = new JCheckBoxMenuItem(); |
208 |
|
|
209 |
|
protected JCheckBoxMenuItem showGroupConsensus = new JCheckBoxMenuItem(); |
210 |
|
|
211 |
|
protected JCheckBoxMenuItem showGroupConservation = new JCheckBoxMenuItem(); |
212 |
|
|
213 |
|
protected JCheckBoxMenuItem showConsensusHistogram = new JCheckBoxMenuItem(); |
214 |
|
|
215 |
|
protected JCheckBoxMenuItem showSequenceLogo = new JCheckBoxMenuItem(); |
216 |
|
|
217 |
|
protected JCheckBoxMenuItem normaliseSequenceLogo = new JCheckBoxMenuItem(); |
218 |
|
|
219 |
|
protected JCheckBoxMenuItem applyAutoAnnotationSettings = new JCheckBoxMenuItem(); |
220 |
|
|
221 |
|
protected JMenuItem openFeatureSettings; |
222 |
|
|
223 |
|
private SequenceAnnotationOrder annotationSortOrder; |
224 |
|
|
225 |
|
private boolean showAutoCalculatedAbove = false; |
226 |
|
|
227 |
|
private Map<KeyStroke, JMenuItem> accelerators = new HashMap<>(); |
228 |
|
|
229 |
|
private SplitContainerI splitFrame; |
230 |
|
|
|
|
| 90.5% |
Uncovered Elements: 2 (21) |
Complexity: 3 |
Complexity Density: 0.16 |
|
231 |
453 |
public GAlignFrame()... |
232 |
|
{ |
233 |
453 |
try |
234 |
|
{ |
235 |
453 |
setFrameIcon(null); |
236 |
|
|
237 |
|
|
238 |
453 |
setName("jalview-alignment"); |
239 |
|
|
240 |
453 |
jbInit(); |
241 |
453 |
setJMenuBar(alignFrameMenuBar); |
242 |
|
|
243 |
|
|
244 |
453 |
for (String ff : FileFormats.getInstance().getWritableFormats(true)) |
245 |
|
{ |
246 |
4983 |
JMenuItem item = new JMenuItem(ff); |
247 |
|
|
248 |
4983 |
item.addActionListener(new ActionListener() |
249 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
250 |
0 |
@Override... |
251 |
|
public void actionPerformed(ActionEvent e) |
252 |
|
{ |
253 |
0 |
outputText_actionPerformed(e.getActionCommand()); |
254 |
|
} |
255 |
|
}); |
256 |
|
|
257 |
4983 |
outputTextboxMenu.add(item); |
258 |
|
} |
259 |
|
} catch (Exception e) |
260 |
|
{ |
261 |
0 |
jalview.bin.Console.errPrintln(e.toString()); |
262 |
|
} |
263 |
|
|
264 |
453 |
if (Platform.allowMnemonics()) |
265 |
|
{ |
266 |
453 |
closeMenuItem.setMnemonic('C'); |
267 |
453 |
outputTextboxMenu.setMnemonic('T'); |
268 |
453 |
undoMenuItem.setMnemonic('Z'); |
269 |
453 |
redoMenuItem.setMnemonic('0'); |
270 |
453 |
copy.setMnemonic('C'); |
271 |
453 |
cut.setMnemonic('U'); |
272 |
453 |
pasteMenu.setMnemonic('P'); |
273 |
453 |
reload.setMnemonic('R'); |
274 |
|
} |
275 |
|
} |
276 |
|
|
|
|
| 99.1% |
Uncovered Elements: 5 (576) |
Complexity: 7 |
Complexity Density: 0.01 |
|
277 |
453 |
private void jbInit() throws Exception... |
278 |
|
{ |
279 |
453 |
setFrameIcon(null); |
280 |
453 |
initColourMenu(); |
281 |
|
|
282 |
453 |
JMenuItem saveAs = new JMenuItem( |
283 |
|
MessageManager.getString("action.save_as")); |
284 |
453 |
ActionListener al = new ActionListener() |
285 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
286 |
0 |
@Override... |
287 |
|
public void actionPerformed(ActionEvent e) |
288 |
|
{ |
289 |
0 |
saveAs_actionPerformed(); |
290 |
|
} |
291 |
|
}; |
292 |
|
|
293 |
|
|
294 |
453 |
KeyStroke keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_S, |
295 |
|
jalview.util.ShortcutKeyMaskExWrapper.getMenuShortcutKeyMaskEx() |
296 |
|
| jalview.util.ShortcutKeyMaskExWrapper.SHIFT_DOWN_MASK, |
297 |
|
false); |
298 |
453 |
addMenuActionAndAccelerator(keyStroke, saveAs, al); |
299 |
|
|
300 |
453 |
closeMenuItem.setText(MessageManager.getString("action.close")); |
301 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_W, |
302 |
|
jalview.util.ShortcutKeyMaskExWrapper |
303 |
|
.getMenuShortcutKeyMaskEx(), |
304 |
|
false); |
305 |
453 |
al = new ActionListener() |
306 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
307 |
0 |
@Override... |
308 |
|
public void actionPerformed(ActionEvent e) |
309 |
|
{ |
310 |
0 |
closeMenuItem_actionPerformed(false); |
311 |
|
} |
312 |
|
}; |
313 |
453 |
addMenuActionAndAccelerator(keyStroke, closeMenuItem, al); |
314 |
|
|
315 |
453 |
JMenu editMenu = new JMenu(MessageManager.getString("action.edit")); |
316 |
453 |
JMenu viewMenu = new JMenu(MessageManager.getString("action.view")); |
317 |
453 |
JMenu annotationsMenu = new JMenu( |
318 |
|
MessageManager.getString("action.annotations")); |
319 |
453 |
JMenu showMenu = new JMenu(MessageManager.getString("action.show")); |
320 |
453 |
colourMenu.setText(MessageManager.getString("action.colour")); |
321 |
453 |
JMenu calculateMenu = new JMenu( |
322 |
|
MessageManager.getString("action.calculate")); |
323 |
453 |
webService.setText(MessageManager.getString("action.web_service")); |
324 |
453 |
JMenuItem selectAllSequenceMenuItem = new JMenuItem( |
325 |
|
MessageManager.getString("action.select_all")); |
326 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_A, |
327 |
|
jalview.util.ShortcutKeyMaskExWrapper |
328 |
|
.getMenuShortcutKeyMaskEx(), |
329 |
|
false); |
330 |
453 |
al = new ActionListener() |
331 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
332 |
0 |
@Override... |
333 |
|
public void actionPerformed(ActionEvent e) |
334 |
|
{ |
335 |
0 |
selectAllSequenceMenuItem_actionPerformed(e); |
336 |
|
} |
337 |
|
}; |
338 |
453 |
addMenuActionAndAccelerator(keyStroke, selectAllSequenceMenuItem, al); |
339 |
|
|
340 |
453 |
JMenuItem deselectAllSequenceMenuItem = new JMenuItem( |
341 |
|
MessageManager.getString("action.deselect_all")); |
342 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0, false); |
343 |
453 |
al = new ActionListener() |
344 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
345 |
0 |
@Override... |
346 |
|
public void actionPerformed(ActionEvent e) |
347 |
|
{ |
348 |
0 |
deselectAllSequenceMenuItem_actionPerformed(e); |
349 |
|
} |
350 |
|
}; |
351 |
453 |
addMenuActionAndAccelerator(keyStroke, deselectAllSequenceMenuItem, al); |
352 |
|
|
353 |
453 |
JMenuItem invertSequenceMenuItem = new JMenuItem( |
354 |
|
MessageManager.getString("action.invert_sequence_selection")); |
355 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_I, |
356 |
|
jalview.util.ShortcutKeyMaskExWrapper |
357 |
|
.getMenuShortcutKeyMaskEx(), |
358 |
|
false); |
359 |
453 |
al = new ActionListener() |
360 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
361 |
0 |
@Override... |
362 |
|
public void actionPerformed(ActionEvent e) |
363 |
|
{ |
364 |
0 |
invertSequenceMenuItem_actionPerformed(e); |
365 |
|
} |
366 |
|
}; |
367 |
453 |
addMenuActionAndAccelerator(keyStroke, invertSequenceMenuItem, al); |
368 |
|
|
369 |
453 |
JMenuItem grpsFromSelection = new JMenuItem( |
370 |
|
MessageManager.getString("action.make_groups_selection")); |
371 |
453 |
grpsFromSelection.addActionListener(new ActionListener() |
372 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
373 |
0 |
@Override... |
374 |
|
public void actionPerformed(ActionEvent e) |
375 |
|
{ |
376 |
0 |
makeGrpsFromSelection_actionPerformed(e); |
377 |
|
} |
378 |
|
}); |
379 |
453 |
JMenuItem expandAlignment = new JMenuItem( |
380 |
|
MessageManager.getString("action.view_flanking_regions")); |
381 |
453 |
expandAlignment.setToolTipText( |
382 |
|
MessageManager.getString("label.view_flanking_regions")); |
383 |
453 |
expandAlignment.addActionListener(new ActionListener() |
384 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
385 |
0 |
@Override... |
386 |
|
public void actionPerformed(ActionEvent e) |
387 |
|
{ |
388 |
0 |
expand_newalign(e); |
389 |
|
} |
390 |
|
}); |
391 |
453 |
JMenuItem remove2LeftMenuItem = new JMenuItem( |
392 |
|
MessageManager.getString("action.remove_left")); |
393 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_L, |
394 |
|
jalview.util.ShortcutKeyMaskExWrapper |
395 |
|
.getMenuShortcutKeyMaskEx(), |
396 |
|
false); |
397 |
453 |
al = new ActionListener() |
398 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
399 |
0 |
@Override... |
400 |
|
public void actionPerformed(ActionEvent e) |
401 |
|
{ |
402 |
0 |
remove2LeftMenuItem_actionPerformed(e); |
403 |
|
} |
404 |
|
}; |
405 |
453 |
addMenuActionAndAccelerator(keyStroke, remove2LeftMenuItem, al); |
406 |
|
|
407 |
453 |
JMenuItem remove2RightMenuItem = new JMenuItem( |
408 |
|
MessageManager.getString("action.remove_right")); |
409 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_R, |
410 |
|
jalview.util.ShortcutKeyMaskExWrapper |
411 |
|
.getMenuShortcutKeyMaskEx(), |
412 |
|
false); |
413 |
453 |
al = new ActionListener() |
414 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
415 |
0 |
@Override... |
416 |
|
public void actionPerformed(ActionEvent e) |
417 |
|
{ |
418 |
0 |
remove2RightMenuItem_actionPerformed(e); |
419 |
|
} |
420 |
|
}; |
421 |
453 |
addMenuActionAndAccelerator(keyStroke, remove2RightMenuItem, al); |
422 |
|
|
423 |
453 |
JMenuItem removeGappedColumnMenuItem = new JMenuItem( |
424 |
|
MessageManager.getString("action.remove_empty_columns")); |
425 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_E, |
426 |
|
jalview.util.ShortcutKeyMaskExWrapper |
427 |
|
.getMenuShortcutKeyMaskEx(), |
428 |
|
false); |
429 |
453 |
al = new ActionListener() |
430 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
431 |
0 |
@Override... |
432 |
|
public void actionPerformed(ActionEvent e) |
433 |
|
{ |
434 |
0 |
removeGappedColumnMenuItem_actionPerformed(e); |
435 |
|
} |
436 |
|
}; |
437 |
453 |
addMenuActionAndAccelerator(keyStroke, removeGappedColumnMenuItem, al); |
438 |
|
|
439 |
453 |
JMenuItem removeAllGapsMenuItem = new JMenuItem( |
440 |
|
MessageManager.getString("action.remove_all_gaps")); |
441 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_E, |
442 |
|
jalview.util.ShortcutKeyMaskExWrapper.getMenuShortcutKeyMaskEx() |
443 |
|
| jalview.util.ShortcutKeyMaskExWrapper.SHIFT_DOWN_MASK, |
444 |
|
false); |
445 |
453 |
al = new ActionListener() |
446 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
447 |
0 |
@Override... |
448 |
|
public void actionPerformed(ActionEvent e) |
449 |
|
{ |
450 |
0 |
removeAllGapsMenuItem_actionPerformed(e); |
451 |
|
} |
452 |
|
}; |
453 |
453 |
addMenuActionAndAccelerator(keyStroke, removeAllGapsMenuItem, al); |
454 |
|
|
455 |
453 |
JMenuItem justifyLeftMenuItem = new JMenuItem( |
456 |
|
MessageManager.getString("action.left_justify")); |
457 |
453 |
justifyLeftMenuItem.setToolTipText( |
458 |
|
MessageManager.getString("tooltip.left_justify")); |
459 |
453 |
justifyLeftMenuItem.addActionListener(new ActionListener() |
460 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
461 |
0 |
@Override... |
462 |
|
public void actionPerformed(ActionEvent e) |
463 |
|
{ |
464 |
0 |
justifyLeftMenuItem_actionPerformed(e); |
465 |
|
} |
466 |
|
}); |
467 |
453 |
JMenuItem justifyRightMenuItem = new JMenuItem( |
468 |
|
MessageManager.getString("action.right_justify")); |
469 |
453 |
justifyRightMenuItem.setToolTipText( |
470 |
|
MessageManager.getString("action.left_justify")); |
471 |
|
|
472 |
453 |
justifyRightMenuItem.addActionListener(new ActionListener() |
473 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
474 |
0 |
@Override... |
475 |
|
public void actionPerformed(ActionEvent e) |
476 |
|
{ |
477 |
0 |
justifyRightMenuItem_actionPerformed(e); |
478 |
|
} |
479 |
|
}); |
480 |
453 |
viewBoxesMenuItem.setText(MessageManager.getString("action.boxes")); |
481 |
453 |
viewBoxesMenuItem.setState(true); |
482 |
453 |
viewBoxesMenuItem.addActionListener(new ActionListener() |
483 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
484 |
0 |
@Override... |
485 |
|
public void actionPerformed(ActionEvent e) |
486 |
|
{ |
487 |
0 |
viewBoxesMenuItem_actionPerformed(e); |
488 |
|
} |
489 |
|
}); |
490 |
453 |
viewTextMenuItem.setText(MessageManager.getString("action.text")); |
491 |
453 |
viewTextMenuItem.setState(true); |
492 |
453 |
viewTextMenuItem.addActionListener(new ActionListener() |
493 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
494 |
0 |
@Override... |
495 |
|
public void actionPerformed(ActionEvent e) |
496 |
|
{ |
497 |
0 |
viewTextMenuItem_actionPerformed(e); |
498 |
|
} |
499 |
|
}); |
500 |
453 |
showNonconservedMenuItem |
501 |
|
.setText(MessageManager.getString("label.show_non_conserved")); |
502 |
453 |
showNonconservedMenuItem.setState(false); |
503 |
453 |
showNonconservedMenuItem.addActionListener(new ActionListener() |
504 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
505 |
0 |
@Override... |
506 |
|
public void actionPerformed(ActionEvent e) |
507 |
|
{ |
508 |
0 |
showUnconservedMenuItem_actionPerformed(e); |
509 |
|
} |
510 |
|
}); |
511 |
453 |
JMenuItem sortPairwiseMenuItem = new JMenuItem( |
512 |
|
MessageManager.getString("action.by_pairwise_id")); |
513 |
453 |
sortPairwiseMenuItem.addActionListener(new ActionListener() |
514 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
515 |
0 |
@Override... |
516 |
|
public void actionPerformed(ActionEvent e) |
517 |
|
{ |
518 |
0 |
sortPairwiseMenuItem_actionPerformed(e); |
519 |
|
} |
520 |
|
}); |
521 |
453 |
JMenuItem sortIDMenuItem = new JMenuItem( |
522 |
|
MessageManager.getString("action.by_id")); |
523 |
453 |
sortIDMenuItem.addActionListener(new ActionListener() |
524 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
525 |
0 |
@Override... |
526 |
|
public void actionPerformed(ActionEvent e) |
527 |
|
{ |
528 |
0 |
sortIDMenuItem_actionPerformed(e); |
529 |
|
} |
530 |
|
}); |
531 |
453 |
JMenuItem sortLengthMenuItem = new JMenuItem( |
532 |
|
MessageManager.getString("action.by_length")); |
533 |
453 |
sortLengthMenuItem.addActionListener(new ActionListener() |
534 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
535 |
0 |
@Override... |
536 |
|
public void actionPerformed(ActionEvent e) |
537 |
|
{ |
538 |
0 |
sortLengthMenuItem_actionPerformed(e); |
539 |
|
} |
540 |
|
}); |
541 |
453 |
JMenuItem sortGroupMenuItem = new JMenuItem( |
542 |
|
MessageManager.getString("action.by_group")); |
543 |
453 |
sortGroupMenuItem.addActionListener(new ActionListener() |
544 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
545 |
0 |
@Override... |
546 |
|
public void actionPerformed(ActionEvent e) |
547 |
|
{ |
548 |
0 |
sortGroupMenuItem_actionPerformed(e); |
549 |
|
} |
550 |
|
}); |
551 |
|
|
552 |
453 |
JMenuItem removeRedundancyMenuItem = new JMenuItem( |
553 |
|
MessageManager.getString("action.remove_redundancy")); |
554 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_D, |
555 |
|
jalview.util.ShortcutKeyMaskExWrapper |
556 |
|
.getMenuShortcutKeyMaskEx(), |
557 |
|
false); |
558 |
453 |
al = new ActionListener() |
559 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
560 |
0 |
@Override... |
561 |
|
public void actionPerformed(ActionEvent e) |
562 |
|
{ |
563 |
0 |
removeRedundancyMenuItem_actionPerformed(e); |
564 |
|
} |
565 |
|
}; |
566 |
453 |
addMenuActionAndAccelerator(keyStroke, removeRedundancyMenuItem, al); |
567 |
|
|
568 |
453 |
JMenuItem pairwiseAlignmentMenuItem = new JMenuItem( |
569 |
|
MessageManager.getString("action.pairwise_alignment")); |
570 |
453 |
pairwiseAlignmentMenuItem.addActionListener(new ActionListener() |
571 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
572 |
0 |
@Override... |
573 |
|
public void actionPerformed(ActionEvent e) |
574 |
|
{ |
575 |
0 |
pairwiseAlignmentMenuItem_actionPerformed(e); |
576 |
|
} |
577 |
|
}); |
578 |
|
|
579 |
453 |
this.getContentPane().setLayout(new BorderLayout()); |
580 |
453 |
alignFrameMenuBar.setFont(new java.awt.Font("Verdana", 0, 11)); |
581 |
453 |
statusBar.setBackground(Color.white); |
582 |
453 |
statusBar.setFont(new java.awt.Font("Verdana", 0, 11)); |
583 |
453 |
statusBar.setBorder(BorderFactory.createLineBorder(Color.black)); |
584 |
453 |
statusBar.setText(MessageManager.getString("label.status_bar")); |
585 |
453 |
outputTextboxMenu |
586 |
|
.setText(MessageManager.getString("label.out_to_textbox")); |
587 |
|
|
588 |
453 |
annotationPanelMenuItem.setActionCommand(""); |
589 |
453 |
annotationPanelMenuItem |
590 |
|
.setText(MessageManager.getString("label.show_annotations")); |
591 |
453 |
annotationPanelMenuItem |
592 |
|
.setState(Cache.getDefault("SHOW_ANNOTATIONS", true)); |
593 |
453 |
annotationPanelMenuItem.addActionListener(new ActionListener() |
594 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
595 |
0 |
@Override... |
596 |
|
public void actionPerformed(ActionEvent e) |
597 |
|
{ |
598 |
0 |
annotationPanelMenuItem_actionPerformed(e); |
599 |
|
} |
600 |
|
}); |
601 |
453 |
showAllAlAnnotations.setText( |
602 |
|
MessageManager.getString("label.show_all_al_annotations")); |
603 |
453 |
final boolean isAnnotationPanelShown = annotationPanelMenuItem |
604 |
|
.getState(); |
605 |
453 |
showAllAlAnnotations.setEnabled(isAnnotationPanelShown); |
606 |
453 |
showAllAlAnnotations.addActionListener(new ActionListener() |
607 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
608 |
0 |
@Override... |
609 |
|
public void actionPerformed(ActionEvent e) |
610 |
|
{ |
611 |
0 |
showAllAnnotations_actionPerformed(false, true); |
612 |
|
} |
613 |
|
}); |
614 |
453 |
hideAllAlAnnotations.setText( |
615 |
|
MessageManager.getString("label.hide_all_al_annotations")); |
616 |
453 |
hideAllAlAnnotations.setEnabled(isAnnotationPanelShown); |
617 |
453 |
hideAllAlAnnotations.addActionListener(new ActionListener() |
618 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
619 |
0 |
@Override... |
620 |
|
public void actionPerformed(ActionEvent e) |
621 |
|
{ |
622 |
0 |
hideAllAnnotations_actionPerformed(false, true); |
623 |
|
} |
624 |
|
}); |
625 |
453 |
showAllSeqAnnotations.setText( |
626 |
|
MessageManager.getString("label.show_all_seq_annotations")); |
627 |
453 |
showAllSeqAnnotations.setEnabled(isAnnotationPanelShown); |
628 |
453 |
showAllSeqAnnotations.addActionListener(new ActionListener() |
629 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
630 |
0 |
@Override... |
631 |
|
public void actionPerformed(ActionEvent e) |
632 |
|
{ |
633 |
0 |
showAllAnnotations_actionPerformed(true, false); |
634 |
|
} |
635 |
|
}); |
636 |
453 |
hideAllSeqAnnotations.setText( |
637 |
|
MessageManager.getString("label.hide_all_seq_annotations")); |
638 |
453 |
hideAllSeqAnnotations.setEnabled(isAnnotationPanelShown); |
639 |
453 |
hideAllSeqAnnotations.addActionListener(new ActionListener() |
640 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
641 |
0 |
@Override... |
642 |
|
public void actionPerformed(ActionEvent e) |
643 |
|
{ |
644 |
0 |
hideAllAnnotations_actionPerformed(true, false); |
645 |
|
} |
646 |
|
}); |
647 |
453 |
SequenceAnnotationOrder sortAnnotationsBy = SequenceAnnotationOrder |
648 |
|
.valueOf(Cache.getDefault(Preferences.SORT_ANNOTATIONS, |
649 |
|
SequenceAnnotationOrder.NONE.name())); |
650 |
453 |
final JCheckBoxMenuItem sortAnnBySequence = new JCheckBoxMenuItem( |
651 |
|
MessageManager.getString("label.sort_annotations_by_sequence")); |
652 |
453 |
final JCheckBoxMenuItem sortAnnByLabel = new JCheckBoxMenuItem( |
653 |
|
MessageManager.getString("label.sort_annotations_by_label")); |
654 |
|
|
655 |
453 |
sortAnnBySequence.setSelected( |
656 |
|
sortAnnotationsBy == SequenceAnnotationOrder.SEQUENCE_AND_LABEL); |
657 |
453 |
sortAnnBySequence.addActionListener(new ActionListener() |
658 |
|
{ |
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
659 |
0 |
@Override... |
660 |
|
public void actionPerformed(ActionEvent e) |
661 |
|
{ |
662 |
0 |
boolean newState = sortAnnBySequence.getState(); |
663 |
0 |
sortAnnByLabel.setSelected(false); |
664 |
0 |
setAnnotationSortOrder( |
665 |
0 |
newState ? SequenceAnnotationOrder.SEQUENCE_AND_LABEL |
666 |
|
: SequenceAnnotationOrder.NONE); |
667 |
0 |
sortAnnotations_actionPerformed(); |
668 |
|
} |
669 |
|
}); |
670 |
453 |
sortAnnByLabel.setSelected( |
671 |
|
sortAnnotationsBy == SequenceAnnotationOrder.LABEL_AND_SEQUENCE); |
672 |
453 |
sortAnnByLabel.addActionListener(new ActionListener() |
673 |
|
{ |
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
674 |
0 |
@Override... |
675 |
|
public void actionPerformed(ActionEvent e) |
676 |
|
{ |
677 |
0 |
boolean newState = sortAnnByLabel.getState(); |
678 |
0 |
sortAnnBySequence.setSelected(false); |
679 |
0 |
setAnnotationSortOrder( |
680 |
0 |
newState ? SequenceAnnotationOrder.LABEL_AND_SEQUENCE |
681 |
|
: SequenceAnnotationOrder.NONE); |
682 |
0 |
sortAnnotations_actionPerformed(); |
683 |
|
} |
684 |
|
}); |
685 |
453 |
showStrucProvider = new JCheckBoxMenuItem( |
686 |
|
MessageManager.getString("label.show_structure_provider")); |
687 |
453 |
showStrucProvider.addActionListener(new ActionListener() |
688 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
689 |
0 |
@Override... |
690 |
|
public void actionPerformed(ActionEvent e) |
691 |
|
{ |
692 |
0 |
showStructureProvider_actionPerformed(e); |
693 |
|
} |
694 |
|
|
695 |
|
}); |
696 |
453 |
colourTextMenuItem = new JCheckBoxMenuItem( |
697 |
|
MessageManager.getString("label.colour_text")); |
698 |
453 |
colourTextMenuItem.addActionListener(new ActionListener() |
699 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
700 |
0 |
@Override... |
701 |
|
public void actionPerformed(ActionEvent e) |
702 |
|
{ |
703 |
0 |
colourTextMenuItem_actionPerformed(e); |
704 |
|
} |
705 |
|
}); |
706 |
|
|
707 |
453 |
JMenuItem htmlMenuItem = new JMenuItem( |
708 |
|
MessageManager.getString("label.html")); |
709 |
453 |
htmlMenuItem.addActionListener(new ActionListener() |
710 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
711 |
0 |
@Override... |
712 |
|
public void actionPerformed(ActionEvent e) |
713 |
|
{ |
714 |
0 |
htmlMenuItem_actionPerformed(e); |
715 |
|
} |
716 |
|
}); |
717 |
|
|
718 |
453 |
JMenuItem createBioJS = new JMenuItem( |
719 |
|
MessageManager.getString("label.biojs_html_export")); |
720 |
453 |
createBioJS.addActionListener(new java.awt.event.ActionListener() |
721 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
722 |
0 |
@Override... |
723 |
|
public void actionPerformed(ActionEvent e) |
724 |
|
{ |
725 |
0 |
bioJSMenuItem_actionPerformed(e); |
726 |
|
} |
727 |
|
}); |
728 |
|
|
729 |
453 |
JMenuItem overviewMenuItem = new JMenuItem( |
730 |
|
MessageManager.getString("label.overview_window")); |
731 |
453 |
overviewMenuItem.addActionListener(new ActionListener() |
732 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
733 |
0 |
@Override... |
734 |
|
public void actionPerformed(ActionEvent e) |
735 |
|
{ |
736 |
0 |
overviewMenuItem_actionPerformed(e); |
737 |
|
} |
738 |
|
}); |
739 |
|
|
740 |
453 |
undoMenuItem.setEnabled(false); |
741 |
453 |
undoMenuItem.setText(MessageManager.getString("action.undo")); |
742 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_Z, |
743 |
|
jalview.util.ShortcutKeyMaskExWrapper |
744 |
|
.getMenuShortcutKeyMaskEx(), |
745 |
|
false); |
746 |
453 |
al = new ActionListener() |
747 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
748 |
0 |
@Override... |
749 |
|
public void actionPerformed(ActionEvent e) |
750 |
|
{ |
751 |
0 |
undoMenuItem_actionPerformed(e); |
752 |
|
} |
753 |
|
}; |
754 |
453 |
addMenuActionAndAccelerator(keyStroke, undoMenuItem, al); |
755 |
|
|
756 |
453 |
redoMenuItem.setEnabled(false); |
757 |
453 |
redoMenuItem.setText(MessageManager.getString("action.redo")); |
758 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_Y, |
759 |
|
jalview.util.ShortcutKeyMaskExWrapper |
760 |
|
.getMenuShortcutKeyMaskEx(), |
761 |
|
false); |
762 |
453 |
al = new ActionListener() |
763 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
764 |
0 |
@Override... |
765 |
|
public void actionPerformed(ActionEvent e) |
766 |
|
{ |
767 |
0 |
redoMenuItem_actionPerformed(e); |
768 |
|
} |
769 |
|
}; |
770 |
453 |
addMenuActionAndAccelerator(keyStroke, redoMenuItem, al); |
771 |
|
|
772 |
453 |
wrapMenuItem.setText(MessageManager.getString("label.wrap")); |
773 |
453 |
wrapMenuItem.addActionListener(new ActionListener() |
774 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
775 |
0 |
@Override... |
776 |
|
public void actionPerformed(ActionEvent e) |
777 |
|
{ |
778 |
0 |
wrapMenuItem_actionPerformed(e); |
779 |
|
} |
780 |
|
}); |
781 |
|
|
782 |
453 |
JMenuItem printMenuItem = new JMenuItem( |
783 |
|
MessageManager.getString("action.print")); |
784 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_P, |
785 |
|
jalview.util.ShortcutKeyMaskExWrapper |
786 |
|
.getMenuShortcutKeyMaskEx(), |
787 |
|
false); |
788 |
453 |
al = new ActionListener() |
789 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
790 |
0 |
@Override... |
791 |
|
public void actionPerformed(ActionEvent e) |
792 |
|
{ |
793 |
0 |
printMenuItem_actionPerformed(e); |
794 |
|
} |
795 |
|
}; |
796 |
453 |
addMenuActionAndAccelerator(keyStroke, printMenuItem, al); |
797 |
|
|
798 |
453 |
renderGapsMenuItem |
799 |
|
.setText(MessageManager.getString("action.show_gaps")); |
800 |
453 |
renderGapsMenuItem.setState(true); |
801 |
453 |
renderGapsMenuItem.addActionListener(new ActionListener() |
802 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
803 |
0 |
@Override... |
804 |
|
public void actionPerformed(ActionEvent e) |
805 |
|
{ |
806 |
0 |
renderGapsMenuItem_actionPerformed(e); |
807 |
|
} |
808 |
|
}); |
809 |
|
|
810 |
453 |
JMenuItem findMenuItem = new JMenuItem( |
811 |
|
MessageManager.getString("action.find")); |
812 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_F, |
813 |
|
jalview.util.ShortcutKeyMaskExWrapper |
814 |
|
.getMenuShortcutKeyMaskEx(), |
815 |
|
false); |
816 |
453 |
findMenuItem.setToolTipText(JvSwingUtils.wrapTooltip(true, |
817 |
|
MessageManager.getString("label.find_tip"))); |
818 |
453 |
al = new ActionListener() |
819 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
820 |
0 |
@Override... |
821 |
|
public void actionPerformed(ActionEvent e) |
822 |
|
{ |
823 |
0 |
findMenuItem_actionPerformed(e); |
824 |
|
} |
825 |
|
}; |
826 |
453 |
addMenuActionAndAccelerator(keyStroke, findMenuItem, al); |
827 |
|
|
828 |
453 |
showSeqFeatures.setText( |
829 |
|
MessageManager.getString("label.show_sequence_features")); |
830 |
453 |
showSeqFeatures.addActionListener(new ActionListener() |
831 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
832 |
0 |
@Override... |
833 |
|
public void actionPerformed(ActionEvent actionEvent) |
834 |
|
{ |
835 |
0 |
showSeqFeatures_actionPerformed(actionEvent); |
836 |
|
} |
837 |
|
}); |
838 |
|
|
839 |
|
|
840 |
|
|
841 |
|
|
842 |
|
|
843 |
|
|
844 |
453 |
showDbRefsMenuitem |
845 |
|
.setText(MessageManager.getString("label.show_database_refs")); |
846 |
453 |
showDbRefsMenuitem.addActionListener(new ActionListener() |
847 |
|
{ |
848 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
849 |
0 |
@Override... |
850 |
|
public void actionPerformed(ActionEvent e) |
851 |
|
{ |
852 |
0 |
showDbRefs_actionPerformed(e); |
853 |
|
} |
854 |
|
|
855 |
|
}); |
856 |
453 |
showNpFeatsMenuitem.setText( |
857 |
|
MessageManager.getString("label.show_non_positional_features")); |
858 |
453 |
showNpFeatsMenuitem.addActionListener(new ActionListener() |
859 |
|
{ |
860 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
861 |
0 |
@Override... |
862 |
|
public void actionPerformed(ActionEvent e) |
863 |
|
{ |
864 |
0 |
showNpFeats_actionPerformed(e); |
865 |
|
} |
866 |
|
|
867 |
|
}); |
868 |
453 |
showGroupConservation |
869 |
|
.setText(MessageManager.getString("label.group_conservation")); |
870 |
453 |
showGroupConservation.addActionListener(new ActionListener() |
871 |
|
{ |
872 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
873 |
0 |
@Override... |
874 |
|
public void actionPerformed(ActionEvent e) |
875 |
|
{ |
876 |
0 |
showGroupConservation_actionPerformed(e); |
877 |
|
} |
878 |
|
|
879 |
|
}); |
880 |
|
|
881 |
453 |
showSSConsensus.setText(MessageManager |
882 |
|
.getString("label.show_secondary_structure_consensus")); |
883 |
453 |
showSSConsensus.addActionListener(new ActionListener() |
884 |
|
{ |
885 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
886 |
0 |
@Override... |
887 |
|
public void actionPerformed(ActionEvent e) |
888 |
|
{ |
889 |
0 |
showSSConsensus_actionPerformed(e); |
890 |
|
} |
891 |
|
|
892 |
|
}); |
893 |
|
|
894 |
453 |
showGroupSSConsensus |
895 |
|
.setText(MessageManager.getString("label.group_ss_consensus")); |
896 |
453 |
showGroupSSConsensus.addActionListener(new ActionListener() |
897 |
|
{ |
898 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
899 |
0 |
@Override... |
900 |
|
public void actionPerformed(ActionEvent e) |
901 |
|
{ |
902 |
0 |
showGroupSSConsensus_actionPerformed(e); |
903 |
|
} |
904 |
|
|
905 |
|
}); |
906 |
|
|
907 |
453 |
showGroupConsensus |
908 |
|
.setText(MessageManager.getString("label.group_consensus")); |
909 |
453 |
showGroupConsensus.addActionListener(new ActionListener() |
910 |
|
{ |
911 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
912 |
0 |
@Override... |
913 |
|
public void actionPerformed(ActionEvent e) |
914 |
|
{ |
915 |
0 |
showGroupConsensus_actionPerformed(e); |
916 |
|
} |
917 |
|
|
918 |
|
}); |
919 |
453 |
showConsensusHistogram.setText( |
920 |
|
MessageManager.getString("label.show_consensus_histogram")); |
921 |
453 |
showConsensusHistogram.addActionListener(new ActionListener() |
922 |
|
{ |
923 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
924 |
0 |
@Override... |
925 |
|
public void actionPerformed(ActionEvent e) |
926 |
|
{ |
927 |
0 |
showConsensusHistogram_actionPerformed(e); |
928 |
|
} |
929 |
|
|
930 |
|
}); |
931 |
|
|
932 |
453 |
showSequenceLogo |
933 |
|
.setText(MessageManager.getString("label.show_consensus_logo")); |
934 |
453 |
showSequenceLogo.addActionListener(new ActionListener() |
935 |
|
{ |
936 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
937 |
0 |
@Override... |
938 |
|
public void actionPerformed(ActionEvent e) |
939 |
|
{ |
940 |
0 |
showSequenceLogo_actionPerformed(e); |
941 |
|
} |
942 |
|
|
943 |
|
}); |
944 |
453 |
normaliseSequenceLogo |
945 |
|
.setText(MessageManager.getString("label.norm_consensus_logo")); |
946 |
453 |
normaliseSequenceLogo.addActionListener(new ActionListener() |
947 |
|
{ |
948 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
949 |
0 |
@Override... |
950 |
|
public void actionPerformed(ActionEvent e) |
951 |
|
{ |
952 |
0 |
normaliseSequenceLogo_actionPerformed(e); |
953 |
|
} |
954 |
|
|
955 |
|
}); |
956 |
453 |
applyAutoAnnotationSettings |
957 |
|
.setText(MessageManager.getString("label.apply_all_groups")); |
958 |
453 |
applyAutoAnnotationSettings.setState(false); |
959 |
453 |
applyAutoAnnotationSettings.setVisible(true); |
960 |
453 |
applyAutoAnnotationSettings.addActionListener(new ActionListener() |
961 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
962 |
0 |
@Override... |
963 |
|
public void actionPerformed(ActionEvent e) |
964 |
|
{ |
965 |
0 |
applyAutoAnnotationSettings_actionPerformed(e); |
966 |
|
} |
967 |
|
}); |
968 |
|
|
969 |
453 |
ButtonGroup buttonGroup = new ButtonGroup(); |
970 |
453 |
final JRadioButtonMenuItem showAutoFirst = new JRadioButtonMenuItem( |
971 |
|
MessageManager.getString("label.show_first")); |
972 |
453 |
final JRadioButtonMenuItem showAutoLast = new JRadioButtonMenuItem( |
973 |
|
MessageManager.getString("label.show_last")); |
974 |
453 |
buttonGroup.add(showAutoFirst); |
975 |
453 |
buttonGroup.add(showAutoLast); |
976 |
453 |
final boolean autoFirst = Cache |
977 |
|
.getDefault(Preferences.SHOW_AUTOCALC_ABOVE, false); |
978 |
453 |
showAutoFirst.setSelected(autoFirst); |
979 |
453 |
setShowAutoCalculatedAbove(autoFirst); |
980 |
453 |
showAutoFirst.addActionListener(new ActionListener() |
981 |
|
{ |
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
982 |
0 |
@Override... |
983 |
|
public void actionPerformed(ActionEvent e) |
984 |
|
{ |
985 |
0 |
setShowAutoCalculatedAbove(showAutoFirst.isSelected()); |
986 |
0 |
sortAnnotations_actionPerformed(); |
987 |
|
} |
988 |
|
}); |
989 |
453 |
showAutoLast.setSelected(!showAutoFirst.isSelected()); |
990 |
453 |
showAutoLast.addActionListener(new ActionListener() |
991 |
|
{ |
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
992 |
0 |
@Override... |
993 |
|
public void actionPerformed(ActionEvent e) |
994 |
|
{ |
995 |
0 |
setShowAutoCalculatedAbove(!showAutoLast.isSelected()); |
996 |
0 |
sortAnnotations_actionPerformed(); |
997 |
|
} |
998 |
|
}); |
999 |
|
|
1000 |
453 |
JMenuItem deleteGroups = new JMenuItem( |
1001 |
|
MessageManager.getString("action.undefine_groups")); |
1002 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_U, |
1003 |
|
jalview.util.ShortcutKeyMaskExWrapper |
1004 |
|
.getMenuShortcutKeyMaskEx(), |
1005 |
|
false); |
1006 |
453 |
al = new ActionListener() |
1007 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1008 |
0 |
@Override... |
1009 |
|
public void actionPerformed(ActionEvent e) |
1010 |
|
{ |
1011 |
0 |
deleteGroups_actionPerformed(e); |
1012 |
|
} |
1013 |
|
}; |
1014 |
453 |
addMenuActionAndAccelerator(keyStroke, deleteGroups, al); |
1015 |
|
|
1016 |
453 |
JMenuItem annotationColumn = new JMenuItem( |
1017 |
|
MessageManager.getString("action.select_by_annotation")); |
1018 |
453 |
annotationColumn.addActionListener(new ActionListener() |
1019 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1020 |
0 |
@Override... |
1021 |
|
public void actionPerformed(ActionEvent e) |
1022 |
|
{ |
1023 |
0 |
annotationColumn_actionPerformed(e); |
1024 |
|
} |
1025 |
|
}); |
1026 |
|
|
1027 |
453 |
JMenuItem createGroup = new JMenuItem( |
1028 |
|
MessageManager.getString("action.create_group")); |
1029 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_G, |
1030 |
|
jalview.util.ShortcutKeyMaskExWrapper |
1031 |
|
.getMenuShortcutKeyMaskEx(), |
1032 |
|
false); |
1033 |
453 |
al = new ActionListener() |
1034 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1035 |
0 |
@Override... |
1036 |
|
public void actionPerformed(ActionEvent e) |
1037 |
|
{ |
1038 |
0 |
createGroup_actionPerformed(e); |
1039 |
|
} |
1040 |
|
}; |
1041 |
453 |
addMenuActionAndAccelerator(keyStroke, createGroup, al); |
1042 |
|
|
1043 |
453 |
JMenuItem unGroup = new JMenuItem( |
1044 |
|
MessageManager.getString("action.remove_group")); |
1045 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_G, |
1046 |
|
jalview.util.ShortcutKeyMaskExWrapper.getMenuShortcutKeyMaskEx() |
1047 |
|
| jalview.util.ShortcutKeyMaskExWrapper.SHIFT_DOWN_MASK, |
1048 |
|
false); |
1049 |
453 |
al = new ActionListener() |
1050 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1051 |
0 |
@Override... |
1052 |
|
public void actionPerformed(ActionEvent e) |
1053 |
|
{ |
1054 |
0 |
unGroup_actionPerformed(e); |
1055 |
|
} |
1056 |
|
}; |
1057 |
453 |
addMenuActionAndAccelerator(keyStroke, unGroup, al); |
1058 |
|
|
1059 |
453 |
copy.setText(MessageManager.getString("action.copy")); |
1060 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_C, |
1061 |
|
jalview.util.ShortcutKeyMaskExWrapper |
1062 |
|
.getMenuShortcutKeyMaskEx(), |
1063 |
|
false); |
1064 |
|
|
1065 |
453 |
al = new ActionListener() |
1066 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1067 |
0 |
@Override... |
1068 |
|
public void actionPerformed(ActionEvent e) |
1069 |
|
{ |
1070 |
0 |
copy_actionPerformed(); |
1071 |
|
} |
1072 |
|
}; |
1073 |
453 |
addMenuActionAndAccelerator(keyStroke, copy, al); |
1074 |
|
|
1075 |
453 |
cut.setText(MessageManager.getString("action.cut")); |
1076 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_X, |
1077 |
|
jalview.util.ShortcutKeyMaskExWrapper |
1078 |
|
.getMenuShortcutKeyMaskEx(), |
1079 |
|
false); |
1080 |
453 |
al = new ActionListener() |
1081 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1082 |
0 |
@Override... |
1083 |
|
public void actionPerformed(ActionEvent e) |
1084 |
|
{ |
1085 |
0 |
cut_actionPerformed(); |
1086 |
|
} |
1087 |
|
}; |
1088 |
453 |
addMenuActionAndAccelerator(keyStroke, cut, al); |
1089 |
|
|
1090 |
453 |
JMenuItem delete = new JMenuItem( |
1091 |
|
MessageManager.getString("action.delete")); |
1092 |
453 |
delete.addActionListener(new ActionListener() |
1093 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1094 |
0 |
@Override... |
1095 |
|
public void actionPerformed(ActionEvent e) |
1096 |
|
{ |
1097 |
0 |
delete_actionPerformed(); |
1098 |
|
} |
1099 |
|
}); |
1100 |
|
|
1101 |
453 |
pasteMenu.setText(MessageManager.getString("action.paste")); |
1102 |
453 |
JMenuItem pasteNew = new JMenuItem( |
1103 |
|
MessageManager.getString("label.to_new_alignment")); |
1104 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_V, |
1105 |
|
jalview.util.ShortcutKeyMaskExWrapper.getMenuShortcutKeyMaskEx() |
1106 |
|
| jalview.util.ShortcutKeyMaskExWrapper.SHIFT_DOWN_MASK, |
1107 |
|
false); |
1108 |
453 |
al = new ActionListener() |
1109 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1110 |
0 |
@Override... |
1111 |
|
public void actionPerformed(ActionEvent e) |
1112 |
|
{ |
1113 |
0 |
pasteNew_actionPerformed(e); |
1114 |
|
} |
1115 |
|
}; |
1116 |
453 |
addMenuActionAndAccelerator(keyStroke, pasteNew, al); |
1117 |
|
|
1118 |
453 |
JMenuItem pasteThis = new JMenuItem( |
1119 |
|
MessageManager.getString("label.to_this_alignment")); |
1120 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_V, |
1121 |
|
jalview.util.ShortcutKeyMaskExWrapper |
1122 |
|
.getMenuShortcutKeyMaskEx(), |
1123 |
|
false); |
1124 |
453 |
al = new ActionListener() |
1125 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1126 |
0 |
@Override... |
1127 |
|
public void actionPerformed(ActionEvent e) |
1128 |
|
{ |
1129 |
0 |
pasteThis_actionPerformed(e); |
1130 |
|
} |
1131 |
|
}; |
1132 |
453 |
addMenuActionAndAccelerator(keyStroke, pasteThis, al); |
1133 |
|
|
1134 |
453 |
JMenuItem createPNG = new JMenuItem("PNG"); |
1135 |
453 |
createPNG.addActionListener(new ActionListener() |
1136 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1137 |
0 |
@Override... |
1138 |
|
public void actionPerformed(ActionEvent e) |
1139 |
|
{ |
1140 |
0 |
createPNG_actionPerformed(e); |
1141 |
|
} |
1142 |
|
}); |
1143 |
453 |
createPNG.setActionCommand( |
1144 |
|
MessageManager.getString("label.save_png_image")); |
1145 |
|
|
1146 |
453 |
JMenuItem font = new JMenuItem(MessageManager.getString("action.font")); |
1147 |
453 |
font.addActionListener(new ActionListener() |
1148 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1149 |
0 |
@Override... |
1150 |
|
public void actionPerformed(ActionEvent e) |
1151 |
|
{ |
1152 |
0 |
font_actionPerformed(e); |
1153 |
|
} |
1154 |
|
}); |
1155 |
453 |
seqLimits.setText( |
1156 |
|
MessageManager.getString("label.show_sequence_limits")); |
1157 |
453 |
seqLimits.setState(Cache.getDefault("SHOW_JVSUFFIX", true)); |
1158 |
453 |
seqLimits.addActionListener(new ActionListener() |
1159 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1160 |
0 |
@Override... |
1161 |
|
public void actionPerformed(ActionEvent e) |
1162 |
|
{ |
1163 |
0 |
seqLimit_actionPerformed(e); |
1164 |
|
} |
1165 |
|
}); |
1166 |
453 |
JMenuItem epsFile = new JMenuItem("EPS"); |
1167 |
453 |
epsFile.addActionListener(new ActionListener() |
1168 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1169 |
0 |
@Override... |
1170 |
|
public void actionPerformed(ActionEvent e) |
1171 |
|
{ |
1172 |
0 |
createEPS_actionPerformed(e); |
1173 |
|
} |
1174 |
|
}); |
1175 |
|
|
1176 |
453 |
JMenuItem createSVG = new JMenuItem("SVG"); |
1177 |
453 |
createSVG.addActionListener(new ActionListener() |
1178 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1179 |
0 |
@Override... |
1180 |
|
public void actionPerformed(ActionEvent e) |
1181 |
|
{ |
1182 |
0 |
createSVG_actionPerformed(e); |
1183 |
|
} |
1184 |
|
}); |
1185 |
|
|
1186 |
453 |
JMenuItem loadTreeMenuItem = new JMenuItem( |
1187 |
|
MessageManager.getString("label.load_associated_tree")); |
1188 |
453 |
loadTreeMenuItem.setActionCommand( |
1189 |
|
MessageManager.getString("label.load_tree_for_sequence_set")); |
1190 |
453 |
loadTreeMenuItem.addActionListener(new ActionListener() |
1191 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1192 |
0 |
@Override... |
1193 |
|
public void actionPerformed(ActionEvent e) |
1194 |
|
{ |
1195 |
0 |
loadTreeMenuItem_actionPerformed(e); |
1196 |
|
} |
1197 |
|
}); |
1198 |
|
|
1199 |
453 |
scaleAbove.setVisible(false); |
1200 |
453 |
scaleAbove.setText(MessageManager.getString("action.scale_above")); |
1201 |
453 |
scaleAbove.addActionListener(new ActionListener() |
1202 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1203 |
0 |
@Override... |
1204 |
|
public void actionPerformed(ActionEvent e) |
1205 |
|
{ |
1206 |
0 |
scaleAbove_actionPerformed(e); |
1207 |
|
} |
1208 |
|
}); |
1209 |
453 |
scaleLeft.setVisible(false); |
1210 |
453 |
scaleLeft.setSelected(true); |
1211 |
453 |
scaleLeft.setText(MessageManager.getString("action.scale_left")); |
1212 |
453 |
scaleLeft.addActionListener(new ActionListener() |
1213 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1214 |
0 |
@Override... |
1215 |
|
public void actionPerformed(ActionEvent e) |
1216 |
|
{ |
1217 |
0 |
scaleLeft_actionPerformed(e); |
1218 |
|
} |
1219 |
|
}); |
1220 |
453 |
scaleRight.setVisible(false); |
1221 |
453 |
scaleRight.setSelected(true); |
1222 |
453 |
scaleRight.setText(MessageManager.getString("action.scale_right")); |
1223 |
453 |
scaleRight.addActionListener(new ActionListener() |
1224 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1225 |
0 |
@Override... |
1226 |
|
public void actionPerformed(ActionEvent e) |
1227 |
|
{ |
1228 |
0 |
scaleRight_actionPerformed(e); |
1229 |
|
} |
1230 |
|
}); |
1231 |
453 |
centreColumnLabelsMenuItem.setVisible(true); |
1232 |
453 |
centreColumnLabelsMenuItem.setState(false); |
1233 |
453 |
centreColumnLabelsMenuItem.setText( |
1234 |
|
MessageManager.getString("label.centre_column_labels")); |
1235 |
453 |
centreColumnLabelsMenuItem.addActionListener(new ActionListener() |
1236 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1237 |
0 |
@Override... |
1238 |
|
public void actionPerformed(ActionEvent e) |
1239 |
|
{ |
1240 |
0 |
centreColumnLabels_actionPerformed(e); |
1241 |
|
} |
1242 |
|
}); |
1243 |
453 |
followHighlightMenuItem.setVisible(true); |
1244 |
453 |
followHighlightMenuItem.setState(true); |
1245 |
453 |
followHighlightMenuItem |
1246 |
|
.setText(MessageManager.getString("label.automatic_scrolling")); |
1247 |
453 |
followHighlightMenuItem.addActionListener(new ActionListener() |
1248 |
|
{ |
1249 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1250 |
0 |
@Override... |
1251 |
|
public void actionPerformed(ActionEvent e) |
1252 |
|
{ |
1253 |
0 |
followHighlight_actionPerformed(); |
1254 |
|
} |
1255 |
|
|
1256 |
|
}); |
1257 |
|
|
1258 |
453 |
sortByTreeMenu |
1259 |
|
.setText(MessageManager.getString("action.by_tree_order")); |
1260 |
453 |
sort.setText(MessageManager.getString("action.sort")); |
1261 |
453 |
sort.addMenuListener(new MenuListener() |
1262 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1263 |
0 |
@Override... |
1264 |
|
public void menuSelected(MenuEvent e) |
1265 |
|
{ |
1266 |
0 |
buildTreeSortMenu(); |
1267 |
|
} |
1268 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
1269 |
0 |
@Override... |
1270 |
|
public void menuDeselected(MenuEvent e) |
1271 |
|
{ |
1272 |
|
} |
1273 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
1274 |
0 |
@Override... |
1275 |
|
public void menuCanceled(MenuEvent e) |
1276 |
|
{ |
1277 |
|
} |
1278 |
|
}); |
1279 |
453 |
sortByAnnotScore |
1280 |
|
.setText(MessageManager.getString("label.sort_by_score")); |
1281 |
453 |
sort.add(sortByAnnotScore); |
1282 |
453 |
sort.addMenuListener(new javax.swing.event.MenuListener() |
1283 |
|
{ |
1284 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
1285 |
0 |
@Override... |
1286 |
|
public void menuCanceled(MenuEvent e) |
1287 |
|
{ |
1288 |
|
} |
1289 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
1290 |
0 |
@Override... |
1291 |
|
public void menuDeselected(MenuEvent e) |
1292 |
|
{ |
1293 |
|
} |
1294 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1295 |
0 |
@Override... |
1296 |
|
public void menuSelected(MenuEvent e) |
1297 |
|
{ |
1298 |
0 |
buildSortByAnnotationScoresMenu(); |
1299 |
|
} |
1300 |
|
}); |
1301 |
453 |
sortByAnnotScore.setVisible(false); |
1302 |
|
|
1303 |
453 |
calculateTree |
1304 |
|
.setText(MessageManager.getString("action.calculate_tree_pca")); |
1305 |
|
|
1306 |
453 |
padGapsMenuitem.setText(MessageManager.getString("label.pad_gaps")); |
1307 |
453 |
padGapsMenuitem.setState(Cache.getDefault("PAD_GAPS", false)); |
1308 |
453 |
padGapsMenuitem.addActionListener(new ActionListener() |
1309 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1310 |
0 |
@Override... |
1311 |
|
public void actionPerformed(ActionEvent e) |
1312 |
|
{ |
1313 |
0 |
padGapsMenuitem_actionPerformed(e); |
1314 |
|
} |
1315 |
|
}); |
1316 |
453 |
JMenuItem vamsasStore = new JMenuItem( |
1317 |
|
MessageManager.getString("label.vamsas_store")); |
1318 |
453 |
vamsasStore.setVisible(false); |
1319 |
453 |
vamsasStore.addActionListener(new ActionListener() |
1320 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1321 |
0 |
@Override... |
1322 |
|
public void actionPerformed(ActionEvent e) |
1323 |
|
{ |
1324 |
0 |
vamsasStore_actionPerformed(e); |
1325 |
|
} |
1326 |
|
}); |
1327 |
|
|
1328 |
|
|
1329 |
|
|
1330 |
|
|
1331 |
453 |
showTranslation |
1332 |
|
.setText(MessageManager.getString("label.translate_cDNA")); |
1333 |
453 |
boolean first = true; |
1334 |
453 |
for (final GeneticCodeI table : GeneticCodes.getInstance() |
1335 |
|
.getCodeTables()) |
1336 |
|
{ |
1337 |
11325 |
JMenuItem item = new JMenuItem(table.getId() + " " + table.getName()); |
1338 |
11325 |
showTranslation.add(item); |
1339 |
11325 |
item.addActionListener(new ActionListener() |
1340 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1341 |
0 |
@Override... |
1342 |
|
public void actionPerformed(ActionEvent e) |
1343 |
|
{ |
1344 |
0 |
showTranslation_actionPerformed(table); |
1345 |
|
} |
1346 |
|
}); |
1347 |
11325 |
if (first) |
1348 |
|
{ |
1349 |
453 |
showTranslation.addSeparator(); |
1350 |
|
} |
1351 |
11325 |
first = false; |
1352 |
|
} |
1353 |
|
|
1354 |
453 |
showReverse.setText(MessageManager.getString("label.reverse")); |
1355 |
453 |
showReverse.addActionListener(new ActionListener() |
1356 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1357 |
0 |
@Override... |
1358 |
|
public void actionPerformed(ActionEvent e) |
1359 |
|
{ |
1360 |
0 |
showReverse_actionPerformed(false); |
1361 |
|
} |
1362 |
|
}); |
1363 |
453 |
showReverseComplement |
1364 |
|
.setText(MessageManager.getString("label.reverse_complement")); |
1365 |
453 |
showReverseComplement.addActionListener(new ActionListener() |
1366 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1367 |
0 |
@Override... |
1368 |
|
public void actionPerformed(ActionEvent e) |
1369 |
|
{ |
1370 |
0 |
showReverse_actionPerformed(true); |
1371 |
|
} |
1372 |
|
}); |
1373 |
|
|
1374 |
453 |
JMenuItem extractScores = new JMenuItem( |
1375 |
|
MessageManager.getString("label.extract_scores")); |
1376 |
453 |
extractScores.addActionListener(new ActionListener() |
1377 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1378 |
0 |
@Override... |
1379 |
|
public void actionPerformed(ActionEvent e) |
1380 |
|
{ |
1381 |
0 |
extractScores_actionPerformed(e); |
1382 |
|
} |
1383 |
|
}); |
1384 |
453 |
extractScores.setVisible(true); |
1385 |
|
|
1386 |
|
|
1387 |
|
|
1388 |
453 |
showProducts.setText(MessageManager.getString("label.get_cross_refs")); |
1389 |
|
|
1390 |
453 |
runGroovy.setText(MessageManager.getString("label.run_groovy")); |
1391 |
453 |
runGroovy.setToolTipText( |
1392 |
|
MessageManager.getString("label.run_groovy_tip")); |
1393 |
453 |
runGroovy.addActionListener(new ActionListener() |
1394 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1395 |
0 |
@Override... |
1396 |
|
public void actionPerformed(ActionEvent e) |
1397 |
|
{ |
1398 |
0 |
runGroovy_actionPerformed(); |
1399 |
|
} |
1400 |
|
}); |
1401 |
|
|
1402 |
453 |
openFeatureSettings = new JMenuItem( |
1403 |
|
MessageManager.getString("action.feature_settings")); |
1404 |
453 |
openFeatureSettings.addActionListener(new ActionListener() |
1405 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1406 |
0 |
@Override... |
1407 |
|
public void actionPerformed(ActionEvent e) |
1408 |
|
{ |
1409 |
0 |
featureSettings_actionPerformed(e); |
1410 |
|
} |
1411 |
|
}); |
1412 |
|
|
1413 |
|
|
1414 |
|
|
1415 |
|
|
1416 |
453 |
JMenuItem fetchSequence = new JMenuItem( |
1417 |
|
MessageManager.getString("label.fetch_sequences")); |
1418 |
453 |
fetchSequence.addActionListener(new ActionListener() |
1419 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1420 |
0 |
@Override... |
1421 |
|
public void actionPerformed(ActionEvent e) |
1422 |
|
{ |
1423 |
0 |
fetchSequence_actionPerformed(); |
1424 |
|
} |
1425 |
|
}); |
1426 |
|
|
1427 |
453 |
JMenuItem associatedData = new JMenuItem( |
1428 |
|
MessageManager.getString("label.load_features_annotations")); |
1429 |
453 |
associatedData.addActionListener(new ActionListener() |
1430 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1431 |
0 |
@Override... |
1432 |
|
public void actionPerformed(ActionEvent e) |
1433 |
|
{ |
1434 |
0 |
associatedData_actionPerformed(e); |
1435 |
|
} |
1436 |
|
}); |
1437 |
453 |
loadVcf = new JMenuItem( |
1438 |
|
MessageManager.getString("label.load_vcf_file")); |
1439 |
453 |
loadVcf.setToolTipText(MessageManager.getString("label.load_vcf")); |
1440 |
453 |
loadVcf.addActionListener(new ActionListener() |
1441 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1442 |
0 |
@Override... |
1443 |
|
public void actionPerformed(ActionEvent e) |
1444 |
|
{ |
1445 |
0 |
loadVcf_actionPerformed(); |
1446 |
|
} |
1447 |
|
}); |
1448 |
453 |
autoCalculate.setText( |
1449 |
|
MessageManager.getString("label.autocalculate_consensus")); |
1450 |
453 |
autoCalculate.setState(Cache.getDefault("AUTO_CALC_CONSENSUS", true)); |
1451 |
453 |
autoCalculate.addActionListener(new ActionListener() |
1452 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1453 |
0 |
@Override... |
1454 |
|
public void actionPerformed(ActionEvent e) |
1455 |
|
{ |
1456 |
0 |
autoCalculate_actionPerformed(e); |
1457 |
|
} |
1458 |
|
}); |
1459 |
453 |
sortByTree.setText( |
1460 |
|
MessageManager.getString("label.sort_alignment_new_tree")); |
1461 |
453 |
sortByTree.setToolTipText("<html>" + MessageManager.getString( |
1462 |
|
"label.enable_automatically_sort_alignment_when_open_new_tree")); |
1463 |
453 |
sortByTree.setState(Cache.getDefault("SORT_BY_TREE", false)); |
1464 |
453 |
sortByTree.addActionListener(new ActionListener() |
1465 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1466 |
0 |
@Override... |
1467 |
|
public void actionPerformed(ActionEvent e) |
1468 |
|
{ |
1469 |
0 |
sortByTreeOption_actionPerformed(e); |
1470 |
|
} |
1471 |
|
}); |
1472 |
|
|
1473 |
453 |
listenToViewSelections.setText( |
1474 |
|
MessageManager.getString("label.listen_for_selections")); |
1475 |
453 |
listenToViewSelections |
1476 |
|
.setToolTipText("<html>" + MessageManager.getString( |
1477 |
|
"label.selections_mirror_selections_made_same_sequences_other_views")); |
1478 |
453 |
listenToViewSelections.setState(false); |
1479 |
453 |
listenToViewSelections.addActionListener(new ActionListener() |
1480 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1481 |
0 |
@Override... |
1482 |
|
public void actionPerformed(ActionEvent e) |
1483 |
|
{ |
1484 |
0 |
listenToViewSelections_actionPerformed(e); |
1485 |
|
} |
1486 |
|
}); |
1487 |
|
|
1488 |
453 |
JMenu addSequenceMenu = new JMenu( |
1489 |
|
MessageManager.getString("label.add_sequences")); |
1490 |
453 |
JMenuItem addFromFile = new JMenuItem( |
1491 |
|
MessageManager.getString("label.from_file")); |
1492 |
453 |
addFromFile.addActionListener(new ActionListener() |
1493 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1494 |
0 |
@Override... |
1495 |
|
public void actionPerformed(ActionEvent e) |
1496 |
|
{ |
1497 |
0 |
addFromFile_actionPerformed(e); |
1498 |
|
} |
1499 |
|
}); |
1500 |
453 |
JMenuItem addFromText = new JMenuItem( |
1501 |
|
MessageManager.getString("label.from_textbox")); |
1502 |
453 |
addFromText.addActionListener(new ActionListener() |
1503 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1504 |
0 |
@Override... |
1505 |
|
public void actionPerformed(ActionEvent e) |
1506 |
|
{ |
1507 |
0 |
addFromText_actionPerformed(e); |
1508 |
|
} |
1509 |
|
}); |
1510 |
453 |
JMenuItem addFromURL = new JMenuItem( |
1511 |
|
MessageManager.getString("label.from_url")); |
1512 |
453 |
addFromURL.addActionListener(new ActionListener() |
1513 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1514 |
0 |
@Override... |
1515 |
|
public void actionPerformed(ActionEvent e) |
1516 |
|
{ |
1517 |
0 |
addFromURL_actionPerformed(e); |
1518 |
|
} |
1519 |
|
}); |
1520 |
453 |
JMenuItem exportFeatures = new JMenuItem( |
1521 |
|
MessageManager.getString("label.export_features")); |
1522 |
453 |
exportFeatures.addActionListener(new ActionListener() |
1523 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1524 |
0 |
@Override... |
1525 |
|
public void actionPerformed(ActionEvent e) |
1526 |
|
{ |
1527 |
0 |
exportFeatures_actionPerformed(e); |
1528 |
|
} |
1529 |
|
}); |
1530 |
453 |
JMenuItem exportAnnotations = new JMenuItem( |
1531 |
|
MessageManager.getString("label.export_annotations")); |
1532 |
453 |
exportAnnotations.addActionListener(new ActionListener() |
1533 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1534 |
0 |
@Override... |
1535 |
|
public void actionPerformed(ActionEvent e) |
1536 |
|
{ |
1537 |
0 |
exportAnnotations_actionPerformed(e); |
1538 |
|
} |
1539 |
|
}); |
1540 |
453 |
statusPanel.setLayout(new GridLayout()); |
1541 |
453 |
JMenuItem showAllSeqs = new JMenuItem( |
1542 |
|
MessageManager.getString("label.all_sequences")); |
1543 |
453 |
showAllSeqs.setToolTipText( |
1544 |
|
MessageManager.getString("label.toggle_sequence_visibility")); |
1545 |
453 |
showAllSeqs.addActionListener(new ActionListener() |
1546 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1547 |
0 |
@Override... |
1548 |
|
public void actionPerformed(ActionEvent e) |
1549 |
|
{ |
1550 |
0 |
showAllSeqs_actionPerformed(e); |
1551 |
|
} |
1552 |
|
}); |
1553 |
453 |
JMenuItem showAllColumns = new JMenuItem( |
1554 |
|
MessageManager.getString("label.all_columns")); |
1555 |
453 |
showAllColumns.setToolTipText( |
1556 |
|
MessageManager.getString("label.toggle_columns_visibility")); |
1557 |
453 |
showAllColumns.addActionListener(new ActionListener() |
1558 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1559 |
0 |
@Override... |
1560 |
|
public void actionPerformed(ActionEvent e) |
1561 |
|
{ |
1562 |
0 |
showAllColumns_actionPerformed(e); |
1563 |
|
} |
1564 |
|
}); |
1565 |
453 |
JMenu hideMenu = new JMenu(MessageManager.getString("action.hide")); |
1566 |
453 |
JMenuItem hideSelSequences = new JMenuItem( |
1567 |
|
MessageManager.getString("label.selected_sequences")); |
1568 |
453 |
hideSelSequences.setToolTipText( |
1569 |
|
MessageManager.getString("label.toggle_sequence_visibility")); |
1570 |
453 |
hideSelSequences.addActionListener(new ActionListener() |
1571 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1572 |
0 |
@Override... |
1573 |
|
public void actionPerformed(ActionEvent e) |
1574 |
|
{ |
1575 |
0 |
hideSelSequences_actionPerformed(e); |
1576 |
|
} |
1577 |
|
}); |
1578 |
453 |
JMenuItem hideSelColumns = new JMenuItem( |
1579 |
|
MessageManager.getString("label.selected_columns")); |
1580 |
453 |
hideSelColumns.setToolTipText( |
1581 |
|
MessageManager.getString("label.toggle_columns_visibility")); |
1582 |
453 |
hideSelColumns.addActionListener(new ActionListener() |
1583 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1584 |
0 |
@Override... |
1585 |
|
public void actionPerformed(ActionEvent e) |
1586 |
|
{ |
1587 |
0 |
hideSelColumns_actionPerformed(e); |
1588 |
|
} |
1589 |
|
}); |
1590 |
453 |
JMenuItem hideAllSelection = new JMenuItem( |
1591 |
|
MessageManager.getString("label.selected_region")); |
1592 |
453 |
hideAllSelection.addActionListener(new ActionListener() |
1593 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1594 |
0 |
@Override... |
1595 |
|
public void actionPerformed(ActionEvent e) |
1596 |
|
{ |
1597 |
0 |
hideAllSelection_actionPerformed(e); |
1598 |
|
} |
1599 |
|
}); |
1600 |
|
|
1601 |
453 |
JMenuItem hideAllButSelection = new JMenuItem( |
1602 |
|
MessageManager.getString("label.all_but_selected_region")); |
1603 |
453 |
hideAllButSelection.addActionListener(new ActionListener() |
1604 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1605 |
0 |
@Override... |
1606 |
|
public void actionPerformed(ActionEvent e) |
1607 |
|
{ |
1608 |
0 |
hideAllButSelection_actionPerformed(e); |
1609 |
|
} |
1610 |
|
}); |
1611 |
453 |
JMenuItem showAllhidden = new JMenuItem( |
1612 |
|
MessageManager.getString("label.all_sequences_columns")); |
1613 |
453 |
showAllhidden.setToolTipText(MessageManager |
1614 |
|
.getString("label.toggles_visibility_hidden_selected_regions")); |
1615 |
453 |
showAllhidden.addActionListener(new ActionListener() |
1616 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1617 |
0 |
@Override... |
1618 |
|
public void actionPerformed(ActionEvent e) |
1619 |
|
{ |
1620 |
0 |
showAllhidden_actionPerformed(e); |
1621 |
|
} |
1622 |
|
}); |
1623 |
453 |
hiddenMarkers.setText( |
1624 |
|
MessageManager.getString("action.show_hidden_markers")); |
1625 |
453 |
hiddenMarkers.addActionListener(new ActionListener() |
1626 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1627 |
0 |
@Override... |
1628 |
|
public void actionPerformed(ActionEvent e) |
1629 |
|
{ |
1630 |
0 |
hiddenMarkers_actionPerformed(e); |
1631 |
|
} |
1632 |
|
}); |
1633 |
|
|
1634 |
453 |
JMenuItem invertColSel = new JMenuItem( |
1635 |
|
MessageManager.getString("action.invert_column_selection")); |
1636 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_I, |
1637 |
|
jalview.util.ShortcutKeyMaskExWrapper.getMenuShortcutKeyMaskEx() |
1638 |
|
| jalview.util.ShortcutKeyMaskExWrapper.ALT_DOWN_MASK, |
1639 |
|
false); |
1640 |
453 |
al = new ActionListener() |
1641 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1642 |
0 |
@Override... |
1643 |
|
public void actionPerformed(ActionEvent e) |
1644 |
|
{ |
1645 |
0 |
invertColSel_actionPerformed(e); |
1646 |
|
} |
1647 |
|
}; |
1648 |
453 |
addMenuActionAndAccelerator(keyStroke, invertColSel, al); |
1649 |
|
|
1650 |
453 |
showComplementMenuItem.setVisible(false); |
1651 |
453 |
showComplementMenuItem.addActionListener(new ActionListener() |
1652 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1653 |
0 |
@Override... |
1654 |
|
public void actionPerformed(ActionEvent e) |
1655 |
|
{ |
1656 |
0 |
showComplement_actionPerformed(showComplementMenuItem.getState()); |
1657 |
|
} |
1658 |
|
}); |
1659 |
|
|
1660 |
453 |
tabbedPane.addChangeListener(new javax.swing.event.ChangeListener() |
1661 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
1662 |
157 |
@Override... |
1663 |
|
public void stateChanged(ChangeEvent evt) |
1664 |
|
{ |
1665 |
157 |
JTabbedPane pane = (JTabbedPane) evt.getSource(); |
1666 |
157 |
int sel = pane.getSelectedIndex(); |
1667 |
157 |
tabSelectionChanged(sel); |
1668 |
|
} |
1669 |
|
}); |
1670 |
453 |
tabbedPane.addMouseListener(new MouseAdapter() |
1671 |
|
{ |
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
1672 |
0 |
@Override... |
1673 |
|
public void mousePressed(MouseEvent e) |
1674 |
|
{ |
1675 |
0 |
if (e.isPopupTrigger()) |
1676 |
|
{ |
1677 |
0 |
tabbedPane_mousePressed(e); |
1678 |
|
} |
1679 |
|
} |
1680 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
1681 |
0 |
@Override... |
1682 |
|
public void mouseReleased(MouseEvent e) |
1683 |
|
{ |
1684 |
0 |
if (e.isPopupTrigger()) |
1685 |
|
{ |
1686 |
0 |
tabbedPane_mousePressed(e); |
1687 |
|
} |
1688 |
|
} |
1689 |
|
}); |
1690 |
453 |
tabbedPane.addFocusListener(new FocusAdapter() |
1691 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1692 |
62 |
@Override... |
1693 |
|
public void focusGained(FocusEvent e) |
1694 |
|
{ |
1695 |
62 |
tabbedPane_focusGained(e); |
1696 |
|
} |
1697 |
|
}); |
1698 |
|
|
1699 |
453 |
JMenuItem save = new JMenuItem(MessageManager.getString("action.save")); |
1700 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_S, |
1701 |
|
jalview.util.ShortcutKeyMaskExWrapper |
1702 |
|
.getMenuShortcutKeyMaskEx(), |
1703 |
|
false); |
1704 |
453 |
al = new ActionListener() |
1705 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1706 |
0 |
@Override... |
1707 |
|
public void actionPerformed(ActionEvent e) |
1708 |
|
{ |
1709 |
0 |
save_actionPerformed(e); |
1710 |
|
} |
1711 |
|
}; |
1712 |
453 |
addMenuActionAndAccelerator(keyStroke, save, al); |
1713 |
|
|
1714 |
453 |
reload.setEnabled(false); |
1715 |
453 |
reload.setText(MessageManager.getString("action.reload")); |
1716 |
453 |
reload.addActionListener(new ActionListener() |
1717 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1718 |
0 |
@Override... |
1719 |
|
public void actionPerformed(ActionEvent e) |
1720 |
|
{ |
1721 |
0 |
reload_actionPerformed(e); |
1722 |
|
} |
1723 |
|
}); |
1724 |
|
|
1725 |
453 |
JMenuItem newView = new JMenuItem( |
1726 |
|
MessageManager.getString("action.new_view")); |
1727 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_T, |
1728 |
|
jalview.util.ShortcutKeyMaskExWrapper |
1729 |
|
.getMenuShortcutKeyMaskEx(), |
1730 |
|
false); |
1731 |
453 |
al = new ActionListener() |
1732 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1733 |
0 |
@Override... |
1734 |
|
public void actionPerformed(ActionEvent e) |
1735 |
|
{ |
1736 |
0 |
newView_actionPerformed(e); |
1737 |
|
} |
1738 |
|
}; |
1739 |
453 |
addMenuActionAndAccelerator(keyStroke, newView, al); |
1740 |
|
|
1741 |
453 |
tabbedPane.setToolTipText("<html><i>" |
1742 |
|
+ MessageManager.getString("label.rename_tab_eXpand_reGroup") |
1743 |
|
+ "</i></html>"); |
1744 |
|
|
1745 |
453 |
formatMenu.setText(MessageManager.getString("action.format")); |
1746 |
453 |
JMenu selectMenu = new JMenu(MessageManager.getString("action.select")); |
1747 |
|
|
1748 |
453 |
idRightAlign.setText( |
1749 |
|
MessageManager.getString("label.right_align_sequence_id")); |
1750 |
453 |
idRightAlign.addActionListener(new ActionListener() |
1751 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1752 |
0 |
@Override... |
1753 |
|
public void actionPerformed(ActionEvent e) |
1754 |
|
{ |
1755 |
0 |
idRightAlign_actionPerformed(e); |
1756 |
|
} |
1757 |
|
}); |
1758 |
|
|
1759 |
453 |
gatherViews.setEnabled(false); |
1760 |
453 |
gatherViews.setText(MessageManager.getString("action.gather_views")); |
1761 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_G, 0, false); |
1762 |
453 |
al = new ActionListener() |
1763 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1764 |
0 |
@Override... |
1765 |
|
public void actionPerformed(ActionEvent e) |
1766 |
|
{ |
1767 |
0 |
gatherViews_actionPerformed(e); |
1768 |
|
} |
1769 |
|
}; |
1770 |
453 |
addMenuActionAndAccelerator(keyStroke, gatherViews, al); |
1771 |
|
|
1772 |
453 |
expandViews.setEnabled(false); |
1773 |
453 |
expandViews.setText(MessageManager.getString("action.expand_views")); |
1774 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_X, 0, false); |
1775 |
453 |
al = new ActionListener() |
1776 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1777 |
0 |
@Override... |
1778 |
|
public void actionPerformed(ActionEvent e) |
1779 |
|
{ |
1780 |
0 |
expandViews_actionPerformed(e); |
1781 |
|
} |
1782 |
|
}; |
1783 |
453 |
addMenuActionAndAccelerator(keyStroke, expandViews, al); |
1784 |
|
|
1785 |
453 |
JMenuItem pageSetup = new JMenuItem( |
1786 |
|
MessageManager.getString("action.page_setup")); |
1787 |
453 |
pageSetup.addActionListener(new ActionListener() |
1788 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1789 |
0 |
@Override... |
1790 |
|
public void actionPerformed(ActionEvent e) |
1791 |
|
{ |
1792 |
0 |
pageSetup_actionPerformed(e); |
1793 |
|
} |
1794 |
|
}); |
1795 |
453 |
JMenuItem alignmentProperties = new JMenuItem( |
1796 |
|
MessageManager.getString("label.alignment_props")); |
1797 |
453 |
alignmentProperties.addActionListener(new ActionListener() |
1798 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1799 |
0 |
@Override... |
1800 |
|
public void actionPerformed(ActionEvent actionEvent) |
1801 |
|
{ |
1802 |
0 |
alignmentProperties(); |
1803 |
|
} |
1804 |
|
}); |
1805 |
453 |
JMenuItem selectHighlighted = new JMenuItem( |
1806 |
|
MessageManager.getString("action.select_highlighted_columns")); |
1807 |
453 |
selectHighlighted.setToolTipText( |
1808 |
|
MessageManager.getString("tooltip.select_highlighted_columns")); |
1809 |
453 |
al = new ActionListener() |
1810 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1811 |
0 |
@Override... |
1812 |
|
public void actionPerformed(ActionEvent actionEvent) |
1813 |
|
{ |
1814 |
0 |
selectHighlightedColumns_actionPerformed(actionEvent); |
1815 |
|
} |
1816 |
|
}; |
1817 |
453 |
selectHighlighted.addActionListener(al); |
1818 |
|
|
1819 |
453 |
copyHighlighted = new JMenuItem( |
1820 |
|
MessageManager.getString("action.copy_highlighted_regions")); |
1821 |
453 |
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_C, |
1822 |
|
jalview.util.ShortcutKeyMaskExWrapper.getMenuShortcutKeyMaskEx() |
1823 |
|
+ jalview.util.ShortcutKeyMaskExWrapper.SHIFT_DOWN_MASK, |
1824 |
|
false); |
1825 |
453 |
copyHighlighted.setToolTipText( |
1826 |
|
MessageManager.getString("tooltip.copy_highlighted_regions")); |
1827 |
453 |
al = new ActionListener() |
1828 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1829 |
0 |
@Override... |
1830 |
|
public void actionPerformed(ActionEvent actionEvent) |
1831 |
|
{ |
1832 |
0 |
copyHighlightedColumns_actionPerformed(actionEvent); |
1833 |
|
} |
1834 |
|
}; |
1835 |
453 |
addMenuActionAndAccelerator(keyStroke, copyHighlighted, al); |
1836 |
453 |
copyHighlighted.addActionListener(al); |
1837 |
|
|
1838 |
453 |
ButtonGroup ssButtonGroup = new ButtonGroup(); |
1839 |
|
|
1840 |
453 |
JMenu tooltipSettingsMenu = new JMenu( |
1841 |
|
MessageManager.getString("label.sequence_id_tooltip")); |
1842 |
453 |
JMenu autoAnnMenu = new JMenu( |
1843 |
|
MessageManager.getString("label.autocalculated_annotation")); |
1844 |
|
|
1845 |
453 |
JMenu showSS = new JMenu( |
1846 |
|
MessageManager.getString("label.show_secondary_structure")); |
1847 |
|
|
1848 |
453 |
JRadioButtonMenuItem radioButtonAllSS = new JRadioButtonMenuItem( |
1849 |
|
MessageManager.getString("option.ss_providers_all")); |
1850 |
453 |
radioButtonAllSS.addActionListener(new ActionListener() |
1851 |
|
{ |
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 2 |
Complexity Density: 0.4 |
|
1852 |
0 |
@Override... |
1853 |
|
public void actionPerformed(ActionEvent e) |
1854 |
|
{ |
1855 |
0 |
showOrHideSecondaryStructureForSource( |
1856 |
|
MessageManager.getString("option.ss_providers_all"), true); |
1857 |
|
|
1858 |
0 |
Component[] components = showSS.getMenuComponents(); |
1859 |
0 |
for (Component component : components) |
1860 |
|
{ |
1861 |
0 |
if (component instanceof JCheckBoxMenuItem) |
1862 |
|
{ |
1863 |
0 |
((JCheckBoxMenuItem) component).setSelected(true); |
1864 |
|
} |
1865 |
|
} |
1866 |
|
} |
1867 |
|
}); |
1868 |
453 |
ssButtonGroup.add(radioButtonAllSS); |
1869 |
453 |
showSS.add(radioButtonAllSS); |
1870 |
|
|
1871 |
453 |
JRadioButtonMenuItem radioButtonNoneSS = new JRadioButtonMenuItem( |
1872 |
|
MessageManager.getString("option.ss_providers_none")); |
1873 |
453 |
radioButtonNoneSS.addActionListener(new ActionListener() |
1874 |
|
{ |
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 2 |
Complexity Density: 0.4 |
|
1875 |
0 |
@Override... |
1876 |
|
public void actionPerformed(ActionEvent e) |
1877 |
|
{ |
1878 |
0 |
showOrHideSecondaryStructureForSource( |
1879 |
|
MessageManager.getString("option.ss_providers_none"), |
1880 |
|
false); |
1881 |
|
|
1882 |
0 |
Component[] components = showSS.getMenuComponents(); |
1883 |
0 |
for (Component component : components) |
1884 |
|
{ |
1885 |
0 |
if (component instanceof JCheckBoxMenuItem) |
1886 |
|
{ |
1887 |
0 |
((JCheckBoxMenuItem) component).setSelected(false); |
1888 |
|
} |
1889 |
|
} |
1890 |
|
} |
1891 |
|
}); |
1892 |
453 |
ssButtonGroup.add(radioButtonNoneSS); |
1893 |
453 |
showSS.add(radioButtonNoneSS); |
1894 |
453 |
showSS.addSeparator(); |
1895 |
|
|
1896 |
453 |
annotationsMenu.addMouseListener(new MouseAdapter() |
1897 |
|
{ |
1898 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
1899 |
0 |
@Override... |
1900 |
|
public void mouseEntered(MouseEvent e) |
1901 |
|
{ |
1902 |
|
|
1903 |
0 |
updateShowSecondaryStructureMenu(showSS, ssButtonGroup); |
1904 |
|
|
1905 |
|
|
1906 |
|
|
1907 |
|
|
1908 |
|
|
1909 |
|
} |
1910 |
|
}); |
1911 |
|
|
1912 |
453 |
JMenu exportImageMenu = new JMenu( |
1913 |
|
MessageManager.getString("label.export_image")); |
1914 |
453 |
JMenu fileMenu = new JMenu(MessageManager.getString("action.file")); |
1915 |
453 |
alignFrameMenuBar.add(fileMenu); |
1916 |
453 |
alignFrameMenuBar.add(editMenu); |
1917 |
453 |
alignFrameMenuBar.add(selectMenu); |
1918 |
453 |
alignFrameMenuBar.add(viewMenu); |
1919 |
453 |
alignFrameMenuBar.add(annotationsMenu); |
1920 |
453 |
alignFrameMenuBar.add(formatMenu); |
1921 |
453 |
alignFrameMenuBar.add(colourMenu); |
1922 |
453 |
alignFrameMenuBar.add(calculateMenu); |
1923 |
453 |
if (!Platform.isJS()) |
1924 |
|
{ |
1925 |
453 |
alignFrameMenuBar.add(webService); |
1926 |
|
} |
1927 |
|
|
1928 |
453 |
fileMenu.add(fetchSequence); |
1929 |
453 |
fileMenu.add(addSequenceMenu); |
1930 |
453 |
fileMenu.add(reload); |
1931 |
453 |
fileMenu.addSeparator(); |
1932 |
453 |
fileMenu.add(vamsasStore); |
1933 |
453 |
fileMenu.add(save); |
1934 |
453 |
fileMenu.add(saveAs); |
1935 |
453 |
fileMenu.add(outputTextboxMenu); |
1936 |
453 |
fileMenu.add(pageSetup); |
1937 |
453 |
fileMenu.add(printMenuItem); |
1938 |
453 |
fileMenu.addSeparator(); |
1939 |
453 |
fileMenu.add(exportImageMenu); |
1940 |
453 |
fileMenu.add(exportFeatures); |
1941 |
453 |
fileMenu.add(exportAnnotations); |
1942 |
453 |
fileMenu.add(loadTreeMenuItem); |
1943 |
453 |
fileMenu.add(associatedData); |
1944 |
453 |
if (!Platform.isJS()) |
1945 |
|
{ |
1946 |
453 |
fileMenu.add(loadVcf); |
1947 |
|
} |
1948 |
453 |
fileMenu.addSeparator(); |
1949 |
453 |
fileMenu.add(closeMenuItem); |
1950 |
|
|
1951 |
453 |
pasteMenu.add(pasteNew); |
1952 |
453 |
pasteMenu.add(pasteThis); |
1953 |
453 |
editMenu.add(undoMenuItem); |
1954 |
453 |
editMenu.add(redoMenuItem); |
1955 |
453 |
editMenu.add(cut); |
1956 |
453 |
editMenu.add(copy); |
1957 |
453 |
editMenu.add(copyHighlighted); |
1958 |
453 |
editMenu.add(pasteMenu); |
1959 |
453 |
editMenu.add(delete); |
1960 |
453 |
editMenu.addSeparator(); |
1961 |
453 |
editMenu.add(remove2LeftMenuItem); |
1962 |
453 |
editMenu.add(remove2RightMenuItem); |
1963 |
453 |
editMenu.add(removeGappedColumnMenuItem); |
1964 |
453 |
editMenu.add(removeAllGapsMenuItem); |
1965 |
453 |
editMenu.add(removeRedundancyMenuItem); |
1966 |
453 |
editMenu.addSeparator(); |
1967 |
|
|
1968 |
453 |
editMenu.add(justifyLeftMenuItem); |
1969 |
453 |
editMenu.add(justifyRightMenuItem); |
1970 |
|
|
1971 |
453 |
editMenu.addSeparator(); |
1972 |
453 |
editMenu.add(padGapsMenuitem); |
1973 |
|
|
1974 |
453 |
showMenu.add(showAllColumns); |
1975 |
453 |
showMenu.add(showAllSeqs); |
1976 |
453 |
showMenu.add(showAllhidden); |
1977 |
453 |
hideMenu.add(hideSelColumns); |
1978 |
453 |
hideMenu.add(hideSelSequences); |
1979 |
453 |
hideMenu.add(hideAllSelection); |
1980 |
453 |
hideMenu.add(hideAllButSelection); |
1981 |
453 |
viewMenu.add(newView); |
1982 |
453 |
viewMenu.add(expandViews); |
1983 |
453 |
viewMenu.add(gatherViews); |
1984 |
453 |
viewMenu.addSeparator(); |
1985 |
453 |
viewMenu.add(showMenu); |
1986 |
453 |
viewMenu.add(hideMenu); |
1987 |
453 |
viewMenu.add(showComplementMenuItem); |
1988 |
453 |
viewMenu.addSeparator(); |
1989 |
453 |
viewMenu.add(followHighlightMenuItem); |
1990 |
453 |
viewMenu.addSeparator(); |
1991 |
453 |
viewMenu.add(showSeqFeatures); |
1992 |
|
|
1993 |
453 |
viewMenu.add(openFeatureSettings); |
1994 |
453 |
tooltipSettingsMenu.add(showDbRefsMenuitem); |
1995 |
453 |
tooltipSettingsMenu.add(showNpFeatsMenuitem); |
1996 |
453 |
viewMenu.add(tooltipSettingsMenu); |
1997 |
453 |
viewMenu.addSeparator(); |
1998 |
453 |
viewMenu.add(alignmentProperties); |
1999 |
453 |
viewMenu.addSeparator(); |
2000 |
453 |
viewMenu.add(overviewMenuItem); |
2001 |
|
|
2002 |
453 |
annotationsMenu.add(annotationPanelMenuItem); |
2003 |
453 |
annotationsMenu.addSeparator(); |
2004 |
453 |
annotationsMenu.add(showAllAlAnnotations); |
2005 |
453 |
annotationsMenu.add(hideAllAlAnnotations); |
2006 |
453 |
annotationsMenu.addSeparator(); |
2007 |
453 |
annotationsMenu.add(showAllSeqAnnotations); |
2008 |
453 |
annotationsMenu.add(hideAllSeqAnnotations); |
2009 |
453 |
annotationsMenu.add(sortAnnBySequence); |
2010 |
453 |
annotationsMenu.add(sortAnnByLabel); |
2011 |
453 |
annotationsMenu.addSeparator(); |
2012 |
453 |
annotationsMenu.add(showSS); |
2013 |
453 |
annotationsMenu.add(showStrucProvider); |
2014 |
453 |
annotationsMenu.addSeparator(); |
2015 |
453 |
autoAnnMenu.add(showAutoFirst); |
2016 |
453 |
autoAnnMenu.add(showAutoLast); |
2017 |
453 |
autoAnnMenu.addSeparator(); |
2018 |
453 |
autoAnnMenu.add(applyAutoAnnotationSettings); |
2019 |
453 |
autoAnnMenu.add(showConsensusHistogram); |
2020 |
453 |
autoAnnMenu.add(showSequenceLogo); |
2021 |
453 |
autoAnnMenu.add(normaliseSequenceLogo); |
2022 |
|
|
2023 |
453 |
autoAnnMenu.addSeparator(); |
2024 |
453 |
autoAnnMenu.add(showGroupConservation); |
2025 |
453 |
autoAnnMenu.add(showGroupConsensus); |
2026 |
453 |
autoAnnMenu.add(showGroupSSConsensus); |
2027 |
453 |
annotationsMenu.add(autoAnnMenu); |
2028 |
|
|
2029 |
453 |
sort.add(sortIDMenuItem); |
2030 |
453 |
sort.add(sortLengthMenuItem); |
2031 |
453 |
sort.add(sortGroupMenuItem); |
2032 |
453 |
sort.add(sortPairwiseMenuItem); |
2033 |
453 |
sort.add(sortByTreeMenu); |
2034 |
453 |
calculateMenu.add(sort); |
2035 |
453 |
calculateMenu.add(calculateTree); |
2036 |
453 |
calculateMenu.addSeparator(); |
2037 |
453 |
calculateMenu.add(pairwiseAlignmentMenuItem); |
2038 |
453 |
calculateMenu.addSeparator(); |
2039 |
453 |
calculateMenu.add(showTranslation); |
2040 |
453 |
calculateMenu.add(showReverse); |
2041 |
453 |
calculateMenu.add(showReverseComplement); |
2042 |
453 |
calculateMenu.add(showProducts); |
2043 |
453 |
calculateMenu.add(autoCalculate); |
2044 |
453 |
calculateMenu.add(sortByTree); |
2045 |
453 |
calculateMenu.addSeparator(); |
2046 |
453 |
calculateMenu.add(expandAlignment); |
2047 |
453 |
calculateMenu.add(extractScores); |
2048 |
453 |
if (!Platform.isJS()) |
2049 |
|
{ |
2050 |
453 |
calculateMenu.addSeparator(); |
2051 |
453 |
calculateMenu.add(runGroovy); |
2052 |
|
} |
2053 |
|
|
2054 |
453 |
webServiceNoServices = new JMenuItem( |
2055 |
|
MessageManager.getString("label.no_services")); |
2056 |
453 |
webService.add(webServiceNoServices); |
2057 |
453 |
if (!Platform.isJS()) |
2058 |
|
{ |
2059 |
453 |
exportImageMenu.add(htmlMenuItem); |
2060 |
|
} |
2061 |
453 |
exportImageMenu.add(epsFile); |
2062 |
453 |
exportImageMenu.add(createPNG); |
2063 |
453 |
if (!Platform.isJS()) |
2064 |
|
{ |
2065 |
453 |
exportImageMenu.add(createBioJS); |
2066 |
453 |
exportImageMenu.add(createSVG); |
2067 |
|
} |
2068 |
453 |
addSequenceMenu.add(addFromFile); |
2069 |
453 |
addSequenceMenu.add(addFromText); |
2070 |
453 |
addSequenceMenu.add(addFromURL); |
2071 |
453 |
this.getContentPane().add(statusPanel, java.awt.BorderLayout.SOUTH); |
2072 |
453 |
statusPanel.add(statusBar, null); |
2073 |
453 |
this.getContentPane().add(tabbedPane, java.awt.BorderLayout.CENTER); |
2074 |
|
|
2075 |
453 |
formatMenu.add(font); |
2076 |
453 |
formatMenu.addSeparator(); |
2077 |
453 |
formatMenu.add(wrapMenuItem); |
2078 |
453 |
formatMenu.add(scaleAbove); |
2079 |
453 |
formatMenu.add(scaleLeft); |
2080 |
453 |
formatMenu.add(scaleRight); |
2081 |
453 |
formatMenu.add(seqLimits); |
2082 |
453 |
formatMenu.add(idRightAlign); |
2083 |
453 |
formatMenu.add(hiddenMarkers); |
2084 |
453 |
formatMenu.add(viewBoxesMenuItem); |
2085 |
453 |
formatMenu.add(viewTextMenuItem); |
2086 |
453 |
formatMenu.add(colourTextMenuItem); |
2087 |
453 |
formatMenu.add(renderGapsMenuItem); |
2088 |
453 |
formatMenu.add(centreColumnLabelsMenuItem); |
2089 |
453 |
formatMenu.add(showNonconservedMenuItem); |
2090 |
453 |
selectMenu.add(findMenuItem); |
2091 |
453 |
selectMenu.addSeparator(); |
2092 |
453 |
selectMenu.add(selectAllSequenceMenuItem); |
2093 |
453 |
selectMenu.add(deselectAllSequenceMenuItem); |
2094 |
453 |
selectMenu.add(invertSequenceMenuItem); |
2095 |
453 |
selectMenu.add(invertColSel); |
2096 |
453 |
selectMenu.add(createGroup); |
2097 |
453 |
selectMenu.add(unGroup); |
2098 |
453 |
selectMenu.add(grpsFromSelection); |
2099 |
453 |
selectMenu.add(deleteGroups); |
2100 |
453 |
selectMenu.add(annotationColumn); |
2101 |
453 |
selectMenu.add(selectHighlighted); |
2102 |
|
|
2103 |
|
|
2104 |
|
|
2105 |
|
|
2106 |
|
} |
2107 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2108 |
0 |
protected void showStructureProvider_actionPerformed(ActionEvent e)... |
2109 |
|
{ |
2110 |
|
|
2111 |
|
|
2112 |
|
} |
2113 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2114 |
0 |
protected void showSSConsensus_actionPerformed(ActionEvent e)... |
2115 |
|
{ |
2116 |
|
|
2117 |
|
|
2118 |
|
} |
2119 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2120 |
0 |
protected void createPNG_actionPerformed(ActionEvent object)... |
2121 |
|
{ |
2122 |
|
|
2123 |
|
|
2124 |
|
} |
2125 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2126 |
0 |
protected void createEPS_actionPerformed(ActionEvent object)... |
2127 |
|
{ |
2128 |
|
|
2129 |
|
|
2130 |
|
} |
2131 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2132 |
0 |
protected void createSVG_actionPerformed(ActionEvent object)... |
2133 |
|
{ |
2134 |
|
|
2135 |
|
|
2136 |
|
} |
2137 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2138 |
0 |
protected void copyHighlightedColumns_actionPerformed(... |
2139 |
|
ActionEvent actionEvent) |
2140 |
|
{ |
2141 |
|
|
2142 |
|
} |
2143 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2144 |
0 |
protected void loadVcf_actionPerformed()... |
2145 |
|
{ |
2146 |
|
} |
2147 |
|
|
2148 |
|
|
2149 |
|
|
2150 |
|
|
2151 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (19) |
Complexity: 1 |
Complexity Density: 0.05 |
|
2152 |
453 |
protected void initColourMenu()... |
2153 |
|
{ |
2154 |
453 |
applyToAllGroups = new JCheckBoxMenuItem( |
2155 |
|
MessageManager.getString("label.apply_colour_to_all_groups")); |
2156 |
453 |
applyToAllGroups.addActionListener(new ActionListener() |
2157 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2158 |
0 |
@Override... |
2159 |
|
public void actionPerformed(ActionEvent e) |
2160 |
|
{ |
2161 |
0 |
applyToAllGroups_actionPerformed(applyToAllGroups.isSelected()); |
2162 |
|
} |
2163 |
|
}); |
2164 |
|
|
2165 |
453 |
textColour = new JMenuItem( |
2166 |
|
MessageManager.getString("label.text_colour")); |
2167 |
453 |
textColour.addActionListener(new ActionListener() |
2168 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2169 |
0 |
@Override... |
2170 |
|
public void actionPerformed(ActionEvent e) |
2171 |
|
{ |
2172 |
0 |
textColour_actionPerformed(); |
2173 |
|
} |
2174 |
|
}); |
2175 |
|
|
2176 |
453 |
conservationMenuItem = new JCheckBoxMenuItem( |
2177 |
|
MessageManager.getString("action.by_conservation")); |
2178 |
453 |
conservationMenuItem.addActionListener(new ActionListener() |
2179 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2180 |
0 |
@Override... |
2181 |
|
public void actionPerformed(ActionEvent e) |
2182 |
|
{ |
2183 |
0 |
conservationMenuItem_actionPerformed( |
2184 |
|
conservationMenuItem.isSelected()); |
2185 |
|
} |
2186 |
|
}); |
2187 |
|
|
2188 |
453 |
byConsensusSecondaryStructureMenuItem = new JCheckBoxMenuItem( |
2189 |
|
MessageManager.getString( |
2190 |
|
"action.by_secondary_structure_conservation")); |
2191 |
453 |
byConsensusSecondaryStructureMenuItem |
2192 |
|
.addActionListener(new ActionListener() |
2193 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2194 |
0 |
@Override... |
2195 |
|
public void actionPerformed(ActionEvent e) |
2196 |
|
{ |
2197 |
0 |
colourByConsensusSecondaryStructureMenuItem_actionPerformed( |
2198 |
|
byConsensusSecondaryStructureMenuItem.isSelected()); |
2199 |
|
} |
2200 |
|
}); |
2201 |
|
|
2202 |
453 |
abovePIDThreshold = new JCheckBoxMenuItem( |
2203 |
|
MessageManager.getString("label.above_identity_threshold")); |
2204 |
453 |
abovePIDThreshold.addActionListener(new ActionListener() |
2205 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2206 |
0 |
@Override... |
2207 |
|
public void actionPerformed(ActionEvent e) |
2208 |
|
{ |
2209 |
0 |
abovePIDThreshold_actionPerformed(abovePIDThreshold.isSelected()); |
2210 |
|
} |
2211 |
|
}); |
2212 |
453 |
modifyPID = new JMenuItem( |
2213 |
|
MessageManager.getString("label.modify_identity_threshold")); |
2214 |
453 |
modifyPID.addActionListener(new ActionListener() |
2215 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2216 |
0 |
@Override... |
2217 |
|
public void actionPerformed(ActionEvent e) |
2218 |
|
{ |
2219 |
0 |
modifyPID_actionPerformed(); |
2220 |
|
} |
2221 |
|
}); |
2222 |
453 |
modifyConservation = new JMenuItem(MessageManager |
2223 |
|
.getString("label.modify_conservation_threshold")); |
2224 |
453 |
modifyConservation.addActionListener(new ActionListener() |
2225 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2226 |
0 |
@Override... |
2227 |
|
public void actionPerformed(ActionEvent e) |
2228 |
|
{ |
2229 |
0 |
modifyConservation_actionPerformed(); |
2230 |
|
} |
2231 |
|
}); |
2232 |
|
|
2233 |
453 |
modifyConsensusSecondaryStructureThreshold = new JMenuItem( |
2234 |
|
MessageManager.getString( |
2235 |
|
"label.modify_secondary_structure_conservation_threshold")); |
2236 |
453 |
modifyConsensusSecondaryStructureThreshold |
2237 |
|
.addActionListener(new ActionListener() |
2238 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2239 |
0 |
@Override... |
2240 |
|
public void actionPerformed(ActionEvent e) |
2241 |
|
{ |
2242 |
0 |
modifyConsensusSecondaryStructureThreshold_actionPerformed(); |
2243 |
|
} |
2244 |
|
}); |
2245 |
|
|
2246 |
453 |
annotationColour = new JRadioButtonMenuItem( |
2247 |
|
MessageManager.getString("action.by_annotation")); |
2248 |
453 |
annotationColour.setName(ResidueColourScheme.ANNOTATION_COLOUR); |
2249 |
453 |
annotationColour.addActionListener(new ActionListener() |
2250 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2251 |
0 |
@Override... |
2252 |
|
public void actionPerformed(ActionEvent e) |
2253 |
|
{ |
2254 |
0 |
annotationColour_actionPerformed(); |
2255 |
|
} |
2256 |
|
}); |
2257 |
|
} |
2258 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2259 |
0 |
protected void selectHighlightedColumns_actionPerformed(... |
2260 |
|
ActionEvent actionEvent) |
2261 |
|
{ |
2262 |
|
|
2263 |
|
|
2264 |
|
} |
2265 |
|
|
2266 |
|
|
2267 |
|
|
2268 |
|
|
2269 |
|
|
2270 |
|
@param |
2271 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2272 |
0 |
protected void showReverse_actionPerformed(boolean complement)... |
2273 |
|
{ |
2274 |
|
} |
2275 |
|
|
2276 |
|
|
2277 |
|
|
2278 |
|
|
2279 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2280 |
0 |
protected void runGroovy_actionPerformed()... |
2281 |
|
{ |
2282 |
|
|
2283 |
|
} |
2284 |
|
|
2285 |
|
|
2286 |
|
|
2287 |
|
|
2288 |
|
|
2289 |
|
@param |
2290 |
|
@param |
2291 |
|
@param |
2292 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
2293 |
12231 |
protected void addMenuActionAndAccelerator(KeyStroke keyStroke,... |
2294 |
|
JMenuItem menuItem, ActionListener actionListener) |
2295 |
|
{ |
2296 |
12231 |
menuItem.setAccelerator(keyStroke); |
2297 |
12231 |
accelerators.put(keyStroke, menuItem); |
2298 |
12231 |
menuItem.addActionListener(actionListener); |
2299 |
|
} |
2300 |
|
|
2301 |
|
|
2302 |
|
|
2303 |
|
|
2304 |
|
@param |
2305 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2306 |
0 |
protected void sortAnnotations_actionPerformed()... |
2307 |
|
{ |
2308 |
|
} |
2309 |
|
|
2310 |
|
|
2311 |
|
|
2312 |
|
|
2313 |
|
@param |
2314 |
|
|
2315 |
|
@param |
2316 |
|
|
2317 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2318 |
0 |
protected void showAllAnnotations_actionPerformed(boolean forSequences,... |
2319 |
|
boolean forAlignment) |
2320 |
|
{ |
2321 |
0 |
setAnnotationsVisibility(true, forSequences, forAlignment); |
2322 |
|
} |
2323 |
|
|
2324 |
|
|
2325 |
|
|
2326 |
|
|
2327 |
|
@param |
2328 |
|
|
2329 |
|
@param |
2330 |
|
|
2331 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2332 |
0 |
protected void hideAllAnnotations_actionPerformed(boolean forSequences,... |
2333 |
|
boolean forAlignment) |
2334 |
|
{ |
2335 |
0 |
setAnnotationsVisibility(false, forSequences, forAlignment); |
2336 |
|
} |
2337 |
|
|
2338 |
|
|
2339 |
|
|
2340 |
|
|
2341 |
|
|
2342 |
|
@param |
2343 |
|
@param |
2344 |
|
|
2345 |
|
@param |
2346 |
|
|
2347 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2348 |
0 |
public void setAnnotationsVisibility(boolean visible,... |
2349 |
|
boolean forSequences, boolean forAlignment) |
2350 |
|
{ |
2351 |
|
|
2352 |
|
} |
2353 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2354 |
0 |
protected void normaliseSequenceLogo_actionPerformed(ActionEvent e)... |
2355 |
|
{ |
2356 |
|
|
2357 |
|
|
2358 |
|
} |
2359 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2360 |
0 |
protected void listenToViewSelections_actionPerformed(ActionEvent e)... |
2361 |
|
{ |
2362 |
|
|
2363 |
|
|
2364 |
|
} |
2365 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2366 |
0 |
protected void showAllhidden_actionPerformed(ActionEvent e)... |
2367 |
|
{ |
2368 |
|
|
2369 |
|
|
2370 |
|
} |
2371 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2372 |
0 |
protected void hideAllButSelection_actionPerformed(ActionEvent e)... |
2373 |
|
{ |
2374 |
|
|
2375 |
|
|
2376 |
|
} |
2377 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2378 |
0 |
protected void hideAllSelection_actionPerformed(ActionEvent e)... |
2379 |
|
{ |
2380 |
|
|
2381 |
|
|
2382 |
|
} |
2383 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2384 |
0 |
protected void applyAutoAnnotationSettings_actionPerformed(ActionEvent e)... |
2385 |
|
{ |
2386 |
|
|
2387 |
|
|
2388 |
|
} |
2389 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2390 |
0 |
protected void showConsensusHistogram_actionPerformed(ActionEvent e)... |
2391 |
|
{ |
2392 |
|
|
2393 |
|
|
2394 |
|
} |
2395 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2396 |
0 |
protected void showSequenceLogo_actionPerformed(ActionEvent e)... |
2397 |
|
{ |
2398 |
|
|
2399 |
|
|
2400 |
|
} |
2401 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2402 |
0 |
protected void makeGrpsFromSelection_actionPerformed(ActionEvent e)... |
2403 |
|
{ |
2404 |
|
|
2405 |
|
|
2406 |
|
} |
2407 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2408 |
0 |
protected void showGroupConsensus_actionPerformed(ActionEvent e)... |
2409 |
|
{ |
2410 |
|
|
2411 |
|
|
2412 |
|
} |
2413 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2414 |
0 |
protected void showGroupSSConsensus_actionPerformed(ActionEvent e)... |
2415 |
|
{ |
2416 |
|
|
2417 |
|
|
2418 |
|
} |
2419 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2420 |
0 |
protected void showGroupConservation_actionPerformed(ActionEvent e)... |
2421 |
|
{ |
2422 |
|
|
2423 |
|
|
2424 |
|
} |
2425 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2426 |
0 |
protected void showUnconservedMenuItem_actionPerformed(ActionEvent e)... |
2427 |
|
{ |
2428 |
|
|
2429 |
|
|
2430 |
|
} |
2431 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2432 |
0 |
protected void justifyRightMenuItem_actionPerformed(ActionEvent e)... |
2433 |
|
{ |
2434 |
|
|
2435 |
|
|
2436 |
|
} |
2437 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2438 |
0 |
protected void justifyLeftMenuItem_actionPerformed(ActionEvent e)... |
2439 |
|
{ |
2440 |
|
|
2441 |
|
|
2442 |
|
} |
2443 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2444 |
0 |
protected void followHighlight_actionPerformed()... |
2445 |
|
{ |
2446 |
|
|
2447 |
|
|
2448 |
|
} |
2449 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2450 |
0 |
protected void showNpFeats_actionPerformed(ActionEvent e)... |
2451 |
|
{ |
2452 |
|
|
2453 |
|
|
2454 |
|
} |
2455 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2456 |
0 |
protected void showDbRefs_actionPerformed(ActionEvent e)... |
2457 |
|
{ |
2458 |
|
|
2459 |
|
|
2460 |
|
} |
2461 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2462 |
0 |
protected void centreColumnLabels_actionPerformed(ActionEvent e)... |
2463 |
|
{ |
2464 |
|
} |
2465 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2466 |
0 |
protected void buildSortByAnnotationScoresMenu()... |
2467 |
|
{ |
2468 |
|
} |
2469 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2470 |
0 |
protected void extractScores_actionPerformed(ActionEvent e)... |
2471 |
|
{ |
2472 |
|
} |
2473 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2474 |
0 |
protected void outputText_actionPerformed(String formatName)... |
2475 |
|
{ |
2476 |
|
} |
2477 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2478 |
0 |
public void addFromFile_actionPerformed(ActionEvent e)... |
2479 |
|
{ |
2480 |
|
|
2481 |
|
} |
2482 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2483 |
0 |
public void addFromText_actionPerformed(ActionEvent e)... |
2484 |
|
{ |
2485 |
|
|
2486 |
|
} |
2487 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2488 |
0 |
public void addFromURL_actionPerformed(ActionEvent e)... |
2489 |
|
{ |
2490 |
|
|
2491 |
|
} |
2492 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2493 |
0 |
public void exportFeatures_actionPerformed(ActionEvent e)... |
2494 |
|
{ |
2495 |
|
|
2496 |
|
} |
2497 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2498 |
0 |
public void exportAnnotations_actionPerformed(ActionEvent e)... |
2499 |
|
{ |
2500 |
|
|
2501 |
|
} |
2502 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2503 |
0 |
protected void htmlMenuItem_actionPerformed(ActionEvent e)... |
2504 |
|
{ |
2505 |
|
} |
2506 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2507 |
0 |
protected void bioJSMenuItem_actionPerformed(ActionEvent e)... |
2508 |
|
{ |
2509 |
|
|
2510 |
|
} |
2511 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2512 |
0 |
protected void closeMenuItem_actionPerformed(boolean b)... |
2513 |
|
{ |
2514 |
|
} |
2515 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2516 |
0 |
protected void redoMenuItem_actionPerformed(ActionEvent e)... |
2517 |
|
{ |
2518 |
|
} |
2519 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2520 |
0 |
protected void undoMenuItem_actionPerformed(ActionEvent e)... |
2521 |
|
{ |
2522 |
|
} |
2523 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2524 |
0 |
protected void selectAllSequenceMenuItem_actionPerformed(ActionEvent e)... |
2525 |
|
{ |
2526 |
|
} |
2527 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2528 |
0 |
protected void deselectAllSequenceMenuItem_actionPerformed(ActionEvent e)... |
2529 |
|
{ |
2530 |
|
} |
2531 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2532 |
0 |
protected void invertSequenceMenuItem_actionPerformed(ActionEvent e)... |
2533 |
|
{ |
2534 |
|
} |
2535 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2536 |
0 |
protected void remove2LeftMenuItem_actionPerformed(ActionEvent e)... |
2537 |
|
{ |
2538 |
|
} |
2539 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2540 |
0 |
protected void remove2RightMenuItem_actionPerformed(ActionEvent e)... |
2541 |
|
{ |
2542 |
|
} |
2543 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2544 |
0 |
protected void removeGappedColumnMenuItem_actionPerformed(ActionEvent e)... |
2545 |
|
{ |
2546 |
|
} |
2547 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2548 |
0 |
protected void removeAllGapsMenuItem_actionPerformed(ActionEvent e)... |
2549 |
|
{ |
2550 |
|
} |
2551 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2552 |
0 |
protected void wrapMenuItem_actionPerformed(ActionEvent e)... |
2553 |
|
{ |
2554 |
|
} |
2555 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2556 |
0 |
protected void viewBoxesMenuItem_actionPerformed(ActionEvent e)... |
2557 |
|
{ |
2558 |
|
} |
2559 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2560 |
0 |
protected void viewTextMenuItem_actionPerformed(ActionEvent e)... |
2561 |
|
{ |
2562 |
|
} |
2563 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2564 |
0 |
protected void colourTextMenuItem_actionPerformed(ActionEvent e)... |
2565 |
|
{ |
2566 |
|
} |
2567 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2568 |
0 |
protected void annotationPanelMenuItem_actionPerformed(ActionEvent e)... |
2569 |
|
{ |
2570 |
|
} |
2571 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2572 |
0 |
protected void overviewMenuItem_actionPerformed(ActionEvent e)... |
2573 |
|
{ |
2574 |
|
} |
2575 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2576 |
0 |
protected void sortPairwiseMenuItem_actionPerformed(ActionEvent e)... |
2577 |
|
{ |
2578 |
|
} |
2579 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2580 |
0 |
protected void sortIDMenuItem_actionPerformed(ActionEvent e)... |
2581 |
|
{ |
2582 |
|
} |
2583 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2584 |
0 |
protected void sortLengthMenuItem_actionPerformed(ActionEvent e)... |
2585 |
|
{ |
2586 |
|
} |
2587 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2588 |
0 |
protected void sortGroupMenuItem_actionPerformed(ActionEvent e)... |
2589 |
|
{ |
2590 |
|
} |
2591 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2592 |
0 |
protected void removeRedundancyMenuItem_actionPerformed(ActionEvent e)... |
2593 |
|
{ |
2594 |
|
} |
2595 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2596 |
0 |
protected void pairwiseAlignmentMenuItem_actionPerformed(ActionEvent e)... |
2597 |
|
{ |
2598 |
|
} |
2599 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2600 |
0 |
protected void neighbourTreeMenuItem_actionPerformed(ActionEvent e)... |
2601 |
|
{ |
2602 |
|
} |
2603 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2604 |
0 |
protected void conservationMenuItem_actionPerformed(boolean selected)... |
2605 |
|
{ |
2606 |
|
} |
2607 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2608 |
0 |
public void colourByConsensusSecondaryStructureMenuItem_actionPerformed(... |
2609 |
|
boolean selected) |
2610 |
|
{ |
2611 |
|
} |
2612 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2613 |
0 |
protected void printMenuItem_actionPerformed(ActionEvent e)... |
2614 |
|
{ |
2615 |
|
} |
2616 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2617 |
0 |
protected void renderGapsMenuItem_actionPerformed(ActionEvent e)... |
2618 |
|
{ |
2619 |
|
} |
2620 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2621 |
0 |
protected void findMenuItem_actionPerformed(ActionEvent e)... |
2622 |
|
{ |
2623 |
|
} |
2624 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2625 |
0 |
protected void abovePIDThreshold_actionPerformed(boolean selected)... |
2626 |
|
{ |
2627 |
|
} |
2628 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2629 |
0 |
public void showSeqFeatures_actionPerformed(ActionEvent actionEvent)... |
2630 |
|
{ |
2631 |
|
} |
2632 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2633 |
0 |
protected void deleteGroups_actionPerformed(ActionEvent e)... |
2634 |
|
{ |
2635 |
|
} |
2636 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2637 |
0 |
protected void createGroup_actionPerformed(ActionEvent e)... |
2638 |
|
{ |
2639 |
|
} |
2640 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2641 |
0 |
protected void unGroup_actionPerformed(ActionEvent e)... |
2642 |
|
{ |
2643 |
|
} |
2644 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2645 |
0 |
protected void copy_actionPerformed()... |
2646 |
|
{ |
2647 |
|
} |
2648 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2649 |
0 |
protected void cut_actionPerformed()... |
2650 |
|
{ |
2651 |
|
} |
2652 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2653 |
0 |
protected void delete_actionPerformed()... |
2654 |
|
{ |
2655 |
|
} |
2656 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2657 |
0 |
protected void pasteNew_actionPerformed(ActionEvent e)... |
2658 |
|
{ |
2659 |
|
} |
2660 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2661 |
0 |
protected void pasteThis_actionPerformed(ActionEvent e)... |
2662 |
|
{ |
2663 |
|
} |
2664 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2665 |
0 |
protected void applyToAllGroups_actionPerformed(boolean selected)... |
2666 |
|
{ |
2667 |
|
} |
2668 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2669 |
0 |
protected void font_actionPerformed(ActionEvent e)... |
2670 |
|
{ |
2671 |
|
} |
2672 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2673 |
0 |
protected void seqLimit_actionPerformed(ActionEvent e)... |
2674 |
|
{ |
2675 |
|
} |
2676 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2677 |
0 |
public void seqDBRef_actionPerformed(ActionEvent e)... |
2678 |
|
{ |
2679 |
|
|
2680 |
|
} |
2681 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2682 |
0 |
protected void loadTreeMenuItem_actionPerformed(ActionEvent e)... |
2683 |
|
{ |
2684 |
|
|
2685 |
|
} |
2686 |
|
|
2687 |
|
|
2688 |
|
|
2689 |
|
|
2690 |
|
|
2691 |
|
|
2692 |
|
@param |
2693 |
|
|
2694 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2695 |
0 |
protected void loadScores_actionPerformed(ActionEvent event)... |
2696 |
|
{ |
2697 |
|
|
2698 |
|
} |
2699 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2700 |
0 |
protected void scaleAbove_actionPerformed(ActionEvent e)... |
2701 |
|
{ |
2702 |
|
} |
2703 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2704 |
0 |
protected void scaleLeft_actionPerformed(ActionEvent e)... |
2705 |
|
{ |
2706 |
|
} |
2707 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2708 |
0 |
protected void scaleRight_actionPerformed(ActionEvent e)... |
2709 |
|
{ |
2710 |
|
} |
2711 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2712 |
0 |
protected void modifyPID_actionPerformed()... |
2713 |
|
{ |
2714 |
|
} |
2715 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2716 |
0 |
protected void modifyConservation_actionPerformed()... |
2717 |
|
{ |
2718 |
|
} |
2719 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2720 |
0 |
protected void modifyConsensusSecondaryStructureThreshold_actionPerformed()... |
2721 |
|
{ |
2722 |
|
} |
2723 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2724 |
0 |
protected void saveAs_actionPerformed()... |
2725 |
|
{ |
2726 |
|
} |
2727 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2728 |
0 |
protected void padGapsMenuitem_actionPerformed(ActionEvent e)... |
2729 |
|
{ |
2730 |
|
} |
2731 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2732 |
0 |
public void vamsasStore_actionPerformed(ActionEvent e)... |
2733 |
|
{ |
2734 |
|
|
2735 |
|
} |
2736 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2737 |
0 |
public void vamsasLoad_actionPerformed(ActionEvent e)... |
2738 |
|
{ |
2739 |
|
|
2740 |
|
} |
2741 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2742 |
0 |
public void showTranslation_actionPerformed(GeneticCodeI codeTable)... |
2743 |
|
{ |
2744 |
|
|
2745 |
|
} |
2746 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2747 |
0 |
public void featureSettings_actionPerformed(ActionEvent e)... |
2748 |
|
{ |
2749 |
|
|
2750 |
|
} |
2751 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2752 |
0 |
public void fetchSequence_actionPerformed()... |
2753 |
|
{ |
2754 |
|
|
2755 |
|
} |
2756 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2757 |
0 |
public void smoothFont_actionPerformed(ActionEvent e)... |
2758 |
|
{ |
2759 |
|
|
2760 |
|
} |
2761 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2762 |
0 |
public void annotationColour_actionPerformed()... |
2763 |
|
{ |
2764 |
|
} |
2765 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2766 |
0 |
public void annotationColumn_actionPerformed(ActionEvent e)... |
2767 |
|
{ |
2768 |
|
} |
2769 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2770 |
0 |
public void associatedData_actionPerformed(ActionEvent e)... |
2771 |
|
{ |
2772 |
|
|
2773 |
|
} |
2774 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2775 |
0 |
public void autoCalculate_actionPerformed(ActionEvent e)... |
2776 |
|
{ |
2777 |
|
|
2778 |
|
} |
2779 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2780 |
0 |
public void sortByTreeOption_actionPerformed(ActionEvent e)... |
2781 |
|
{ |
2782 |
|
|
2783 |
|
} |
2784 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2785 |
0 |
public void showAllSeqs_actionPerformed(ActionEvent e)... |
2786 |
|
{ |
2787 |
|
|
2788 |
|
} |
2789 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2790 |
0 |
public void showAllColumns_actionPerformed(ActionEvent e)... |
2791 |
|
{ |
2792 |
|
|
2793 |
|
} |
2794 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2795 |
0 |
public void hideSelSequences_actionPerformed(ActionEvent e)... |
2796 |
|
{ |
2797 |
|
|
2798 |
|
} |
2799 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2800 |
0 |
public void hideSelColumns_actionPerformed(ActionEvent e)... |
2801 |
|
{ |
2802 |
|
|
2803 |
|
} |
2804 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2805 |
0 |
public void hiddenMarkers_actionPerformed(ActionEvent e)... |
2806 |
|
{ |
2807 |
|
|
2808 |
|
} |
2809 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2810 |
0 |
public void findPdbId_actionPerformed(ActionEvent e)... |
2811 |
|
{ |
2812 |
|
|
2813 |
|
} |
2814 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2815 |
0 |
public void enterPdbId_actionPerformed(ActionEvent e)... |
2816 |
|
{ |
2817 |
|
|
2818 |
|
} |
2819 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2820 |
0 |
public void pdbFile_actionPerformed(ActionEvent e)... |
2821 |
|
{ |
2822 |
|
|
2823 |
|
} |
2824 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2825 |
0 |
public void invertColSel_actionPerformed(ActionEvent e)... |
2826 |
|
{ |
2827 |
|
|
2828 |
|
} |
2829 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2830 |
0 |
public void tabSelectionChanged(int sel)... |
2831 |
|
{ |
2832 |
|
|
2833 |
|
} |
2834 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2835 |
0 |
public void tabbedPane_mousePressed(MouseEvent e)... |
2836 |
|
{ |
2837 |
|
|
2838 |
|
} |
2839 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2840 |
62 |
public void tabbedPane_focusGained(FocusEvent e)... |
2841 |
|
{ |
2842 |
62 |
requestFocus(); |
2843 |
|
} |
2844 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2845 |
0 |
public void save_actionPerformed(ActionEvent e)... |
2846 |
|
{ |
2847 |
|
|
2848 |
|
} |
2849 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2850 |
0 |
public void reload_actionPerformed(ActionEvent e)... |
2851 |
|
{ |
2852 |
|
|
2853 |
|
} |
2854 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2855 |
0 |
public void newView_actionPerformed(ActionEvent e)... |
2856 |
|
{ |
2857 |
|
|
2858 |
|
} |
2859 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2860 |
0 |
public void textColour_actionPerformed()... |
2861 |
|
{ |
2862 |
|
|
2863 |
|
} |
2864 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2865 |
0 |
public void idRightAlign_actionPerformed(ActionEvent e)... |
2866 |
|
{ |
2867 |
|
|
2868 |
|
} |
2869 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2870 |
0 |
public void expandViews_actionPerformed(ActionEvent e)... |
2871 |
|
{ |
2872 |
|
|
2873 |
|
} |
2874 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2875 |
0 |
public void gatherViews_actionPerformed(ActionEvent e)... |
2876 |
|
{ |
2877 |
|
|
2878 |
|
} |
2879 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2880 |
0 |
public void buildTreeSortMenu()... |
2881 |
|
{ |
2882 |
|
|
2883 |
|
} |
2884 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2885 |
0 |
public void pageSetup_actionPerformed(ActionEvent e)... |
2886 |
|
{ |
2887 |
|
|
2888 |
|
} |
2889 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2890 |
0 |
public void alignmentProperties()... |
2891 |
|
{ |
2892 |
|
|
2893 |
|
} |
2894 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2895 |
0 |
protected void expand_newalign(ActionEvent e)... |
2896 |
|
{ |
2897 |
|
|
2898 |
|
|
2899 |
|
} |
2900 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2901 |
452 |
protected boolean isShowAutoCalculatedAbove()... |
2902 |
|
{ |
2903 |
452 |
return showAutoCalculatedAbove; |
2904 |
|
} |
2905 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2906 |
453 |
protected void setShowAutoCalculatedAbove(boolean showAutoCalculatedAbove)... |
2907 |
|
{ |
2908 |
453 |
this.showAutoCalculatedAbove = showAutoCalculatedAbove; |
2909 |
|
} |
2910 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2911 |
0 |
protected SequenceAnnotationOrder getAnnotationSortOrder()... |
2912 |
|
{ |
2913 |
0 |
return annotationSortOrder; |
2914 |
|
} |
2915 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2916 |
0 |
protected void setAnnotationSortOrder(... |
2917 |
|
SequenceAnnotationOrder annotationSortOrder) |
2918 |
|
{ |
2919 |
0 |
this.annotationSortOrder = annotationSortOrder; |
2920 |
|
} |
2921 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2922 |
33 |
public Map<KeyStroke, JMenuItem> getAccelerators()... |
2923 |
|
{ |
2924 |
33 |
return this.accelerators; |
2925 |
|
} |
2926 |
|
|
2927 |
|
|
2928 |
|
|
2929 |
|
|
2930 |
|
|
2931 |
|
@return |
2932 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2933 |
0 |
public int getTabIndex()... |
2934 |
|
{ |
2935 |
0 |
return tabbedPane.getSelectedIndex(); |
2936 |
|
} |
2937 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2938 |
0 |
public JPanel getStatusPanel()... |
2939 |
|
{ |
2940 |
0 |
return statusPanel; |
2941 |
|
} |
2942 |
|
|
2943 |
|
|
2944 |
|
|
2945 |
|
|
2946 |
|
|
2947 |
|
@param |
2948 |
|
|
|
|
| 83.3% |
Uncovered Elements: 1 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
2949 |
6 |
public void setSplitFrame(SplitContainerI sf)... |
2950 |
|
{ |
2951 |
6 |
this.splitFrame = sf; |
2952 |
6 |
if (sf != null) |
2953 |
|
{ |
2954 |
6 |
this.showComplementMenuItem.setVisible(true); |
2955 |
6 |
this.showComplementMenuItem.setState(true); |
2956 |
|
} |
2957 |
|
} |
2958 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2959 |
3 |
public SplitContainerI getSplitViewContainer()... |
2960 |
|
{ |
2961 |
3 |
return this.splitFrame; |
2962 |
|
} |
2963 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2964 |
0 |
protected void showComplement_actionPerformed(boolean complement)... |
2965 |
|
{ |
2966 |
|
} |
2967 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
2968 |
0 |
protected List<String> updateShowSSRadioButtons()... |
2969 |
|
{ |
2970 |
|
|
2971 |
0 |
return null; |
2972 |
|
} |
2973 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2974 |
0 |
protected void showOrHideSecondaryStructureForSource(... |
2975 |
|
String ssSourceSelection, boolean visible) |
2976 |
|
{ |
2977 |
|
|
2978 |
|
|
2979 |
|
} |
2980 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
2981 |
0 |
protected void updateShowSecondaryStructureMenu(JMenu showSS,... |
2982 |
|
ButtonGroup ssButtonGroup) |
2983 |
|
{ |
2984 |
|
|
2985 |
|
|
2986 |
|
} |
2987 |
|
} |