Class AbstractPropertyMenuCustomizer
java.lang.Object
com.inductiveautomation.ignition.designer.gui.AbstractPropertyMenuCustomizer
- All Implemented Interfaces:
com.jidesoft.swing.JideMenu.PopupMenuCustomizer,ActionListener,EventListener
- Direct Known Subclasses:
AlarmEditPanel.AlarmPropMenu,AlarmEditPanel.AlarmPropMenu
public abstract class AbstractPropertyMenuCustomizer
extends Object
implements com.jidesoft.swing.JideMenu.PopupMenuCustomizer, ActionListener
A
JideMenu.PopupMenuCustomizer that builds menus off of a set of Property, provided by the subclass. It
creates sub menus for properties who are DescriptiveProperty, based on their categories.-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcustomize(JPopupMenu menu) protected StringgetCategoryFor(Property<?> prop) protected static StringgetDisplayName(Property<?> prop) protected abstract Collection<Property<?>>protected JMenuItem
-
Constructor Details
-
AbstractPropertyMenuCustomizer
-
-
Method Details
-
getProperties
-
customize
- Specified by:
customizein interfacecom.jidesoft.swing.JideMenu.PopupMenuCustomizer
-
itemFor
-
getCategoryFor
-
getDisplayName
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-