Packagecom.vmware.ui.objectnavigator.model
Classpublic class ObjectNavigatorNodeSpec
InheritanceObjectNavigatorNodeSpec Inheritance Object
Implements mx.core.IUID

Contains the information for an object navigator node. This is the specification class for extension point vise.navigator.nodespecs.

View the examples



Public Properties
 PropertyDefined By
  icon : Class
(Optional) User visible node icon.
ObjectNavigatorNodeSpec
  navigationTargetUid : String
(Optional) The extension id to which to navigate to when the node is selected.
ObjectNavigatorNodeSpec
  parentUid : String
Id of the parent extension.
ObjectNavigatorNodeSpec
  title : String
User visible node title.
ObjectNavigatorNodeSpec
  uid : String
Unique ID.
ObjectNavigatorNodeSpec
Property Detail
iconproperty
public var icon:Class

(Optional) User visible node icon.

navigationTargetUidproperty 
public var navigationTargetUid:String

(Optional) The extension id to which to navigate to when the node is selected.

parentUidproperty 
public var parentUid:String

Id of the parent extension.

titleproperty 
public var title:String

User visible node title.

uidproperty 
uid:String

Unique ID.

By default the uid is populated by the framework with the extension id where this spec is used.


Implementation
    public function get uid():String
    public function set uid(value:String):void
Examples
Here is an example of two ObjectNavigatorNodeSpec declarations in plugin.xml. The first one adds a category node (i.e. no navigationTargetUid field). The second one adds a node under that category which, when clicked on, opens the view defined by extension id com.vmware.samples.globalviewui.settingView.
  <!-- Add a category "Global App" in the Administration inventory view -->
  <extension id="com.vmware.samples.globalviewui.adminCategory">
     <extendedPoint>vise.navigator.nodespecs</extendedPoint>
     <object>
        <title>Global App</title>
        <parentUid>vsphere.core.navigator.administration</parentUid>
     </object>
  </extension>
 
  <!-- Add a node "Settings" in the Global app category created above -->
  <extension id="com.vmware.samples.globalviewui.adminSettings">
     <extendedPoint>vise.navigator.nodespecs</extendedPoint>
     <object>
        <title>Settings</title>
        <parentUid>com.vmware.samples.globalviewui.adminCategory</parentUid>
        <navigationTargetUid>com.vmware.samples.globalviewui.settingView</navigationTargetUid>
     </object>
  </extension>