@Override
protected void populate() {
// "Open object" and related menu actions
addMenuItemInfos(THIS_OPEN_EXT,
Arrays.asList(
new MenuItemInfo("THIS_OPEN_ACTION_ID", MenuItemType.NORMAL),
new MenuItemInfo(DetectGraphicsDevices.THIS_OPEN_MULTIPLE_MONITORS_MENU, MenuItemType.SUBMENU),
new MenuItemInfo("THIS_SAVE_ACTION", MenuItemType.NORMAL),
new MenuItemInfo("THIS_SAVE_ALL_ACTION", MenuItemType.NORMAL),
new MenuItemInfo("VIEW_REVERT_TO_COMMITTED", MenuItemType.NORMAL)
));
// Import / export
addMenuItemInfos(THIS_PORT_EXT,
Arrays.asList(
new MenuItemInfo("THIS_IMPORT_SUBMENU", MenuItemType.SUBMENU),
new MenuItemInfo("THIS_EXPORT_SUBMENU", MenuItemType.SUBMENU)
));
// Placeholder for plugin-introduced additions
addMenuItemInfos(THIS_ADDITIONS, Collections.<MenuItemInfo>emptyList());
// Quit action - should always be on the bottom, after separator
addMenuItemInfos(THIS_CLOSE_EXT,
Arrays.asList(
new MenuItemInfo("QUIT_ACTION", MenuItemType.NORMAL)
));
}