This page documents the plugin examples included in the SDK's samples directory.
Start here for a very simple UI plugin. Learn also how to localize your Flex plugin and use CSS and image assets.
Extension points used: vise.global.view, vise.home.shortcuts.
Key APIs used: ResourceManager, ResourceBundle, localization.
This sample shows how to add standalone views in the main area (i.e. not related to objects) and how to make Java service calls. It also provides an implementation of data persistence in a local file.
Extension points used: vise.global.view, vise.home.shortcuts, vise.navigator.nodespecs
Key APIs used: com.vmware.flexutil.proxies.BaseProxy, com.vmware.ui.events.NavigationRequest, osgi:service
This sample shows how to add action extensions on existing vSphere objects.
Extension points used: vise.actions.sets, vsphere.core.menus.solutionMenus
Key APIs used: com.vmware.flexutil.proxies.BaseProxy, com.vmware.ui.events.NavigationRequest, osgi:service
This set of samples shows how to extend vSphere object views and how to retrieve data from vCenter or external data sources.
Extension points used: vsphere.core.vm.summarySectionViews, vsphere.core.vm.monitorViews, vsphere.core.host.summarySectionViews, vsphere.core.host.monitorViews
Flex APIs used: PropertyProviderAdapter, ClientSessionEndListener, VimObjectReferenceService, UserSession, PropertyRequestSpec
Java APIs used: PropertyProviderAdapter, ClientSessionEndListener, VimObjectReferenceService, UserSession, PropertyRequestSpec, ResultItem
This sample shows how to add custom objects to the Inventory, display the standard object views, handle relations between objects, plus other UI features. It comes as 2 sets of plugins that must be run independently. The first set, chassis-ui and chassis-service, is the simplest version to get started and is a good introduction to custom objects. The 2nd set, chassisRackVSphere-ui and chassisRackVSphere-service, expands on the first version with more features and a more complete implementation.
Extension points used: vise.navigator.nodespecs, vise.relateditems.specs, vise.inventory.representationspecs, vise.inventory.representationspecs, vise.actions.sets
Extension templates used: vsphere.core.inventory.objectViewTemplate, vsphere.core.inventory.summaryViewTemplate, vsphere.core.inventorylist.objectCollectionTemplate
Key APIs used: DataProviderAdapter, VimObjectReferenceService
Doc references: SDK Tutorial - FAQs - Flex API docs - Java API docs - Programming Guide