| Summary: | [Papyrus Integration] Cannot override default visibility in customization for facet reference | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Yann Tanguy <yann.tanguy> | ||||
| Component: | Main | Assignee: | Nicolas Bros <nicolas.bros> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | hugo.bruneliere, modisco.web-inbox, sebastien.gerard | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 317599 | ||||||
| Attachments: |
|
||||||
|
Description
Yann Tanguy
Created attachment 172492 [details]
plug-in to set all references to hidden
In fact, this is the expected behavior. The settings that you define directly on the CustomizationManager correspond to the toolbar buttons in the full model browser. When a user unchecks "Show Derived Links" in the model browser, s/he expects all derived links to be hidden, regardless of loaded customizations.
In your case, you can achieve the desired behavior by leaving "Show Derived Links" as "true" in the CustomizationManager, and defining in your uiCustom which references you want hidden.
If you want to hide all references but a few, you should add a customization that sets "visible" to "false" on each reference that you want to hide.
Since this represents tedious work with the current version of the UiCustom editor, I made a small plug-in (attached) that adds an action in the popup menu on a uiCustom file, to set each reference to "hidden" in this file.
marking "WONTFIX", since this is the expected behavior Thanks for the small plug-in, it was quite easy to modify our default customization file with it. It was not a bug. |