MCPcopy Index your code
hub / github.com/benfry/processing4 / windowActivated

Method windowActivated

app/src/processing/app/ui/Editor.java:184–192  ·  view source on GitHub ↗
(WindowEvent e)

Source from the content-addressed store, hash-verified

182 addWindowListener(new WindowAdapter() {
183
184 public void windowActivated(WindowEvent e) {
185 base.handleActivated(Editor.this);
186 fileMenu.insert(Recent.getMenu(), 2);
187 Toolkit.setMenuMnemsInside(fileMenu);
188
189 mode.insertImportMenu(sketchMenu);
190 Toolkit.setMenuMnemsInside(sketchMenu);
191 mode.insertToolbarRecentMenu();
192 }
193
194 public void windowDeactivated(WindowEvent e) {
195 // TODO call handleActivated(null)? or do we run the risk of the

Callers

nothing calls this directly

Calls 6

getMenuMethod · 0.95
setMenuMnemsInsideMethod · 0.95
handleActivatedMethod · 0.80
insertImportMenuMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected