Packagecom.vmware.ui.views
Classpublic class ViewSpec
InheritanceViewSpec Inheritance ComponentSpec Inheritance Object
Subclasses GlobalViewSpec

Contains the information commonly needed to describe a UI

This is the specification class for views used in many extensions, see the list of vSphere Web Client extension points.

View the examples



Public Properties
 PropertyDefined By
  categoryUid : String
Optional view category unique id.
ViewSpec
 InheritedcomponentClass : ObjectSpec
The class info of the referenced component.
ComponentSpec
  icon : Class
Optional view icon.
ViewSpec
  name : String
The views's user-visible name.
ViewSpec
 Inheriteduid : String
Unique ID, usually a namespace-style string.
ComponentSpec
Property Detail
categoryUidproperty
public var categoryUid:String

Optional view category unique id.

iconproperty 
public var icon:Class

Optional view icon.

nameproperty 
public var name:String

The views's user-visible name. For example, a tab label or portlet title.

Examples
Here is an example of a view extension in plugin.xml.
 
 <-- Add a summary Section View to the VirtualMachine Summary tab -->
 <extension id="com.vmware.samples.viewspropertiesui.vm.summarySectionView">
    <extendedPoint>vsphere.core.vm.summarySectionViews</extendedPoint>
    <object>
       <name>Sample Summary Section View</name>
       <componentClass className="com.vmware.samples.viewspropertiesui.views.VmSampleSummarySectionView"/>
    </object>
 </extension>