Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341876

Summary: [Enhancement] The container mode is not available with the current implementation of the dialog
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7.0   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 319223    
Attachments:
Description Flags
The current Show/Hide Compartment Dialog with the name as children of the compartment none

Description Vincent Lorenzo CLA 2011-04-05 05:22:10 EDT
Currently, we use a simple TreeViewerfor to provides 2 actions : 
   - which compartments to display
   - which name of to display

So in the dialog, the name are seen as children of the compartments. This dialog is not very practical
for the user because we can't use the container mode. (The container mode behavior is when you checked the editpart, and all its children are checked in the dialog.)

I propose another way to select compartments and name to display. The new dialog should be a TreeViewer with 2 columns : In the first columns we display the editparts and their compartments and in the second column, we propose checkbox to select the compartment name to show.
Comment 1 Vincent Lorenzo CLA 2011-04-05 05:26:02 EDT
Created attachment 192530 [details]
The current Show/Hide Compartment Dialog with the name as children of the compartment

We would like have only the compartments as children for the stereotype displayed in the example, in a first column and in a second column, we will provide checkbox to select the names to display.
Comment 2 Vincent Lorenzo CLA 2011-04-05 10:56:40 EDT
Done in R4427.