MCPcopy Create free account
hub / github.com/rambaut/figtree / showDialog

Method showDialog

src/figtree/application/ExportTreeDialog.java:102–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 }
101
102 public int showDialog() {
103
104
105 dialog.setVisible(true);
106
107 int result = JOptionPane.CANCEL_OPTION;
108 Integer value = (Integer)optionPane.getValue();
109 if (value != null && value.intValue() != -1) {
110 result = value.intValue();
111 }
112
113 if (result == JOptionPane.OK_OPTION) {
114
115 }
116
117 return result;
118 }
119
120 public Format getFormat() {
121 return (Format)formatCombo.getSelectedItem();

Callers 7

defineAnnotationsMethod · 0.45
annotateNodesFromTipsMethod · 0.45
annotateTipsFromNodesMethod · 0.45
hilightSelectedMethod · 0.45
annotateSelectedMethod · 0.45
colourSelectedMethod · 0.45
doExportMethod · 0.45

Calls 2

setVisibleMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected