Views are represented by NodeViews class in object model.
View nodes represent a view in MVC model. Your implementation of ViewManager is responsible of creating/deleting views of the specified type, and of the ability to edit this view.
For example, if you create a view for a template engine, you should provide the required plugin that enables to edit such views. More precisely, you must provide a way to simply edit the view by double-clicking on the graph view node.
Adding a new views is performed by the following steps:
See extension point for ViewManager to add your own classes.
ViewManager must implement a few methods:
Manager is responsible of firing change events on project.
You will have to either modify or add new XSLT filters. These filters will for example generate a struts.xml file with your newly created view type.
Declare link-managers on extension point .
LinkManagers are responsible of creating links from and to your newly created view.
Create at least one LinkManager to handle links to your view or implement UrlManager adapter.
Then optionally create LinkManager to handle links to existing other node types from your view.