Skip to main content

%Studio.Extension.MenuItem

serial class %Studio.Extension.MenuItem extends %Library.SerialObject, %XML.Adaptor

Table of user defined menu items for Studio user interface extention

Property Inventory

Properties

property Enabled as %Boolean (XMLPROJECTION = "ATTRIBUTE") [ InitialExpression = "1" ];
True if this menu item is enabled, false to disable this menu item
Property methods: EnabledDisplayToLogical(), EnabledGet(), EnabledIsValid(), EnabledLogicalToDisplay(), EnabledLogicalToXSD(), EnabledNormalize(), EnabledSet(), EnabledXSDToLogical()
property Name as %String (MAXLEN = 128, XMLPROJECTION = "ATTRIBUTE");
Resource name of this menu item
Property methods: NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Save as %String (XMLPROJECTION = "ATTRIBUTE") [ InitialExpression = "000" ];
If this menu item is selected does the current document/project need to be saved? This is a bit string with '000' meaning nothing should be saved and a '1' in the following position meaning:
  • 1 - Current document must be saved
  • 2 - Project must be saved
  • 3 - Force 'Save All'
Property methods: SaveDisplayToLogical(), SaveGet(), SaveIsValid(), SaveLogicalToDisplay(), SaveLogicalToOdbc(), SaveNormalize(), SaveSet()
property Separator as %Boolean (XMLPROJECTION = "ATTRIBUTE") [ InitialExpression = 0 ];
If true then this is a menu separator rather than a menu item. All other properties will be ignored for a separator
Property methods: SeparatorDisplayToLogical(), SeparatorGet(), SeparatorIsValid(), SeparatorLogicalToDisplay(), SeparatorLogicalToXSD(), SeparatorNormalize(), SeparatorSet(), SeparatorXSDToLogical()

Inherited Members

Inherited Methods

FeedbackOpens in a new tab