Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Customization of Papyrus Properties and Actions
Customization of Papyrus Properties and Actions [message #654332] Tue, 15 February 2011 08:57 Go to next message
Wladimir Schamai is currently offline Wladimir SchamaiFriend
Messages: 53
Registered: May 2010
Member
Hi,

we are creating a new perspective (for our DSL) that is based on a subset of the Papyrus perspective. Here we would like to "hide" or disable some default Papyrus features.

Does anyone know if it is possible to disable Model Explorer actions (e.g. "New Child" or "Validation") and the "UML" properites tab?

Wladimir
Re: Customization of Papyrus Properties and Actions [message #654818 is a reply to message #654332] Thu, 17 February 2011 09:51 Go to previous messageGo to next message
Wojciech Trocki is currently offline Wojciech TrockiFriend
Messages: 64
Registered: May 2010
Member
Redefine context menu element using org.eclipse.ui.popupMenus and change its enablement of this element only for other perspectives. You can also disable this popup and provide special for your perspective. If you succeed, please describe your success story.
Re: Customization of Papyrus Properties and Actions [message #654890 is a reply to message #654818] Thu, 17 February 2011 14:26 Go to previous message
Wladimir Schamai is currently offline Wladimir SchamaiFriend
Messages: 53
Registered: May 2010
Member
Hi,

thanks! It works with menues defined using the org.eclipse.ui.menus extension point.

However, I am still struggling with menues defined using org.eclipse.ui.popupMenus. Should I use visibility or enablement?
Do you know how know if a particular perspective is active?
Previous Topic:Two or more lines on Value Specific Action
Next Topic:New Papyrus Project Wizard for DSLs with Profile
Goto Forum:
  


Current Time: Sat Apr 20 03:27:58 GMT 2024

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

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

Back to the top