Modeller.isEdittingAttribute


isEdittingAttribute()

Use in combination with setEditDialog or similar to override the default dialog used to edit an attribute. This function allows the user to determine if an attribute is being editted, and therefore whether or not it is legal to call getEdittingAttribute(). Note that this function will only return TRUE 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 valueboolean

See also setEditDialog setDoubleClickDialog insertContextMenuItem getEdittingAttribute

Back to Modeller

Back to Overview