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

Method getBoardCustomMenu

app/src/processing/app/Base.java:1660–1667  ·  view source on GitHub ↗
(String label, String platformUniqueId)

Source from the content-addressed store, hash-verified

1658 }
1659
1660 private JMenu getBoardCustomMenu(String label, String platformUniqueId) throws Exception {
1661 for (JMenu menu : boardsCustomMenus) {
1662 if (label.equals(menu.getText()) && menu.getClientProperty("platform").equals(platformUniqueId)) {
1663 return menu;
1664 }
1665 }
1666 throw new Exception("Custom menu not found!");
1667 }
1668
1669 public List<JMenuItem> getProgrammerMenus() {
1670 return programmerMenus;

Callers 1

Calls 2

getTextMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected