Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [mdt-papyrus.dev] Creation service element signature

 
We think that the the service gives a list of possible command to create for a list of eObject or Efeature.

Example: List transforService.getCommands(List<EObject>) (list of command for this kind of eobjects 
	        transformService.getCommands(Efeature) list of command that can run for this feature

TransfoSerice.getCommands(myPackage)	--> commandBlockCreation
						    	--> commandInterfaceCreation
						    	-->...

TransfoSerice.getCommands(UML.PackageableElements)	--> commandBlockCreation
						   			--> commandInterfaceCreation
						  		  	-->...

Then we can select Kind of command for creation, set, move...

To add content in service connect to existing emf package + custom command for specific creation ( example block , with specific attribute created for the element...). 

The service creation can also be seen as a subset of a more generic transformation service, for example, we could use the same service to implement specific deletion, template-based creation, etc. 

Rémi & Patrick 

---------------------------------------------------------
Patrick Tessier
Research Engineer
CEA LIST, Laboratoire d'Ingénierie dirigée par les modèles pour les Systèmes Embarqués (LISE)
Boîte courrier 94, GIF SUR YVETTE
CEDEX, F-91191 France
 
Tel: 01 69 08 48 63
www.papyrusuml.org
---------------------------------------------------------
BEGIN:VCARD
VERSION:2.1
N:TESSIER;Patrick
FN:TESSIER Patrick 202707 (Patrick.TESSIER@xxxxxx)
ORG:;SOL/LLSP
TITLE:Ingénieur Chercheur
TEL;WORK;VOICE:(01) 69 08 48 63
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;B=E2t. 451 Pce 9;CEA SACLAY=0D=0ADRT/DTSI;GIF/YVETTE CEDEX;;91191;FRANCE
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:B=E2t. 451 Pce 9=0D=0ACEA SACLAY=0D=0ADRT/DTSI=0D=0AGIF/YVETTE CEDEX 91191=
=0D=0AFRANCE
EMAIL;PREF;INTERNET:Patrick.TESSIER@xxxxxx
REV:20071011T094630Z
END:VCARD

Back to the top