Object Navigator Extension Points

You can extend the object navigator by creating new nodes and categories on each page. You can customize also any object collection node that you create by adding a new icon and label.
vise.navigator.nodespecs
Adds an object collection node, category, or pointer node extension to the object navigator.
Requires a data object of type
ObjectNavigatorNodeSpec
with available properties:
  • title
    - user-visible node title.
  • icon
    - (optional) 18x18 node icon resource ID.
  • navigationTargetUid
    - (optional) ID of the view extension to navigate to when the node is selected.
  • viewOpenedUponFocus
    - (optional) open a new empty object navigator for this view.
  • parentUid
    - ID of the parent extension this node will be displayed in. This can be another
    vise.navigator.nodespecs
    extension ID defined by your plug-in or it can be
    "vsphere.core.navigator.solutionsCategory"
    . Accessibility: Object Navigator root.
Example:
<extension id="com.vmware.samples.entryPoint"> <extendedPoint>vise.navigator.nodespecs</extendedPoint> <object> <title>ChassisA Category</title> <parentUid>vsphere.core.navigator.solutionsCategory</parentUid> <navigationTargetUid>com.vmware.samples.htmlsample.welcomeView</navigationTargetUid> </object> </extension>
vise.inventory.representationspecs
deprecated
Defines one or more new icon and label sets for an object collection node in the object navigator, along with the conditions under which the icon and label sets appear.
Requires a data object of type
ObjectRepresentationSpec
with available properties:
  • objectType
    - type of objects to which the specs apply.
  • specCollection
    - array of IconLabelSpec objects, each of which contains:
    • iconId
      - (optional) 18x18 icon resource ID.
    • labelId
      - (optional) label or its resource ID.
    • conditionalProperties
      - (optional) array of property names. The icon and label are applicable only if the values of all properties evaluate to "true". Note: To test for "false" use the negation operator "!" in front of the property name.
    • conditions
      - (optional) array of PropertyConstraint-s. The icon and label are applicable only if all constraints are satisfied.
Accessibility: Object Navigator → Global Inventory Lists.
Example:
<extension id="com.vmware.samples.chassisa.iconLabelSpecCollection"> <extendedPoint>vise.inventory.representationspecs</extendedPoint> <object> <objectType>samples:ChassisA</objectType> <specCollection> <com.vmware.ui.objectrepresentation.model.IconLabelSpec> <iconId>#{chassis}</iconId> </com.vmware.ui.objectrepresentation.model.IconLabelSpec> </specCollection> </object> </extension>