Home > Class Reference > ENSLIB namespace > %Studio.Extension.MenuItem
Private  Storage   


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

Table of user defined menu items for Studio user interface extention


Parameters Properties Methods Queries Indices ForeignKeys Triggers


Enabled Name Save Separator

%AddToSaveSet %AddToSyncSet %ClassIsLatestVersion %ClassName
%ConstructClone %Delete %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends %GetParameter
%GetSwizzleObject %IsA %IsModified %IsNull
%New %NormalizeObject %ObjectIsNull %ObjectModified
%OnBeforeAddToSync %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %RemoveFromSaveSet %ResolveConcurrencyConflict
%SerializeObject %SetModified %SyncObjectIn %SyncTransport
%ValidateObject LogicalToOdbc OdbcToLogical XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


• property Enabled as %Boolean(XMLPROJECTION="ATTRIBUTE") [ InitialExpression = "1" ];
True if this menu item is enabled, false to disable this menu item
• property Name as %String(MAXLEN=128,XMLPROJECTION="ATTRIBUTE");
Resource name of this menu item
• 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 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