Skip to main content



      Home
Home » Modeling » Papyrus » Customization of Papyrus Properties and Actions
Customization of Papyrus Properties and Actions [message #654332] Tue, 15 February 2011 03:57 Go to next message
Eclipse UserFriend
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 04:51 Go to previous messageGo to next message
Eclipse UserFriend
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 09:26 Go to previous message
Eclipse UserFriend
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: Mon Jul 14 16:33:54 EDT 2025

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

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

Back to the top