Extending the Pretty Print Page

From Event-B
Revision as of 12:56, 15 April 2010 by imported>Tommy
Jump to navigationJump to search

The Petty Print Page of the Event-B Editor provides a rendered view of an edited machine or context, for an quicker and easier reading.

An example of pretty print page

As a mechanism is available to extend Rodin's Structured Editor, such a mechanism also exists in order to extend the Pretty Print Page. For each element to be displayed, a "pretty printer" is defined within the element extension of the structured editor.

We will have a look at :

  • how the extensions can contribute to the pretty print page,
  • how the pretty print page is created,
  • how to implement pretty printers.

How to contribute to the Pretty Print Page

How the Pretty Print Page is created

How to implement pretty printers (of Event-B Editor contributions)