Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » actionbar contributor
actionbar contributor [message #209253] Mon, 13 February 2006 15:01 Go to next message
Eclipse UserFriend
Originally posted by: marguu.libero.it

Hi all!In my own GEF editor I've coded my own action. It works fine, but I
can start it using the context menu, but

i'can't do it using a contributor to toolbar. The elative button in fact
don't became enabled when the action

calculateEnabled() return true. How can i reach this behaviour? Thanks
Re: actionbar contributor [message #209443 is a reply to message #209253] Tue, 14 February 2006 20:02 Go to previous message
Tomáš Studva is currently offline Tomáš StudvaFriend
Messages: 9
Registered: July 2009
Junior Member
Hi,
problem is that toolbar is not updated automatically, toolbar doesn't matter action's calculate enabled. Problem is when to update action's button in toolbar - when will be enabled to change its gray color to normal? I don't know pretty solution, only this one: to update it manually when needed, maybe there is some support for request to update icon as feedback to some event that changed enablement.
T.S.
Previous Topic:Does GEF has support to view a portion of a complex model?
Next Topic:combo with draw2d
Goto Forum:
  


Current Time: Wed Apr 24 19:19:22 GMT 2024

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

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

Back to the top