Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "RMF/User Guide/Presentations"
(New page: Under development Category:RMF) |
|||
Line 1: | Line 1: | ||
− | + | ProR has an extension mechanism that allows custom rendering for certain attributes of a SpecObject. The following Presentations have been implemented: | |
+ | |||
+ | = ID Generator Presentation = | ||
+ | |||
+ | This presentation allows the designation of Attributes to be used as human-readable IDs. The user defines a prefix, and the presentation manages a counter. When a new SpecObject with a designated Attribute is created, then it will get an ID, consisting of prefix and number. | ||
+ | |||
+ | TODO: The plugin doesn't check whether an ID already exists - it simply takes the next number and increments the counter. We should (1) Set the counter correctly upon opening a ReqIF and (2) hook in a Validator. | ||
+ | |||
+ | = Linewrap Presentation = | ||
+ | |||
+ | This presentation automatically renders long text with linebreaks and allows editing with linebreaks. | ||
+ | |||
+ | = Headline Presentation = | ||
+ | |||
+ | This presentation renders an attribute in bigger font and bold. It allows setting the font size. | ||
[[Category:RMF]] | [[Category:RMF]] |
Revision as of 02:50, 13 June 2012
ProR has an extension mechanism that allows custom rendering for certain attributes of a SpecObject. The following Presentations have been implemented:
ID Generator Presentation
This presentation allows the designation of Attributes to be used as human-readable IDs. The user defines a prefix, and the presentation manages a counter. When a new SpecObject with a designated Attribute is created, then it will get an ID, consisting of prefix and number.
TODO: The plugin doesn't check whether an ID already exists - it simply takes the next number and increments the counter. We should (1) Set the counter correctly upon opening a ReqIF and (2) hook in a Validator.
Linewrap Presentation
This presentation automatically renders long text with linebreaks and allows editing with linebreaks.
Headline Presentation
This presentation renders an attribute in bigger font and bold. It allows setting the font size.