Skip to main content

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

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

 


Back to the top