Fixed type in appdef.ecore and regenerated code
Added ViewVisibilty as superclss for CustomViewVisibility,
MenuVisibility as superclass for CustomMenuVisibility and
CoolbarVisibility as superclass for CustomCoolbarVisibility in
appdef.ecore.
Generated Code.