ViewType.EMBEDDED),
new ViewInfo(PanelInspector.class, "Panel Inspector", ViewType.CENTER_OWNED_INSPECTOR));
@Override
public Collection<MenuItemInfo> getMenuItemInfos() {
return Arrays.asList(
new MenuItemInfo("/objects/view.ext", "OBJECTS_CHANGE_VIEWS",
MenuItemType.RADIO_GROUP, ChangeViewAction.class),
new MenuItemInfo("/objects/export.ext", bundle.getString("ExportViewAsImageCommandKey"),
MenuItemType.NORMAL, ExportPanelAsImageAction.class),
new MenuItemInfo("/objects/deletion.ext", "OBJECTS_REMOVE_MANIFESTATION",
MenuItemType.NORMAL, RemovePanelAction.class),
new MenuItemInfo("/objects/format.panel.ext", "OBJECTS_ALIGNMENT",
AlignmentMenu.class),
// alignment menu actions
new MenuItemInfo(AlignmentMenu.OBJECTS_ALIGNMENT_ORIENTATION_EXT,
AlignLeftAction.ACTION_KEY, MenuItemType.NORMAL,
AlignLeftAction.class),
new MenuItemInfo(AlignmentMenu.OBJECTS_ALIGNMENT_ORIENTATION_EXT,
AlignRightAction.ACTION_KEY, MenuItemType.NORMAL,
AlignRightAction.class),
new MenuItemInfo(AlignmentMenu.OBJECTS_ALIGNMENT_ORIENTATION_EXT,
AlignTopAction.ACTION_KEY, MenuItemType.NORMAL,
AlignTopAction.class),
new MenuItemInfo(AlignmentMenu.OBJECTS_ALIGNMENT_ORIENTATION_EXT,
AlignBottomAction.ACTION_KEY, MenuItemType.NORMAL,
AlignBottomAction.class),
new MenuItemInfo(AlignmentMenu.OBJECTS_ALIGNMENT_ORIENTATION_EXT,
AlignVerticalCenterAction.ACTION_KEY, MenuItemType.NORMAL,
AlignVerticalCenterAction.class),
new MenuItemInfo(AlignmentMenu.OBJECTS_ALIGNMENT_ORIENTATION_EXT,
AlignHorizontalCenterAction.ACTION_KEY,
MenuItemType.NORMAL, AlignHorizontalCenterAction.class),
new MenuItemInfo("/objects/format.panel.ext", "OBJECTS_BORDERS",
BordersMenu.class),
new MenuItemInfo(BordersMenu.OBJECTS_BORDERS_SIDES_EXT,
BordersBottomAction.ACTION_KEY, MenuItemType.CHECKBOX,
BordersBottomAction.class),
new MenuItemInfo(BordersMenu.OBJECTS_BORDERS_SIDES_EXT,
BordersTopAction.ACTION_KEY, MenuItemType.CHECKBOX,
BordersTopAction.class),
new MenuItemInfo(BordersMenu.OBJECTS_BORDERS_SIDES_EXT,
BordersLeftAction.ACTION_KEY, MenuItemType.CHECKBOX,
BordersLeftAction.class),
new MenuItemInfo(BordersMenu.OBJECTS_BORDERS_SIDES_EXT,
BordersRightAction.ACTION_KEY, MenuItemType.CHECKBOX,
BordersRightAction.class),
new MenuItemInfo(BordersMenu.OBJECTS_BORDERS_ALLORNONE_EXT,
BordersAllOrNoneAction.ACTION_KEY,
MenuItemType.RADIO_GROUP, BordersAllOrNoneAction.class),
new MenuItemInfo("/objects/format.panel.ext", "OBJECTS_PANEL_TITLE_BAR",
MenuItemType.CHECKBOX, PanelTitleBarAction.class),
new MenuItemInfo("/objects/format.zorder.ext",
"OBJECTS_FORMATTING_BRING_TO_FRONT", MenuItemType.NORMAL,
BringToFrontAction.class), new MenuItemInfo(
"/objects/format.zorder.ext",
"OBJECTS_FORMATTING_SEND_TO_BACK", MenuItemType.NORMAL,
SendToBackAction.class),
new MenuItemInfo("/objects/additions", // NOI18N
"OBJECTS_VIEW_GRIDS", // NOI18N
GridMenu.class),
new MenuItemInfo("/objects/grid.size/sizes.ext", // NOI18N
"PANEL_CHANGE_GRID_SIZE", // NOI18N
MenuItemType.RADIO_GROUP, ChangeGridSizeAction.class),
new MenuItemInfo("/objects/additions", // NOI18N
"CHANGE_SNAP", // NOI18N
MenuItemType.CHECKBOX, ChangeSnapAction.class),
new MenuItemInfo("/objects/additions", // NOI18N
"RETILE", // NOI18N
MenuItemType.NORMAL, ReTileAction.class),
new MenuItemInfo("/view/formatting.ext", // NOI18N
"VIEW_GRIDS", // NOI18N
WindowGridMenu.class),
new MenuItemInfo(WindowGridMenu.VIEW_GRID_SIZE_SUBMENU_EXT, // NOI18N
"PANEL_CHANGE_GRID_SIZE_WINDOW", // NOI18N
MenuItemType.RADIO_GROUP, WindowChangeGridSizeAction.class),
new MenuItemInfo("/view/formatting.ext", // NOI18N
"VIEW_CHANGE_SNAP", // NOI18N
MenuItemType.CHECKBOX, WindowChangeSnapAction.class),
new MenuItemInfo("/view/formatting.ext", // NOI18N
"VIEW_RETILE", // NOI18N
MenuItemType.NORMAL, WindowReTileAction.class),
new MenuItemInfo("/view/select.ext", // NOI18N
"VIEW_SELECT_ALL", // NOI18N
MenuItemType.NORMAL, SelectAllAction.class),
new MenuItemInfo("/objects/format.panel.ext", "OBJECTS_BORDER_STYLES",
BorderStylesMenu.class),
new MenuItemInfo(BorderStylesMenu.OBJECTS_BORDERS_STYLES_EXT,
BorderStylesAction.ACTION_KEY,
MenuItemType.RADIO_GROUP,
BorderStylesAction.class),
new MenuItemInfo("/objects/format.panel.ext", "OBJECTS_PANEL_TITLE_BAR",
MenuItemType.CHECKBOX, PanelTitleBarAction.class),
new MenuItemInfo("/objects/format.zorder.ext",
"OBJECTS_FORMATTING_BRING_TO_FRONT", MenuItemType.NORMAL,
BringToFrontAction.class), new MenuItemInfo(
"/objects/format.zorder.ext",
"OBJECTS_FORMATTING_SEND_TO_BACK", MenuItemType.NORMAL,
SendToBackAction.class));
}