|Type Selection Dialog Issues [message #954118]
||Mon, 22 October 2012 20:05
| Michael Swiercz
Registered: October 2012
I truly appreciate the convenience of the Recent selections list in Papyrus's Type selection dialog, letting me quickly select previously used types when adding Operation parameters. Unfortunately, this only seems to work with types defined within the current model and does not apply to imported package elements (e.g. Java Primitives, other models, etc.)|
Steps to repeat problem with Java Primitive Types
1. Add an operation to a class or interface.
2. Click Add Elements from Owned parameters.
3. Give parameter a name and edit the reference type by clicking ... for Type.
4. Traverse the model to the boolean Java primitive (e.g. model-> <Package Import> Java Primitive Types -> importedPackage(1) -> <<ModelLibrary>> JavaPrimitiveTypes->boolean)
5. Click OK and OK once more.
6. Click Add Elements again.
7. Assign another element name and edit its reference type.
8. boolean will be listed in Recent selections. Issue: Upon selecting boolean in the list the OK button remains disabled. The only recourse is to re-traverse the model tree to its definition.
Interestingly, when adding properties setting their type as "bool" and using CTRL-SHIFT finds its primitive declaration without a hitch. Edit: I have a sneaking suspicion that Recent Sections only retains the main model component's name rather than the full path to the component.
Feature Suggestion for Type selection dialog
1) It would be a time saver if the dialog remembered what model tree nodes were expanded rather than having to repeatedly drill down into multi-level packages.
2) When specifying a Filter value, the model tree immediately displays matching entries similar to Eclipse's Preference filter.
[Updated on: Wed, 24 October 2012 06:27]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.06464 seconds