Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] Questions for an embedded CompareEditor in Papyrus

Hi all,

  I’m working on the new bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=371606

I should provide a CompareEditor embedded in the sasheditor. This editor will be used when you use the compare action of the ModelExplorer.

I have 2 questions about this developpement :

                - what should be the behaviour of this editor ?

                               - persistent (like Diagram and Table, displayed in the Modelexplorer, …)

                                               -> I think it is not the best way because this editor doesn’t represent a part of the model

                               - volatile

                                               -> we don't store any information about this editor :

- when the user closes it, the editor is « destroyed »

- when the users closes its model or Eclipse, the editor is destroyed

 

                               -partially volatile :

                                               - When the user closes the CompareEditor, all informations are destroyed

                                               - but if the user closes its model whereas a CompareEditor is opened, we store this information.

                                                               -> when the user reopens it model, the CompareEditor is always here.

 

 

What is your opinion about this subject ?

 

- In the case of the « partially volatile » behaviour, I need to store a small EMF model which references the compared EObjects.

                               - In which file should I store this model, .notation or .di) ?

 

Best regards,

--

Vincent Lorenzo

01-69-08-17-24

CEA Saclay Nano-INNOV

Institut CARNOT CEA LIST

DILS/LISE

Point Courrier n° 174

91 191 Gif sur Yvette CEDEX

 

 


Back to the top