MCPcopy Index your code
hub / github.com/arduino/Arduino / changeState

Method changeState

app/src/processing/app/EditorStatus.java:111–127  ·  view source on GitHub ↗
(int newMode)

Source from the content-addressed store, hash-verified

109 }
110
111 private void changeState(int newMode) {
112 if (mode == newMode) {
113 return;
114 }
115
116 mode = newMode;
117
118 if (cancelButton.isVisible()) {
119 cancelButton.doClick();
120 }
121 cancelButton.setVisible(false);
122 okButton.setVisible(false);
123 editField.setVisible(false);
124 progressBar.setVisible(false);
125 copyErrorButton.setVisible(false);
126 message = NO_MESSAGE;
127 }
128
129 public void notice(String message) {
130 changeState(NOTICE);

Callers 5

clearStateMethod · 0.95
noticeMethod · 0.95
errorMethod · 0.95
editMethod · 0.95
progressMethod · 0.95

Calls 1

setVisibleMethod · 0.80

Tested by

no test coverage detected