Skip to main content



      Home
Home » Modeling » Papyrus » Call menu action
Call menu action [message #634124] Wed, 20 October 2010 11:18 Go to next message
Eclipse UserFriend
Hi,

since I'm having problems to show and arrange programmatically created ports in a component, I'd like to follow another way.

Is it possible to call at program the action executed in the popup menu Filters->Show/Hide contents and select only the elements I want?

Where can I find the code for that action?

Another question: how can I simulate at program the drag and drop of a connection between two ports on a component, so that it shows in the diagram?


Thanks in advance, 123star
Re: Call menu action [message #634136 is a reply to message #634124] Wed, 20 October 2010 11:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

The code for the show/hide action has been recently moved to the plugin org.eclipse.papyrus.diagram.menu. You will find there the extension point and the implementation code in this plugin.

for the drag and drop, you should have a look to the plugin /org.eclipse.papyrus.pastemanager.

Regards
Rémi
Re: Call menu action [message #1015933 is a reply to message #634136] Mon, 04 March 2013 05:02 Go to previous message
Eclipse UserFriend
No Message Body

[Updated on: Mon, 04 March 2013 05:33] by Moderator

Previous Topic:How to call myAction when pressing the Next Button of myWizardPage
Next Topic:[Beginner] Can't find Java types
Goto Forum:
  


Current Time: Tue Jul 08 13:52:23 EDT 2025

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

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

Back to the top