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

Method newJMenuItemShift

app/src/processing/app/Editor.java:1350–1354  ·  view source on GitHub ↗
(String title, int what)

Source from the content-addressed store, hash-verified

1348 */
1349 // Control + Shift + K seems to not be working on linux (Xubuntu 17.04, 2017-08-19)
1350 static public JMenuItem newJMenuItemShift(String title, int what) {
1351 JMenuItem menuItem = new JMenuItem(title);
1352 menuItem.setAccelerator(KeyStroke.getKeyStroke(what, SHORTCUT_KEY_MASK | ActionEvent.SHIFT_MASK));
1353 return menuItem;
1354 }
1355
1356
1357 /**

Callers 5

buildFileMenuMethod · 0.95
buildSketchMenuMethod · 0.95
buildToolsMenuMethod · 0.95
buildHelpMenuMethod · 0.95
buildEditMenuMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected