Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Notes of the preccomitting meeting

Cédric,

I have named the plugin like they were denominated in the GMF and UMLTools project (for the same functionnality). I have kept this naming to avoid confusion for developers familiar with GMF and UMLTools.

Due to the architecture of the GMF generator, it will be difficult in my opinion to divide the plugins for the code generation. You have a plugin which run the generation (oep.codegen) and a plugin containing all the dynamic-templates used by the generation and the configurators (.gmfgen, .gmfgraph etc...).


I have removed the dependency org.openarchitectureware.dependencies which was not necessary (used by the openarchitectureware UML2 adapter,it surely came with the creation of the project).

It should be fine now(it is normal that templates have errors, but it works fine ;) ).

Regards,

Thibault

Cedric Dumoulin a écrit :

  Hi,

I think that the plugin names are not appropriate. 'def' doesn't denote the content of the plugin. It looks like this is needed for the code generation. Maybe we should have a namespace for all plugins related to code generation. Here is a proposal:

    * oep.codegen
    * oep.codegen.preferences
    * oep.codegen.preferences.def
    * ...

  Futhermore, your plugins have errors:
Bundle 'org.openarchitectureware.dependencies' cannot be resolved MANIFEST.MF org.eclipse.papyrus.def/META-INF line 6 Plug-in Problem
  Can you correct it asap ?

   Cedric
Thibault LANDRE wrote:
Hi,

thanks for the feedback Patrick.


A few comments on my latest development, on this notes and on the actual svn :

My latest development :
For the preference, I have created the template to generate the code.
I have overriden some of the template of GMF and create new ones for my specific classes.

To launch this generation, you will need the "org.eclipse.papyrus.codegen" that contains the "Papyrus Generation Action". This plugin allows you to generate the preference with the rest of the GMF code.

The templates, and the models, are contained in the "org.eclipse.papyrus.def"

To work, all the models should be include in this plugin.
You also need to make the generation in a runtime environment (or to include the org.eclipse.papyrus.codegen into your eclipse configuration)
to have available the action "Generate Papyrus Diagram".



Notes :
- the preferences are not indicated on the slide (but present on the core feature in the svn). - the org.eclipse.papyrus.tabbedproperties.appearance is also not present. This plugin is necessary to have the "Appearance" tab on the properties view. Nevertheless, it seems that the gradient functionnality disabled the changing of background and foreground color (bug ?).
So I think, it should be ok to include this tab later.
- For the licence, it should be available in a "about.html" file at the root of the plugin.
See : http://www.eclipse.org/legal/epl/about.php

SVN :
- I have update the source of org.eclipse.papyrus.wizards to be compliant with Java 1.5 (Rémi had already done it for manifest.mf and .classpath files). - I think it should be good to have a psf per feature, to easily set up a development environment (org.eclipse.papyrus.releng). Those psf should always be synchronized with the feature.
- When I check out the core feature, the following plugins are missing :
org.eclipse.umlutils
org.eclipse.papyrus.diagram.common
In my opinion, the core feature should be the main feature of Papyrus and shouldn't depend on the UML feature. So the org.eclipse.umlutils and org.eclipse.papyrus.diagram.common should be included in the core feature instead.



I'll try to implement the preference for the ClassDiagram and also fix the initialization of the preference by the end of the week.


Regards,

Thibault


TESSIER Patrick 202707 a écrit :
Hi,
I send you slides that are notes of the precommitting meeting. Patrick ---------------------------------------------------------
Patrick Tessier
Research Engineer
DRT LIST/DTSI/SOL/LISE CEA-Saclay
91191 Gif sur Yvette Cedex
Tel: 01 69 08 48 63
www.papyrusuml.org <http://www.papyrusuml.org/>
---------------------------------------------------------
_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev
_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev
begin:vcard
fn;quoted-printable:Thibault Landr=C3=A9
n;quoted-printable:Landr=C3=A9;Thibault
org:Atos Origin - Agence Sud-Ouest ;Systems Integration
adr;quoted-printable;quoted-printable:5, avenue Albert Durand ;;Batiment A=C3=A9ropole ;Blagnac;Midi-Pyr=C3=A9n=C3=A9es;31701;France
email;internet:thibault.landre@xxxxxxxxxxxxxx
tel;work:+33 (0)5.34.55.82.23
note;quoted-printable:D=C3=A9veloppement durable, anticipons pour notre avenir / Sustainibility=
	, advance our future=0D=0A=
	P N'imprimez ce mail que si n=C3=A9cessaire / please consider your enviro=
	nmental responsibility before printing this e-mail.=0D=0A=
	Ce message et les pi=C3=A8ces jointes sont confidentiels et r=C3=A9serv=C3=
	=A9s =C3=A0 l'usage exclusif de ses destinataires. Il peut =C3=A9galement=
	=C3=AAtre prot=C3=A9g=C3=A9 par le secret professionnel. Si vous recevezc=
	e message par erreur, merci d'en avertir imm=C3=A9diatement l'exp=C3=A9di=
	teur et de le d=C3=A9truire. L'int=C3=A9grit=C3=A9 du message ne pouvant=C3=
	=AAtre assur=C3=A9e sur Internet, la responsabilit=C3=A9 du groupeAtos=
	 Origin ne pourra =C3=AAtre recherch=C3=A9e quant au contenu de cemessage=
	. Bien que les meilleurs efforts soient faits pour maintenir cette transm=
	ission exempte de tout virus, l'exp=C3=A9diteur ne donne aucunegarantie=C3=
	=A0 cet =C3=A9gard et sa responsabilit=C3=A9 ne saurait =C3=AAtre recherc=
	h=C3=A9e pour tout dommage r=C3=A9sultant d'un virus transmis.=0D=0A=
	=0D=0A=
	This e-mail and the documents attached are confidential and intended sole=
	ly for the addressee, it may also be privileged. If you receive this e-ma=
	il in error, please notify the sender immediately and destroy it. As itsi=
	ntegrity cannot be secured on the Internet, the Atos Origin group liabili=
	ty cannot be triggered for the message content. Although the sender endea=
	vours to maintain a computer virus-free network, the sender does notwarra=
	nt that this transmission is virus-free and will not be liable forany dam=
	ages resulting from any virus transmitted.
url:http://www.atosorigin.com/
version:2.1
end:vcard


Back to the top