This plugin provides a custom presentation that can be used for integer work item attributes.
It works mostly the same as the built-in integer presentation with a few changes:
- The integer is aligned to the right side of the input
- There is a custom label on the right side
This presentation can be used for both built-in and custom attributes. It's great for situations where you want to specify the units that the integer value represents.
You can find the latest release on the releases page of this repository.
Deploy just like any other update site. See here for an example.
RTC doesn't support configuring custom attribute based presentations using the web UI (unless if you use our pa-admin-ui-extensions plugin). Because of this, you'll have to use the RTC Eclipse Client.
By default, the only way to use the presentation is by editing the process XML. If you don't feel comfortable doing this, you can download this repository and copy the eclipse-client-plugin
folder to the plugins
folder in your eclipse client installation. Then restart eclipse and the custom presentation should be available when configuring integer attributes.
This plugin supports customization with two presentation properties.
Key: RightLabel
Value: The label to show to the right of the integer input. This property is optional. There will simply be no label on the right if it's not set.
Key: RightLabelWidth
Value: The width to reserve on the right for the label. This can be any unit supported by CSS (px, %, ...). This property is also optional and will default to the minimum width needed to display the specified label text.
Please use the Issue Tracker of this repository to report issues or suggest enhancements.
For general contribution guidelines, please refer to CONTRIBUTING.md.
Copyright (c) Siemens AG. All rights reserved.
Licensed under the MIT License.