Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Extend Navigate Menu
Extend Navigate Menu [message #1806976] Mon, 20 May 2019 13:45 Go to next message
Yoann Farré is currently offline Yoann FarréFriend
Messages: 235
Registered: November 2017
Senior Member
Hello,

I would like to extend the navigate menu (at right click on a diagram element).

I'm trying to use the extension points navigationRules and navigationDecoratorRules from plugin org.eclipse.papyrus.infra.gmfdiag.navigation but cannot arrive to complete the menu like I would.

I would like to show the type of connectable element of a lifeline (if available).

I'm not sure that the extension points can do the job. It seems there are several kind of NavigableElement (defined in this plugins or in org.eclipse.papyrus.infra.services.navigation.service.NavigableElement). Can I have some advices or pointers to do that?

Thanks.

Yoann.
Re: Extend Navigate Menu [message #1807581 is a reply to message #1806976] Tue, 04 June 2019 08:33 Go to previous messageGo to next message
Ansgar Radermacher is currently offline Ansgar RadermacherFriend
Messages: 461
Registered: March 2011
Location: Paris Saclay, France
Senior Member
HI Yoann,

you can find an example of using the navigate extension in the Papyrus-for-robotics repository, notably the file RMSNavigationContributor.java.

HTH

Ansgar
Re: Extend Navigate Menu [message #1807626 is a reply to message #1807581] Wed, 05 June 2019 10:46 Go to previous messageGo to next message
Yoann Farré is currently offline Yoann FarréFriend
Messages: 235
Registered: November 2017
Senior Member
Hi Ansgar,

Thanks a lot. This was exactly what I need.

Yoann.
Re: Extend Navigate Menu [message #1807648 is a reply to message #1807626] Wed, 05 June 2019 15:06 Go to previous message
Yoann Farré is currently offline Yoann FarréFriend
Messages: 235
Registered: November 2017
Senior Member
I just saw that this documentation page exists:

Doc on navigation
Previous Topic:Bug on adding a Stereotype on a Message?
Next Topic:Stereotype Icons in State Chart Diagram
Goto Forum:
  


Current Time: Fri Apr 26 03:19:15 GMT 2024

Powered by FUDForum. Page generated in 0.03388 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top