Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [umlgen-dev] User interface consistency

Nathalie,

Le 31/10/2014 17:18, Nathalie Lépine a écrit :
Hello Fabien,

Thank you for your answer. There are actually two points in your mail.

The first is about the reverse launching process. It consists in:
- removing the action "Add C To UML nature"
- adding an action "UML generators -> Reverse C files into UML" for any C projects which:
        - add the C2UML nature
        - launch the C reverse with default properties configuration
The C to UML properties are accessible from C projects.
This should be precised : C to UML properties are accessible only on C project identified as "reversed", with the nature id "C2UML"

Is it OK ?
It's ok, it is what i've proposed.

Do you want to keep this C2UML nature ? Because it is currently not used.

You are right : the C2UML nature *class* is not used in the current reverse workflow (roundtrip) which doesn't allow to redo a reverse on a project that was already reversed (you "set C2UML nature" *id* to reverse once, and if you want to reverse again, you have to remove it an re-set it). The nature id is only set and tested to present menu items to set and remove it on C projects.
The nature id will be usefull in the new proposed workflow.


The second point is about the properties page contents. I think this is out of the scope of this ticket which deals with user interface consistency and not C reverse result or properties configuration.
It is a work to do but it is the subject of another ticket.

Maybe, but the widget and the properties page could be used by others generators : not all an UML model is subject to code generation, design methods could allow to model any other part of the system which is not sofware and thus source code. In these case, how to select the part of the model subject to generation ?


Nathalie.

Le 31/10/2014 14:24, Cédric Notot a écrit :



Sujet : Re: [umlgen-dev] User interface consistency
Date : Fri, 31 Oct 2014 11:16:12 +0100
De : Fabien Toral <fabien.toral@xxxxxx>
Répondre à : Eclipse UML Generators developer dicussion <umlgen-dev@xxxxxxxxxxx>
Pour : Nathalie Lépine <nathalie.lepine@xxxxxxx>, umlgen-dev@xxxxxxxxxxx
Copie à : stephane.begaudeau@xxxxxxx


Hello Nathalie,

I'm glad that an effort is put on the user interface consistency. That 
is a necessary work.

One remark on the § reverse processing 
https://wiki.eclipse.org/Eclipse_UML_Generators/Specification/UserInterface/ConsistencyImprovement#Reversing_processing 
:

I'm not very satisfied by the current way of launching the reverse 
process by setting the "C2UML" nature before reversing the code.
In fact, any C project could possibly be reversed and the nature could 
be set only if we have reversed C files on the project.

So my proposition could be :
1- Propose a reverse item in the context menu under "UML generators -> 
Reverse C files into UML" for any C project.
2- When the reverse process is selected in the menu
     the uml file is created with the default options for the "C to UML" 
properties.
     the nature is set on the project so the properties page for reverse 
could be presented into the properties dialog for the project.

Independently, for that properties page ("C to UML" properties), when we 
have migrated the code to the Eclipse foundation, I've removed a 
dependency to a Topcased widget that helps to select UML packages as 
destination of the C to UML artefacts. The widget was 
org.topcased.facilities.widgets.EObjectFieldEditor and depends on some 
other code in the org.topcased.facilities bundle copyrigthed to Topcased 
foundation, Airbus, Atos and CS. The widget opens a dialog box to select 
UML elements.
I've removed that, pending the interface consistency proposal. Now that 
you suggest to keep that UI, I think it will be time to bring back the 
code into our UML Generator project.
I've attached some screen capture of the component in the Topcased context.

Let me know what you suggest.

Fabien



Le 30/10/2014 14:37, Nathalie Lépine a écrit :
> Hi,
>
>
> I have just submitted a proposal to work on UML generators user 
> interface consistency 
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=449080).
> You can find it here : 
> https://wiki.eclipse.org/Eclipse_UML_Generators/Specification/UserInterface/ConsistencyImprovement.
> If you have questions or comments, do not hesitate to tell me.
>
> Thanks,
>
> Nathalie Lepine (Obeo)
>







_______________________________________________
umlgen-dev mailing list
umlgen-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/umlgen-dev


Back to the top