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 TypeMethodDescriptionvoid
void
customize
(JPopupMenu menu) protected String
getCategoryFor
(Property<?> prop) protected static String
getDisplayName
(Property<?> prop) protected abstract Collection<Property<?>>
protected JMenuItem
-
Constructor Details
-
AbstractPropertyMenuCustomizer
-
-
Method Details
-
getProperties
-
customize
- Specified by:
customize
in interfacecom.jidesoft.swing.JideMenu.PopupMenuCustomizer
-
itemFor
-
getCategoryFor
-
getDisplayName
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-