| java.lang.Object com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller
FeatureInstaller | public class FeatureInstaller (Code) | | Adds a plug-in to the JUMP Workbench as a menu item.
|
Method Summary | |
public void | addLayerNameViewMenuItem(PlugIn executable, String menuName, String menuItemName) | public void | addLayerNameViewMenuItem(PlugIn executable, String[] menuPath, String menuItemName) Add a menu item to the main menu that is enabled only if the active
internal frame is a LayerViewPanelProxy and a LayerNamePanelProxy. | public void | addLayerViewMenuItem(PlugIn executable, String menuName, String menuItemName) | public void | addLayerViewMenuItem(PlugIn executable, String[] menuPath, String menuItemName) Add a menu item to the main menu that is enabled only if the active
internal frame is a LayerViewPanelProxy. | public void | addMainMenuItem(PlugIn executable, String menuName, String menuItemName, Icon icon, EnableCheck enableCheck) | public void | addMainMenuItem(PlugIn executable, String[] menuPath, String menuItemName, boolean checkBox, Icon icon, EnableCheck enableCheck) | public void | addMainMenuItemWithJava14Fix(PlugIn executable, String[] menuPath, String menuItemName, boolean checkBox, Icon icon, EnableCheck enableCheck) Workaround for Java Bug 4809393: "Menus disappear prematurely after
displaying modal dialog" Evidently fixed in Java 1.5. | public void | addMenuItemShownListener(JMenuItem menuItem, MenuItemShownListener menuItemShownListener) | public void | addMenuSeparator(String menu) | public void | addMenuSeparator(String[] menuPath) | public void | addMenuSeparator(JMenu menu) | public void | addPopupMenuItem(JPopupMenu popupMenu, PlugIn executable, String menuItemName, boolean checkBox, Icon icon, EnableCheck enableCheck) | public String[] | behead(String[] a1) | public static JMenuItem | childMenuItem(String childName, MenuElement menu) | public MultiEnableCheck | createFenceExistsCheck() | public MultiEnableCheck | createLayersSelectedCheck() | public JMenu | createMenusIfNecessary(JMenu parent, String[] menuPath) | public MultiEnableCheck | createOneLayerSelectedCheck() | public MultiEnableCheck | createVectorsExistCheck() | public static JMenuItem | installMnemonic(JMenuItem menuItem, MenuElement parent) | public JMenuBar | menuBar() | public JMenu | menuBarMenu(String childName) | public static String | removeProperties(String menuItemName) |
addLayerNameViewMenuItem | public void addLayerNameViewMenuItem(PlugIn executable, String menuName, String menuItemName)(Code) | | |
addLayerNameViewMenuItem | public void addLayerNameViewMenuItem(PlugIn executable, String[] menuPath, String menuItemName)(Code) | | Add a menu item to the main menu that is enabled only if the active
internal frame is a LayerViewPanelProxy and a LayerNamePanelProxy.
|
addLayerViewMenuItem | public void addLayerViewMenuItem(PlugIn executable, String[] menuPath, String menuItemName)(Code) | | Add a menu item to the main menu that is enabled only if the active
internal frame is a LayerViewPanelProxy.
|
addMainMenuItem | public void addMainMenuItem(PlugIn executable, String[] menuPath, String menuItemName, boolean checkBox, Icon icon, EnableCheck enableCheck)(Code) | | Parameters: menuPath - separate items with slashes; items will be created if they donot already exist Parameters: menuActionListener - listener for the menu (not the menu item); useful for settingthe menu item's enabled state; can be set to null Parameters: checkBox - whether to create a JCheckBoxMenuItem or a JMenuItem the created JMenuItem See Also: GUIUtil.toSmallIcon |
addMainMenuItemWithJava14Fix | public void addMainMenuItemWithJava14Fix(PlugIn executable, String[] menuPath, String menuItemName, boolean checkBox, Icon icon, EnableCheck enableCheck)(Code) | | Workaround for Java Bug 4809393: "Menus disappear prematurely after
displaying modal dialog" Evidently fixed in Java 1.5. The workaround is
to wrap #actionPerformed with SwingUtilities#invokeLater.
|
addMenuSeparator | public void addMenuSeparator(String menu)(Code) | | |
addMenuSeparator | public void addMenuSeparator(String[] menuPath)(Code) | | |
addMenuSeparator | public void addMenuSeparator(JMenu menu)(Code) | | |
addPopupMenuItem | public void addPopupMenuItem(JPopupMenu popupMenu, PlugIn executable, String menuItemName, boolean checkBox, Icon icon, EnableCheck enableCheck)(Code) | | Parameters: enableCheck - null to leave unspecified |
menuBarMenu | public JMenu menuBarMenu(String childName)(Code) | | the menu with the given name, or null if no such menu exists |
|
|