Class RelationPopupMenus
java.lang.Object
org.openstreetmap.josm.gui.dialogs.relation.RelationPopupMenus
Utility class to setup a
PopupMenuHandler with a consistent set of relation actions.- Since:
- 14685
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PopupMenuHandlersetupHandler(PopupMenuHandler menu, Class<? extends Action>... excludeActions) Adds relation actions to the givenPopupMenuHandler
-
Constructor Details
-
RelationPopupMenus
private RelationPopupMenus()
-
-
Method Details
-
setupHandler
@SafeVarargs public static PopupMenuHandler setupHandler(PopupMenuHandler menu, Class<? extends Action>... excludeActions) Adds relation actions to the givenPopupMenuHandler- Parameters:
menu- handler to add actions toexcludeActions- 0 or more action classes to exclude, i.e., not add- Returns:
menu
-