Create OID module. Update enable/diasble calls.

New resource OID is created.
Enable/Disable Attribute Dependencies methods are being created
and used when widget is created or removed.
Event name is replaced by a list with all possible values to be
used.