addBooleanProperty(t, id, location, name, desc, defaultVal)

Declare a property with id id, to be inserted before the element described by location. The Boolean property will be labeled with name and will be initialized with the boolean value defaultVal. The description string desc is used to show help for this property.