Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » MyDslEditor Contextual Menu Items
MyDslEditor Contextual Menu Items [message #1396608] Tue, 08 July 2014 14:50 Go to next message
Flo Plateau is currently offline Flo PlateauFriend
Messages: 16
Registered: December 2013
Junior Member
Dear Xtext community,

As the contextual menu of my DSL editor is becoming too long, I would like to organize it by moving some of the commands referenced in org.eclipse.xtext.ui plugin.xml to sub-menu items. For instance, I would like to move "Toggle Comment" and "Format" to a "Source" sub-menu, as in the JDT. Is it possible ?

I've already adapted the ui plugin.xml of my DSL, by adding a "Source" sub-menu containing the wanted commands. But now I must suppress these commands from the root of the menu, and I don't know how to proceed as I cannot customize org.eclipse.xtext.ui's plugin.xml.

Thanks in advance for your help,
Florence
Re: MyDslEditor Contextual Menu Items [message #1560315 is a reply to message #1396608] Mon, 12 January 2015 14:27 Go to previous message
Flo Plateau is currently offline Flo PlateauFriend
Messages: 16
Registered: December 2013
Junior Member
Thanks for having moved "Toggle Comment" and "Format" to a "Source" sub-menu in Xtext 2.7 !
Previous Topic:[XBase] Overriding OpAnd/OpOr rules
Next Topic:Referenced Ecore elements from other grammar are not resolved
Goto Forum:
  


Current Time: Fri Apr 26 09:27:28 GMT 2024

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

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

Back to the top