Modeller.getEdittingLoadset


getEdittingLoadset()

Use in combination with setDoubleClickDialogModuleName or similar to override the default dialog used to edit a loadset. When the user has double clicked on a loadset, and the dialog is displayed, this function allows the user to determine which loadset is being editted. It is an error to call this function at any other time. Use isEdittingLoadset to determine whether or not a loadset is currently being editted. Note that this function will only return a loadset during dialog startup - as soon as the dialog is interactive, modeller will automatically reset. Therefore, if a dialog needs to know the value of this function some time later (for example in its handler for the OK button), the dialog must cache the value until then

Argumentsnone 
Return valueIFLoadset

See also setDoubleClickDialogModuleName insertContextMenuItem isEdittingLoadset

Back to Modeller

Back to Overview