Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Using Core-Expr for menu contribution
Using Core-Expr for menu contribution [message #1488748] Wed, 26 November 2014 22:09
Giovanni J is currently offline Giovanni JFriend
Messages: 15
Registered: November 2014
Junior Member
Hello everybody, I'd like to add a Core Expression to an HandledMenuItem. I simply want to show that menu entry only if a selected MPart is active.

My implementation as follows:

<extension
id="*"
point="org.eclipse.core.expressions.definitions">
<definition
id="com.project.test.definition1">
<with
variable="e4ActivePart">
<equals
value="com.project.test.part.time">
</equals>
</with>
</definition>
</extension>

It doesn't work. Is there any way to check which value e4ActivePart has? Anyway it should be the right one.

Thanks
Previous Topic:Text Box that will only accept number like amount
Next Topic:Integration of e3 RCP app into pure e4 RCP application
Goto Forum:
  


Current Time: Thu Jan 21 11:26:07 GMT 2021

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

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

Back to the top