ptidej_ui
This is an old revision of the document!
Ptidej UI
The Ptidej Tool Suite includes a graphic framework to build different types of viewers. The viewers are independent of the underlying graphic frameworks, be there AWT or SWT. In the Ptidej UI project are all the interfaces and classes allowing the viewers to be independent of the graphic framework and to put in one place most of the common code. (There is still duplicated code here and there, it should disappear as time goes by…)
In the Ptidej UI project are :
- The interface
ptidej.ui.IDrawablethat any graphical objects must implement.
- The class
ptidej.ui.canvas.Canvasthat implements a graphic framework-independent canvas.
- The class
ptidej.ui.kernel.builder.Builderthat provides a default implementation of the builder to create a graphic model from a PADL model. This class can be sub-classed by other implementations to fine-tune the graphic model and to handle new constituents. A typical example is the builder defined in ''Ptidej UI Analyses'' to colour constituents that have been removed between two models.
- The package
ptidej.ui.kernelthat provides a set of graphic objects that matches the constituents of any PADL models.
- The package
ptidej.ui.occurrencethat provides a default implementation of the graphic objects to display occurrences of motifs (any motifs!).
ptidej_ui.1392537854.txt.gz · Last modified: (external edit)
