OrsGenericMenuItems

Supports the use of generic menu items generated by the OrsGenericMenuGenerator plugin

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved 2020.
date:May 14 2016 12:11
dragonflyVersion:
 3.0
UUID:3c87d774761411e7bd90448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsGenericMenuItems.OrsGenericMenuItems.OrsGenericMenuItems(varName=None, managed=True)
classmethod addUserDefinedMenuItems()
closable = False
contextualMenu(selectedItems)
classmethod developerToolsMenu()
classmethod evaluateMenuActionString(actionString, menuString)

Evaluates a string from the help menu

Parameters:
  • actionString (str) – the string to evaluate
  • menuString (str) – provenance of the action string. Used in case of exception while evaluating
classmethod fileMenu()
classmethod helpMenu()
classmethod importAllLoggingClasses()

This method is called to make any class extension available for macro playing. It should:

  1. import all class extension;
  2. return a list of classes where logging is supported.
Returns:output (list of classes) – list of classes where logging is supported by the current plugin
keepAlive = False
multiple = False
savable = True
classmethod utilisersMenu()