![]() Public static final int MAX_OPEN_RECENT_ITEMS = 15 Public static final int COMMAND_NOT_FOUND = - 5 Public static final int NOT_INSTALLED = - 4 Public static final int SHORTCUT_IN_USE = - 3 ![]() Public static final int INVALID_SHORTCUT = - 2 Public static final int COMMAND_IN_USE = - 1 Public static final int NORMAL_RETURN = 0 Public static final int WINDOW_MENU_ITEMS = 6 // fixed items at top of Window menu Public static final char UTILITIES_MENU = 'u ' Public static final char TOOLS_MENU = 't ' Public static final char FILTERS_MENU = 'f ' Public static final char ABOUT_MENU = 'a ' Public static final char SHORTCUTS_MENU = 'h ' // 'h'=hotkey Public static final char SAVE_AS_MENU = 's ' Public static final char IMPORT_MENU = 'i ' Public static final char PLUGINS_MENU = 'p ' If you look closely, you will see thatįile->Import->Text Image. Note that menu labels,Įven in submenus, must be unique. ![]() This class installs and updates ImageJ's menus. ![]() Menus Class addMenuBar Method getExamplesMenu Method addExample Method addOpenRecentSubMenu Method addItem Method addPlugInItem Method addCheckboxItem Method addSubMenu Method addLuts Method addPluginItem Method checkForDuplicate Method addPluginsMenu Method installPlugins Method installMacros Method installMacro Method addPluginSeparatorIfNeeded Method addOrdered Method getJarFileForMenuEntry Method installJarPlugins Method installJarPlugin Method addJarErrorHeading Method getImageJMenu Method getMenu Method getMenu Method getPluginsSubmenu Method getSubmenuName Method addItemSorted Method addSeparator Method getConfigurationFile Method autoGenerateConfigFile Method getStrippedPlugins Method setupPluginsAndMacrosPaths Method getPlugins Method checkSubdirectory Method installSubdirectorMacros Method validMacroName Method installUserPlugin Method installUserPlugin Method installPopupMenu Method getMenuBar Method getMacrosMenu Method getOpenRecentMenu Method getMacroCount Method getPluginCount Method updateMenus Method isColorLut Method getImageJPath Method getPlugInsPath Method getMacrosPath Method getCommands Method getShortcuts Method getMacroShortcuts Method insertWindowMenuItem Method addWindowMenuItem Method removeWindowMenuItem Method updateWindowMenuItem Method updateWindowMenuItem Method addOpenRecentItem Method getPopupMenu Method getSaveAsMenu Method installPlugin Method uninstallPlugin Method commandInUse Method convertShortcutToCode Method installStartupMacroSet Method validShortcut Method shortcutInUse Method setFontSize Method getFontSize Method getFont Method savePreferences Method updateImageJMenus Method updateFont Method add Method ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |