Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Lazy ApproveRequest()

Hi Alain,

 

You remember perfectly!

I was using UML::Classifier.

 

I have now a working version [1] with:

- an edithelper checking source on UML::Element

- an edithelper checking target on UML::Package

 

I could also use only one edithelper on UML::Element checking source and target if exist.

 

Thanks

Benoît,

1: https://git.eclipse.org/r/#/c/96936/

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Alain Le Guennec
Envoyé : mardi 16 mai 2017 13:47
À : Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
Objet : Re: [mdt-papyrus.dev] Lazy ApproveRequest()

 

Hi,

 

To which element type is the advice bound?

If I remember correctly, the request is initially sent to the source object of the relationship,

and if approved, subsequent requests are sent to the would-be owner of the relationship instead.

So you may have to manage 2 advices. Or I may remember incorrectly and it may be something else.

 

On Mon, May 15, 2017 at 8:51 AM, MAGGI Benoit <Benoit.MAGGI@xxxxxx> wrote:

Hi,

 

After a discussion with Vincent around Matrix, I tried (in SysML) to allow creation of DeriveReqt only between Requirements [1].

IMHO the correct approach should be to filter the creation in an EditHelper with an approverequest() that only allow the creation between requirements.

 

I didn’t managed to implement that, I looked in the BugTracker and found [2] reported by Patrik Nandorf.

 

Did we both missed something? Or do we have this problem in approverequest()?

 

Regards,

Benoît

1 : https://bugs.eclipse.org/bugs/show_bug.cgi?id=516561

2: https://bugs.eclipse.org/bugs/show_bug.cgi?id=512091

 


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



 

--

Alain Le Guennec, R&D Expert Engineer

SCADE Architect Project Manager and Team Leader

Esterel Technologies, a wholly-owned subsidiary of ANSYS, Inc.

Tel: +33 5 34 60 90 55

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

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. 


Back to the top