This is an old revision of the document!
Ptidej UI Viewer project provide interfaces and classes used by all the viewers. In particular, it provides the
ptidej.viewer.IRepresentation interface that is the “model” (as in Model-View-Controller) of any viewer. This interface allows managing PADL models, Ptidej UI models, original sources, occurrences… It is essential that any viewer uses this interface for its model, as it allows extensions to the viewers to work seamlessly regardless of the viewer implementations. Extensions are available in the
Ptidej UI Viewer Extensions project.
There are implementations of different viewers. The most usable currently is ptidej.viewer.ProjectViewer in project Ptidej UI Viewer Standalone Swing. Here are some steps to use it: