You can use extension templates to define extensions in your user interface plug-in module.

The vSphere Web Client SDK provides XML templates that you can include in the plugin.xml file. The templates use variable values that you provide to create automatically extension definitions. The vSphere Web Client SDK provides templates for some extension types, including the data views in a vSphere object workspace and for inventory list extensions in the object navigator. You can find examples of templates among the sample material for each extension type. See Extending the vCenter Object Workspaces and Extending the Object Navigator.