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

Bug 346708

Summary: [Usability] Papyrus shall enable a feature for logical view in Project Explorer
Product: [Modeling] Papyrus Reporter: Tristan Faure <faure.tristan>
Component: ViewsAssignee: Tristan Faure <faure.tristan>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: vincent.hemery
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
SebViewOfModelExplorer none

Description Tristan Faure CLA 2011-05-20 11:09:03 EDT
Currently at least 3 files are necessary to use MDT Papyrus,
The .di containing the current diagrams and the history for model loading,
the .notation for GMF,
the .model (.uml) containing data.

For advanced users there is no problem to deal with all of these files, for newcomers it can be a mess.

For this feature request I suggest a reorganization of the project navigator view using the CNF to have a more logical display of resources.
If I have this triplet of files :
+ folder
	- model.di
	- model.notation
	- model.uml
The display I suggest is :
+ folder
	+ model
		- di
		- notation
		- uml
		
All the actions possible in the first configuration are available in the leaves (di, notation and uml) and basic actions are available on the node model. (open, delete, refresh, team operations like commit, update ...).

This shall be disabled easily I suggest using a cnf filter. When the filter is enabled the files are hidden and Java elements are displayed instead of
Comment 1 Tristan Faure CLA 2011-05-24 10:58:39 EDT
Commited to incoming 
i will send a mail to papyrus devel
Comment 2 Sébastien Gérard CLA 2011-05-24 11:33:10 EDT
Created attachment 196449 [details]
SebViewOfModelExplorer
Comment 3 Sébastien Gérard CLA 2011-05-24 11:33:17 EDT
Hi,

when I unfold a Papyrus folder called for example MyModel, I only see the extensions of the three file (i.e. notation, di, and uml). I do not see the name of the file: MyMidel.notation, MyModel.di and MyModel.uml. (see attached picture)
Is it normal? I guess no.
Comment 4 Tristan Faure CLA 2011-05-24 11:36:57 EDT
Yes it is normal.
di represents MyModel.di
notation represents MyModel.notation
uml represents MyModel.uml

It is what i explained when I have represented the old and new tree in first post :

"
+ folder
    - model.di
    - model.notation
    - model.uml
new one :
+ folder
    + model
        - di
        - notation
        - uml
"

I think it is better for usability and readability to not repeat the labels of each file
Comment 5 Tristan Faure CLA 2011-06-06 08:59:02 EDT
new changes, drag and drop ok, and new action => Move on di
Comment 6 Vincent Hémery CLA 2011-08-10 05:56:35 EDT
Fix build resources and add correct externalization files in r5216.
Comment 7 Tristan Faure CLA 2011-08-25 05:46:45 EDT
fix problems with deletion and multi selection
Comment 8 Tristan Faure CLA 2011-08-29 11:27:16 EDT
add IAdaptable to SubResourceFile to add actions
make PapyrusFile adaptable to Collection
export utils and model packages
Comment 9 Camille Letavernier CLA 2014-03-25 15:46:29 EDT
This task is complete, I close it