Edit POOSL models
After creating a POOSL Model, the following features are useful during editing:
- 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>.
- 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.
- Rename element
This consistently renames an element and all references to the element (also across files).
How? Keyboard shortcut <ALT>-<SHIFT>-R.
- Formatter
This applies a default layout to the model.
How? Keyboard shortcut <CTRL>-<SHIFT>-F.
- 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).
- 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.