Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [papyrus-rt-dev] Update of the default language contribution - pending gerrit

Thanks, Rémi.  This should help me greatly in finishing off the creation workflows for protocol message parameters (bugs 476984 and 479635)

cW

On 25 May, 2016 at 09:27:37, SCHNEKENBURGER Remi 211865 (remi.schnekenburger@xxxxxx) wrote:

Hi all,

 

I pushed a new contribution for the default language service [1]. It successfully builds for the core+tooling part, but fails to integrate on the codegen aspects.

 

It contributes the following:

-        Rename/move of the o.e.prt.core.cpp plugin into a separate module : oe.prt.cpp. this allows the presence or not of the cpp support in Papyrus –RT

-        The DefaultLanguageService doesn not always return umlrt-cpp for a given model anymore, but checks the real default language on the model (currently a eAnnotation, could be a profile)

o   Updates according tests

o   Currently, model can have None or Cpp as default language installed if the cpp feature is installed

-        Application of the cpp default language now does the following:

o   Load the AnsiC primitive types library

o   Apply the CPP property set profile

o   Once the CPP default language has been set, the primitive types from the AnsiC library can be easily retrieved thanks to the default language service.

o   Load the rts model library./

-        Applying the default language can be done from the language tab in the property view when the root package is selected.

-        The list of system protocols can already be returned from the default language service. But this list is currently not used to define some specific creation menus in the model explorer. The model library is also not loaded by default in the model as the AnsiC library, that may be possible to add this feature easily.

 

There is of course room for further improvements. For example, ask the user to import the library rather than just loading it and integration in a specific UML-RT wizard.

 

@Ernesto: could you please have a look to the gerrit build and fix the issue on codegen and the common rts library.

 

Regards,

Rémi

 

[1] https://git.eclipse.org/r/#/c/73509/

-------------------------------------------------------

 

Rémi SCHNEKENBURGER

+33 (0)1 69 08 48 48

CEA Saclay Nano-INNOV

Institut CARNOT CEA LIST

 

Description : PapyrusLogo_SmallFormatwww.eclipse.org/papyrus

 

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

Back to the top