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 jalview.api.AlignmentViewPanel; |
24 |
|
import jalview.bin.Jalview; |
25 |
|
import jalview.io.FileFormatException; |
26 |
|
import jalview.util.MessageManager; |
27 |
|
import jalview.util.Platform; |
28 |
|
|
29 |
|
import java.awt.FlowLayout; |
30 |
|
import java.awt.Toolkit; |
31 |
|
import java.awt.event.ActionEvent; |
32 |
|
import java.awt.event.ActionListener; |
33 |
|
|
34 |
|
import javax.swing.JCheckBoxMenuItem; |
35 |
|
import javax.swing.JFrame; |
36 |
|
import javax.swing.JMenu; |
37 |
|
import javax.swing.JMenuBar; |
38 |
|
import javax.swing.JMenuItem; |
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
@author |
44 |
|
@version |
45 |
|
|
|
|
| 61.1% |
Uncovered Elements: 81 (208) |
Complexity: 59 |
Complexity Density: 0.4 |
|
46 |
|
public class GDesktop extends JFrame |
47 |
|
{ |
48 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
196 |
public static javax.swing.JTabbedPane createTabbedPane()... |
50 |
|
{ |
51 |
|
|
52 |
196 |
return new javax.swing.JTabbedPane(); |
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
} |
63 |
|
|
64 |
|
|
65 |
|
protected static JMenu windowMenu = new JMenu(); |
66 |
|
|
67 |
|
JMenuBar desktopMenubar = new JMenuBar(); |
68 |
|
|
69 |
|
JMenu FileMenu = new JMenu(); |
70 |
|
|
71 |
|
JMenu HelpMenu = new JMenu(); |
72 |
|
|
73 |
|
protected JMenu VamsasMenu = new JMenu(); |
74 |
|
|
75 |
|
protected JMenu VamsasStMenu = new JMenu(); |
76 |
|
|
77 |
|
JMenuItem inputLocalFileMenuItem = new JMenuItem(); |
78 |
|
|
79 |
|
JMenuItem inputURLMenuItem = new JMenuItem(); |
80 |
|
|
81 |
|
JMenuItem inputTextboxMenuItem = new JMenuItem(); |
82 |
|
|
83 |
|
JMenuItem quit = new JMenuItem(); |
84 |
|
|
85 |
|
JMenuItem aboutMenuItem = new JMenuItem(); |
86 |
|
|
87 |
|
JMenuItem documentationMenuItem = new JMenuItem(); |
88 |
|
|
89 |
|
FlowLayout flowLayout1 = new FlowLayout(); |
90 |
|
|
91 |
|
protected JMenu toolsMenu = new JMenu(); |
92 |
|
|
93 |
|
JMenuItem preferences = new JMenuItem(); |
94 |
|
|
95 |
|
JMenuItem saveState = new JMenuItem(); |
96 |
|
|
97 |
|
JMenuItem loadState = new JMenuItem(); |
98 |
|
|
99 |
|
JMenu inputMenu = new JMenu(); |
100 |
|
|
101 |
|
protected JMenuItem vamsasStart = new JMenuItem(); |
102 |
|
|
103 |
|
protected JMenuItem vamsasImport = new JMenuItem(); |
104 |
|
|
105 |
|
protected JMenuItem vamsasSave = new JMenuItem(); |
106 |
|
|
107 |
|
JMenuItem inputSequence = new JMenuItem(); |
108 |
|
|
109 |
|
protected JMenuItem vamsasStop = new JMenuItem(); |
110 |
|
|
111 |
|
JMenuItem closeAll = new JMenuItem(); |
112 |
|
|
113 |
|
JMenuItem raiseRelated = new JMenuItem(); |
114 |
|
|
115 |
|
JMenuItem minimizeAssociated = new JMenuItem(); |
116 |
|
|
117 |
|
protected JCheckBoxMenuItem showMemusage = new JCheckBoxMenuItem(); |
118 |
|
|
119 |
|
JMenuItem garbageCollect = new JMenuItem(); |
120 |
|
|
121 |
|
protected JMenuItem groovyShell; |
122 |
|
|
123 |
|
protected JCheckBoxMenuItem experimentalFeatures; |
124 |
|
|
125 |
|
protected JCheckBoxMenuItem showConsole = new JCheckBoxMenuItem(); |
126 |
|
|
127 |
|
protected JCheckBoxMenuItem showNews = new JCheckBoxMenuItem(); |
128 |
|
|
129 |
|
protected JMenuItem snapShotWindow = new JMenuItem(); |
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
|
|
|
| 88.2% |
Uncovered Elements: 2 (17) |
Complexity: 3 |
Complexity Density: 0.2 |
|
134 |
11 |
public GDesktop()... |
135 |
|
{ |
136 |
11 |
super(); |
137 |
11 |
try |
138 |
|
{ |
139 |
11 |
jbInit(); |
140 |
11 |
this.setJMenuBar(desktopMenubar); |
141 |
|
} catch (Exception e) |
142 |
|
{ |
143 |
0 |
e.printStackTrace(); |
144 |
|
} |
145 |
|
|
146 |
11 |
if (!Platform.isAMac()) |
147 |
|
{ |
148 |
11 |
FileMenu.setMnemonic('F'); |
149 |
11 |
inputLocalFileMenuItem.setMnemonic('L'); |
150 |
11 |
VamsasMenu.setMnemonic('V'); |
151 |
11 |
inputURLMenuItem.setMnemonic('U'); |
152 |
11 |
inputTextboxMenuItem.setMnemonic('C'); |
153 |
11 |
quit.setMnemonic('Q'); |
154 |
11 |
saveState.setMnemonic('S'); |
155 |
11 |
loadState.setMnemonic('L'); |
156 |
11 |
inputMenu.setMnemonic('I'); |
157 |
|
} |
158 |
|
} |
159 |
|
|
160 |
|
|
161 |
|
|
162 |
|
|
163 |
|
@throws |
164 |
|
|
165 |
|
|
|
|
| 97.3% |
Uncovered Elements: 3 (111) |
Complexity: 4 |
Complexity Density: 0.04 |
|
166 |
11 |
private void jbInit() throws Exception... |
167 |
|
{ |
168 |
|
|
169 |
11 |
FileMenu.setText(MessageManager.getString("action.file")); |
170 |
11 |
HelpMenu.setText(MessageManager.getString("action.help")); |
171 |
11 |
VamsasMenu.setText("Vamsas"); |
172 |
11 |
VamsasMenu.setToolTipText(MessageManager |
173 |
|
.getString("label.share_data_vamsas_applications")); |
174 |
11 |
VamsasStMenu.setText(MessageManager.getString("label.connect_to")); |
175 |
11 |
VamsasStMenu.setToolTipText( |
176 |
|
MessageManager.getString("label.join_existing_vamsas_session")); |
177 |
11 |
inputLocalFileMenuItem |
178 |
|
.setText(MessageManager.getString("label.load_tree_from_file")); |
179 |
11 |
inputLocalFileMenuItem.setAccelerator( |
180 |
|
javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, |
181 |
|
Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(), |
182 |
|
false)); |
183 |
11 |
inputLocalFileMenuItem |
184 |
|
.addActionListener(new java.awt.event.ActionListener() |
185 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
186 |
0 |
@Override... |
187 |
|
public void actionPerformed(ActionEvent e) |
188 |
|
{ |
189 |
0 |
inputLocalFileMenuItem_actionPerformed(null); |
190 |
|
} |
191 |
|
}); |
192 |
11 |
inputURLMenuItem.setText(MessageManager.getString("label.from_url")); |
193 |
11 |
inputURLMenuItem.addActionListener(new java.awt.event.ActionListener() |
194 |
|
{ |
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 2 |
Complexity Density: 0.67 |
|
195 |
0 |
@Override... |
196 |
|
public void actionPerformed(ActionEvent e) |
197 |
|
{ |
198 |
0 |
try |
199 |
|
{ |
200 |
0 |
inputURLMenuItem_actionPerformed(null); |
201 |
|
} catch (FileFormatException e1) |
202 |
|
{ |
203 |
0 |
System.err.println("Error loading from URL: " + e1.getMessage()); |
204 |
|
} |
205 |
|
} |
206 |
|
}); |
207 |
11 |
inputTextboxMenuItem |
208 |
|
.setText(MessageManager.getString("label.from_textbox")); |
209 |
11 |
inputTextboxMenuItem |
210 |
|
.addActionListener(new java.awt.event.ActionListener() |
211 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
212 |
0 |
@Override... |
213 |
|
public void actionPerformed(ActionEvent e) |
214 |
|
{ |
215 |
0 |
inputTextboxMenuItem_actionPerformed(null); |
216 |
|
} |
217 |
|
}); |
218 |
11 |
quit.setText(MessageManager.getString("action.quit")); |
219 |
11 |
quit.addActionListener(new java.awt.event.ActionListener() |
220 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
221 |
0 |
@Override... |
222 |
|
public void actionPerformed(ActionEvent e) |
223 |
|
{ |
224 |
0 |
quit(); |
225 |
|
} |
226 |
|
}); |
227 |
11 |
aboutMenuItem.setText(MessageManager.getString("label.about")); |
228 |
11 |
aboutMenuItem.addActionListener(new java.awt.event.ActionListener() |
229 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
230 |
0 |
@Override... |
231 |
|
public void actionPerformed(ActionEvent e) |
232 |
|
{ |
233 |
0 |
aboutMenuItem_actionPerformed(e); |
234 |
|
} |
235 |
|
}); |
236 |
11 |
documentationMenuItem |
237 |
|
.setText(MessageManager.getString("label.documentation")); |
238 |
11 |
documentationMenuItem.setAccelerator(javax.swing.KeyStroke |
239 |
|
.getKeyStroke(java.awt.event.KeyEvent.VK_F1, 0, false)); |
240 |
11 |
documentationMenuItem |
241 |
|
.addActionListener(new java.awt.event.ActionListener() |
242 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
243 |
0 |
@Override... |
244 |
|
public void actionPerformed(ActionEvent e) |
245 |
|
{ |
246 |
0 |
documentationMenuItem_actionPerformed(); |
247 |
|
} |
248 |
|
}); |
249 |
11 |
this.getContentPane().setLayout(flowLayout1); |
250 |
11 |
windowMenu.setText(MessageManager.getString("label.window")); |
251 |
11 |
preferences.setText(MessageManager.getString("label.preferences")); |
252 |
11 |
preferences.addActionListener(new ActionListener() |
253 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
254 |
0 |
@Override... |
255 |
|
public void actionPerformed(ActionEvent e) |
256 |
|
{ |
257 |
0 |
preferences_actionPerformed(e); |
258 |
|
} |
259 |
|
}); |
260 |
11 |
toolsMenu.setText(MessageManager.getString("label.tools")); |
261 |
11 |
saveState.setText(MessageManager.getString("action.save_project")); |
262 |
11 |
saveState.addActionListener(new ActionListener() |
263 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
264 |
0 |
@Override... |
265 |
|
public void actionPerformed(ActionEvent e) |
266 |
|
{ |
267 |
0 |
saveState_actionPerformed(); |
268 |
|
} |
269 |
|
}); |
270 |
11 |
loadState.setText(MessageManager.getString("action.load_project")); |
271 |
11 |
loadState.addActionListener(new ActionListener() |
272 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
273 |
0 |
@Override... |
274 |
|
public void actionPerformed(ActionEvent e) |
275 |
|
{ |
276 |
0 |
loadState_actionPerformed(); |
277 |
|
} |
278 |
|
}); |
279 |
11 |
inputMenu.setText(MessageManager.getString("label.input_alignment")); |
280 |
11 |
vamsasStart |
281 |
|
.setText(MessageManager.getString("label.new_vamsas_session")); |
282 |
11 |
vamsasStart.setVisible(false); |
283 |
11 |
vamsasStart.addActionListener(new ActionListener() |
284 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
285 |
0 |
@Override... |
286 |
|
public void actionPerformed(ActionEvent e) |
287 |
|
{ |
288 |
0 |
vamsasStart_actionPerformed(e); |
289 |
|
} |
290 |
|
}); |
291 |
11 |
vamsasImport.setText( |
292 |
|
MessageManager.getString("action.load_vamsas_session")); |
293 |
11 |
vamsasImport.setVisible(false); |
294 |
11 |
vamsasImport.addActionListener(new ActionListener() |
295 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
296 |
0 |
@Override... |
297 |
|
public void actionPerformed(ActionEvent e) |
298 |
|
{ |
299 |
0 |
vamsasImport_actionPerformed(e); |
300 |
|
} |
301 |
|
}); |
302 |
11 |
vamsasSave.setText( |
303 |
|
MessageManager.getString("action.save_vamsas_session")); |
304 |
11 |
vamsasSave.setVisible(false); |
305 |
11 |
vamsasSave.addActionListener(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 |
vamsasSave_actionPerformed(e); |
311 |
|
} |
312 |
|
}); |
313 |
11 |
inputSequence |
314 |
|
.setText(MessageManager.getString("action.fetch_sequences")); |
315 |
11 |
inputSequence.addActionListener(new ActionListener() |
316 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
317 |
0 |
@Override... |
318 |
|
public void actionPerformed(ActionEvent e) |
319 |
|
{ |
320 |
0 |
inputSequence_actionPerformed(e); |
321 |
|
} |
322 |
|
}); |
323 |
11 |
vamsasStop |
324 |
|
.setText(MessageManager.getString("label.stop_vamsas_session")); |
325 |
11 |
vamsasStop.setVisible(false); |
326 |
11 |
vamsasStop.addActionListener(new ActionListener() |
327 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
328 |
0 |
@Override... |
329 |
|
public void actionPerformed(ActionEvent e) |
330 |
|
{ |
331 |
0 |
vamsasStop_actionPerformed(e); |
332 |
|
} |
333 |
|
}); |
334 |
11 |
closeAll.setText(MessageManager.getString("action.close_all")); |
335 |
11 |
closeAll.addActionListener(new ActionListener() |
336 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
337 |
0 |
@Override... |
338 |
|
public void actionPerformed(ActionEvent e) |
339 |
|
{ |
340 |
0 |
closeAll_actionPerformed(e); |
341 |
|
} |
342 |
|
}); |
343 |
11 |
raiseRelated.setText( |
344 |
|
MessageManager.getString("action.raise_associated_windows")); |
345 |
11 |
raiseRelated.addActionListener(new ActionListener() |
346 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
347 |
0 |
@Override... |
348 |
|
public void actionPerformed(ActionEvent e) |
349 |
|
{ |
350 |
0 |
raiseRelated_actionPerformed(e); |
351 |
|
} |
352 |
|
}); |
353 |
11 |
minimizeAssociated.setText( |
354 |
|
MessageManager.getString("action.minimize_associated_windows")); |
355 |
11 |
minimizeAssociated.addActionListener(new ActionListener() |
356 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
357 |
0 |
@Override... |
358 |
|
public void actionPerformed(ActionEvent e) |
359 |
|
{ |
360 |
0 |
minimizeAssociated_actionPerformed(e); |
361 |
|
} |
362 |
|
}); |
363 |
11 |
garbageCollect |
364 |
|
.setText(MessageManager.getString("label.collect_garbage")); |
365 |
11 |
garbageCollect.addActionListener(new ActionListener() |
366 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
367 |
0 |
@Override... |
368 |
|
public void actionPerformed(ActionEvent e) |
369 |
|
{ |
370 |
0 |
garbageCollect_actionPerformed(e); |
371 |
|
} |
372 |
|
}); |
373 |
11 |
showMemusage |
374 |
|
.setText(MessageManager.getString("label.show_memory_usage")); |
375 |
11 |
showMemusage.addActionListener(new ActionListener() |
376 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
377 |
0 |
@Override... |
378 |
|
public void actionPerformed(ActionEvent e) |
379 |
|
{ |
380 |
0 |
showMemusage_actionPerformed(e); |
381 |
|
} |
382 |
|
}); |
383 |
11 |
showConsole |
384 |
|
.setText(MessageManager.getString("label.show_java_console")); |
385 |
11 |
showConsole.addActionListener(new ActionListener() |
386 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
387 |
0 |
@Override... |
388 |
|
public void actionPerformed(ActionEvent e) |
389 |
|
{ |
390 |
0 |
showConsole_actionPerformed(e); |
391 |
|
} |
392 |
|
}); |
393 |
11 |
showNews.setText(MessageManager.getString("label.show_jalview_news")); |
394 |
11 |
showNews.addActionListener(new ActionListener() |
395 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
396 |
0 |
@Override... |
397 |
|
public void actionPerformed(ActionEvent e) |
398 |
|
{ |
399 |
0 |
showNews_actionPerformed(e); |
400 |
|
} |
401 |
|
}); |
402 |
11 |
groovyShell = new JMenuItem(); |
403 |
11 |
groovyShell.setText(MessageManager.getString("label.groovy_console")); |
404 |
11 |
groovyShell.addActionListener(new ActionListener() |
405 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
406 |
0 |
@Override... |
407 |
|
public void actionPerformed(ActionEvent e) |
408 |
|
{ |
409 |
0 |
groovyShell_actionPerformed(); |
410 |
|
} |
411 |
|
}); |
412 |
11 |
experimentalFeatures = new JCheckBoxMenuItem(); |
413 |
11 |
experimentalFeatures |
414 |
|
.setText(MessageManager.getString("label.show_experimental")); |
415 |
11 |
experimentalFeatures.setToolTipText( |
416 |
|
MessageManager.getString("label.show_experimental_tip")); |
417 |
11 |
experimentalFeatures.addActionListener(new ActionListener() |
418 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
419 |
0 |
@Override... |
420 |
|
public void actionPerformed(ActionEvent e) |
421 |
|
{ |
422 |
0 |
showExperimental_actionPerformed(experimentalFeatures.isSelected()); |
423 |
|
} |
424 |
|
}); |
425 |
|
|
426 |
11 |
snapShotWindow.setText(MessageManager.getString("label.take_snapshot")); |
427 |
11 |
snapShotWindow.addActionListener(new ActionListener() |
428 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
429 |
0 |
@Override... |
430 |
|
public void actionPerformed(ActionEvent e) |
431 |
|
{ |
432 |
0 |
snapShotWindow_actionPerformed(e); |
433 |
|
} |
434 |
|
}); |
435 |
|
|
436 |
11 |
desktopMenubar.add(FileMenu); |
437 |
11 |
desktopMenubar.add(toolsMenu); |
438 |
11 |
VamsasMenu.setVisible(false); |
439 |
11 |
desktopMenubar.add(VamsasMenu); |
440 |
11 |
desktopMenubar.add(HelpMenu); |
441 |
11 |
desktopMenubar.add(windowMenu); |
442 |
11 |
FileMenu.add(inputMenu); |
443 |
11 |
FileMenu.add(inputSequence); |
444 |
11 |
if (!Jalview.isJS()) |
445 |
|
{ |
446 |
11 |
FileMenu.addSeparator(); |
447 |
11 |
FileMenu.add(saveState); |
448 |
11 |
FileMenu.add(loadState); |
449 |
|
} |
450 |
11 |
FileMenu.addSeparator(); |
451 |
11 |
FileMenu.add(quit); |
452 |
11 |
HelpMenu.add(aboutMenuItem); |
453 |
11 |
HelpMenu.add(documentationMenuItem); |
454 |
11 |
VamsasMenu.add(VamsasStMenu); |
455 |
11 |
VamsasStMenu.setVisible(false); |
456 |
11 |
VamsasMenu.add(vamsasStart); |
457 |
11 |
VamsasMenu.add(vamsasImport); |
458 |
11 |
VamsasMenu.add(vamsasSave); |
459 |
11 |
VamsasMenu.add(vamsasStop); |
460 |
11 |
toolsMenu.add(preferences); |
461 |
11 |
if (!Jalview.isJS()) |
462 |
|
{ |
463 |
11 |
toolsMenu.add(showMemusage); |
464 |
11 |
toolsMenu.add(showConsole); |
465 |
|
} |
466 |
11 |
if (!Jalview.isJS()) |
467 |
|
{ |
468 |
11 |
toolsMenu.add(showNews); |
469 |
11 |
toolsMenu.add(garbageCollect); |
470 |
11 |
toolsMenu.add(groovyShell); |
471 |
|
} |
472 |
11 |
toolsMenu.add(experimentalFeatures); |
473 |
|
|
474 |
11 |
inputMenu.add(inputLocalFileMenuItem); |
475 |
11 |
inputMenu.add(inputURLMenuItem); |
476 |
11 |
inputMenu.add(inputTextboxMenuItem); |
477 |
11 |
windowMenu.add(closeAll); |
478 |
11 |
windowMenu.add(raiseRelated); |
479 |
11 |
windowMenu.add(minimizeAssociated); |
480 |
11 |
windowMenu.addSeparator(); |
481 |
|
|
482 |
|
} |
483 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
484 |
0 |
protected void showExperimental_actionPerformed(boolean selected)... |
485 |
|
{ |
486 |
|
} |
487 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
488 |
0 |
protected void groovyShell_actionPerformed()... |
489 |
|
{ |
490 |
|
} |
491 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
492 |
0 |
protected void snapShotWindow_actionPerformed(ActionEvent e)... |
493 |
|
{ |
494 |
|
|
495 |
|
|
496 |
|
} |
497 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
498 |
0 |
protected void showConsole_actionPerformed(ActionEvent e)... |
499 |
|
{ |
500 |
|
|
501 |
|
|
502 |
|
} |
503 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
504 |
0 |
protected void showNews_actionPerformed(ActionEvent e)... |
505 |
|
{ |
506 |
|
|
507 |
|
|
508 |
|
} |
509 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
510 |
0 |
protected void showMemusage_actionPerformed(ActionEvent e)... |
511 |
|
{ |
512 |
|
|
513 |
|
|
514 |
|
} |
515 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
516 |
0 |
protected void garbageCollect_actionPerformed(ActionEvent e)... |
517 |
|
{ |
518 |
|
|
519 |
|
|
520 |
|
} |
521 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
522 |
0 |
protected void vamsasStMenu_actionPerformed()... |
523 |
|
{ |
524 |
|
} |
525 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
526 |
0 |
public void vamsasSave_actionPerformed(ActionEvent e)... |
527 |
|
{ |
528 |
|
} |
529 |
|
|
530 |
|
|
531 |
|
|
532 |
|
|
533 |
|
@param |
534 |
|
|
535 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
536 |
0 |
protected void inputLocalFileMenuItem_actionPerformed(... |
537 |
|
jalview.gui.AlignViewport av) |
538 |
|
{ |
539 |
|
} |
540 |
|
|
541 |
|
|
542 |
|
|
543 |
|
|
544 |
|
@param |
545 |
|
|
546 |
|
@throws |
547 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
548 |
0 |
protected void inputURLMenuItem_actionPerformed(... |
549 |
|
jalview.gui.AlignViewport av) throws FileFormatException |
550 |
|
{ |
551 |
|
} |
552 |
|
|
553 |
|
|
554 |
|
|
555 |
|
|
556 |
|
@param |
557 |
|
|
558 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
559 |
0 |
protected void inputTextboxMenuItem_actionPerformed(... |
560 |
|
AlignmentViewPanel avp) |
561 |
|
{ |
562 |
|
} |
563 |
|
|
564 |
|
|
565 |
|
|
566 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
567 |
0 |
protected void quit()... |
568 |
|
{ |
569 |
|
} |
570 |
|
|
571 |
|
|
572 |
|
|
573 |
|
|
574 |
|
@param |
575 |
|
|
576 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
577 |
0 |
protected void aboutMenuItem_actionPerformed(ActionEvent e)... |
578 |
|
{ |
579 |
|
} |
580 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
581 |
0 |
protected void documentationMenuItem_actionPerformed()... |
582 |
|
{ |
583 |
|
} |
584 |
|
|
585 |
|
|
586 |
|
|
587 |
|
|
588 |
|
@param |
589 |
|
|
590 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
591 |
0 |
public void SaveState_actionPerformed(ActionEvent e)... |
592 |
|
{ |
593 |
|
} |
594 |
|
|
595 |
|
|
596 |
|
|
597 |
|
|
598 |
|
@param |
599 |
|
|
600 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
601 |
0 |
protected void preferences_actionPerformed(ActionEvent e)... |
602 |
|
{ |
603 |
|
} |
604 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
605 |
0 |
public void saveState_actionPerformed()... |
606 |
|
{ |
607 |
|
} |
608 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
609 |
0 |
public void loadState_actionPerformed()... |
610 |
|
{ |
611 |
|
} |
612 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
613 |
0 |
public void vamsasStart_actionPerformed(ActionEvent e)... |
614 |
|
{ |
615 |
|
|
616 |
|
} |
617 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
618 |
0 |
public void inputSequence_actionPerformed(ActionEvent e)... |
619 |
|
{ |
620 |
|
|
621 |
|
} |
622 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
623 |
0 |
public void vamsasStop_actionPerformed(ActionEvent e)... |
624 |
|
{ |
625 |
|
|
626 |
|
} |
627 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
628 |
0 |
public void closeAll_actionPerformed(ActionEvent e)... |
629 |
|
{ |
630 |
|
|
631 |
|
} |
632 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
633 |
0 |
public void raiseRelated_actionPerformed(ActionEvent e)... |
634 |
|
{ |
635 |
|
|
636 |
|
} |
637 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
638 |
0 |
public void minimizeAssociated_actionPerformed(ActionEvent e)... |
639 |
|
{ |
640 |
|
|
641 |
|
} |
642 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
643 |
0 |
public void vamsasImport_actionPerformed(ActionEvent e)... |
644 |
|
{ |
645 |
|
} |
646 |
|
} |