Edit POOSL models

After creating a POOSL Model, the following features are useful during editing:

  1. Content assist
    This shows the templates for typical POOSL constructs and the elements (e.g., class, method, message, parameter, variable, port, instance) that can be referenced, at a particular position in the model.
    How? Keyboard shortcut <CTRL>-<SPACE>.
  2. Quick-fix
    This provides common solutions for typical validation warnings (icon: exclamation mark in a yellow triangle) and errors (icon: cross in a red box). It is available if a light-bulb is displayed next to the error/warning icon.
    How? Mouse click on the light-bulb next to the error/warning icon, or keyboard shortcut <CTRL>-1.
  3. Rename element
    This consistently renames an element and all references to the element (also across files).
    How? Keyboard shortcut <ALT>-<SHIFT>-R.
  4. Formatter
    This applies a default layout to the model.
    How? Keyboard shortcut <CTRL>-<SHIFT>-F.
  5. Model documentation
    This is formed by the multi-line (/* ... */) comments (if any) before declarations (e.g., class, method, message, parameter, variable, port, instance).
    How? Hover over an element or a reference to an element, or right-click on a model and select "Generate Documentation" (the resulting HTML file appears in the documentation folder).
  6. Tasks view
    This shows tags like TODO, FIXME, and XXX that are used in single-line (//) and multi-line (/* ... */) comments.
    How? Mouse click on Tasks view in the bottom of the POOSL Edit and Debug perspectives.
After editing the POOSL model, continue with debugging. Various Eclipse shortcuts may also be interesting to look at.