This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ptidej_ui_viewer [2014/05/01 09:12] yann |
ptidej_ui_viewer [2025/01/15 21:40] (current) |
||
---|---|---|---|
Line 11: | Line 11: | ||
To assure the independence of the graphical representation, of the analyses and UI analyses, and of the extensions from the viewers and underlying graphical frameworks (AWT or SWT), ''Ptide UI Viewer'' provides several layers of models and canvas. A instance of ''ModelGraph'' is a graphical representation of an ''AbstractLevelModel''. Such an instance must be embedded into an instance of ''Canvas''. ''ModelGraph'' and ''Canvas'' are independent of the underlying graphical framework. Viewers and users can interact with them through two interfaces ''SelectionListener'' and ''CanvasListener'' following the Observer design pattern. An instance of ''Canvas'' can be finally embedded into either an ''AWTCanvas'' or ''SWTCanvas'' for integration in a user-interface. | To assure the independence of the graphical representation, of the analyses and UI analyses, and of the extensions from the viewers and underlying graphical frameworks (AWT or SWT), ''Ptide UI Viewer'' provides several layers of models and canvas. A instance of ''ModelGraph'' is a graphical representation of an ''AbstractLevelModel''. Such an instance must be embedded into an instance of ''Canvas''. ''ModelGraph'' and ''Canvas'' are independent of the underlying graphical framework. Viewers and users can interact with them through two interfaces ''SelectionListener'' and ''CanvasListener'' following the Observer design pattern. An instance of ''Canvas'' can be finally embedded into either an ''AWTCanvas'' or ''SWTCanvas'' for integration in a user-interface. | ||
- | {{ :canvas_and_modelgraph.png?direct&200 |}} | + | {{ :canvas_and_modelgraph.png?direct&500 |}} |