MCPcopy
hub / github.com/arduino/Arduino / edit

Method edit

app/src/processing/app/EditorStatus.java:147–159  ·  view source on GitHub ↗
(String message, String dflt)

Source from the content-addressed store, hash-verified

145 }
146
147 public void edit(String message, String dflt) {
148 changeState(EDIT);
149 this.message = message;
150
151 okButton.setVisible(true);
152 cancelButton.setVisible(true);
153 editField.setVisible(true);
154 editField.setText(dflt);
155 editField.selectAll();
156 editField.requestFocusInWindow();
157
158 repaint();
159 }
160
161 private void unedit() {
162 okButton.setVisible(false);

Callers 2

handleNewCodeMethod · 0.80
handleRenameCodeMethod · 0.80

Calls 5

changeStateMethod · 0.95
setVisibleMethod · 0.80
requestFocusInWindowMethod · 0.80
setTextMethod · 0.45
selectAllMethod · 0.45

Tested by

no test coverage detected