Changes

Code Editor

2,066 bytes added, 08:43, 23 April 2013
===Events===
In this view mode you can override certain events that are thrown by an {{UBIK}} object. This means that custom code can be executed once the event raises.The following events are currently exposed by {{UBIK}} objects: {| class="wikitable" | width = "50%"|-! Event!! Object type !! Description|- align="left"| OnAddedToRelationship || All || event fired when the given object was added as a child to a relation|- align="left"| OnAttributeAdded|| All || -|- align="left"| OnAttributeChanged|| All || -|- align="left"| OnAttributeValueValidating|| All || -|- align="left"| OnBeforeDelete|| All || -|- align="left"| OnBeforeSave|| All || -|- align="left"| OnCreated|| All || event fired when a new instance of the object was created|- align="left"| OnDeleted|| All || event fired when the given object was deleted|- align="left"| OnDisposed|| All || event fired when an instance of the object was disposed (garbage collection)|- align="left"| OnInitializeCompleted|| All || event fired when the initialization of the object was successful|- align="left"| OnInitializeFailed|| All || event fired when the initialization of an object failed => returned false|- align="left"| OnNotLongerReferencedBy|| All || -|- align="left"| OnObjectChanged|| All || event fired when: PropertyValueChanged, PropertyIndexValueChanged, ReferenceChanged, AttributeChanged, AttributeAdded|- align="left"| OnPropertyIdxValueChanged|| All || -|- align="left"| OnPropertyValueChanged|| All || event fired when the value of one of the property objects changes; is not fired for references|- align="left"| OnPropertyValueIdxValidating|| All || -|- align="left"| OnPropertyValueValidating|| All || -|- align="left"| OnReferenceChanged|| All || -|- align="left"| OnReferencedBy|| All || -|- align="left"| OnRelationAdded|| All || event fired when the given object has got a new relation child|- align="left"| OnRelationRemoved|| All || event fired when an object was removed as child from a relation|- align="left"| OnRemovedFromRelationship|| All || event fired when the given object was removed as a child from a relation|- align="left"| OnSaved|| All || event fired when the given object was saved|}
===Methods===