MCPcopy Index your code
hub / github.com/processing/processing / windowActivated

Method windowActivated

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

Source from the content-addressed store, hash-verified

184 addWindowListener(new WindowAdapter() {
185
186 public void windowActivated(WindowEvent e) {
187 base.handleActivated(Editor.this);
188 fileMenu.insert(Recent.getMenu(), 2);
189 Toolkit.setMenuMnemsInside(fileMenu);
190
191 mode.insertImportMenu(sketchMenu);
192 Toolkit.setMenuMnemsInside(sketchMenu);
193 mode.insertToolbarRecentMenu();
194 }
195
196 public void windowDeactivated(WindowEvent e) {
197 // 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