[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[mdt-papyrus.dev] Creation service element signature
|
Hi,
Here is the signature we have in mind at Atos at the moment for the
"element creation service".
1- Basic case : we only want to create an instance of type (especially
if we want to createa the element under a specific owner in a command):
service.create(UMLPackage.Literals.CLASS)
2- We want to create an element based on an existing element (element
template).
service.create(UMLPackage.Literals.CLASS, Constants.ABSTRACT_CLASS)
3- We want to create an element, and set a specific feature inside its
parent.
service.create(UMLPackage.Literals.CLASS, owner,
UMLPackage.Literals.PACKAGED__PACKAGED_ELEMENT)
4- using an element template
service.create(UMLPackage.Literals.CLASS, owner,
UMLPackage.Literals.PACKAGED__PACKAGED_ELEMENT, Constants.ABSTRACT_CLASS)
5- We want to create along with the elements, its tree structure : for
instance an association and its association ends. We could use the
"element template"
service.create(UMLPackage.Literals.ASSOCIATION,Constants.ASSOCIATION_COMPOSITE)
6- If it is a graphical creation, the service could ask the user to set
some properties at the creation. For instance isAbstract / visibility
(it could be a popup, a notification etc...).
service.askUser(UMLPackage.Literals.CLASS__IS_ABSTRACT)
service.askUser(UMLPackage.Literals.CLASS__visibility)
service.create(UMLPackage.Literals.CLASS)
7- We should also help the user in setting some feature : multiplicity,
name ....
service.askMandatoryProperty(true)
service.create(UMLPackage.Literals.CALL_OPERATION_ACTION)
In this case, it offers the possibility to the user to create or select
an existing operation to affect to the call operation
Regards,
Atos team
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.36.34.49
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 groupeAtosOri=
gin ne pourra =C3=AAtre recherch=C3=A9e quant au contenu de cemessage.Bie=
n que les meilleurs efforts soient faits pour maintenir cette transmissio=
n 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 recherch=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