Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » Diagram node handler factory
Diagram node handler factory [message #848427] Wed, 18 April 2012 08:03 Go to next message
Greg Amerson is currently offline Greg Amerson
Messages: 116
Registered: March 2010
Senior Member
Hi all,

In my diagram, I'm trying to build a dynamic menu that comes off of the diagram node based on the number of elements that are in a list property from the node element.

I tried to use the handler factory but the output of the factory is cached (understandably). Is there any way to have a completely dynamic context menu for a diagram node?

[Updated on: Wed, 18 April 2012 08:03]

Report message to a moderator

Re: Diagram node handler factory [message #848861 is a reply to message #848427] Wed, 18 April 2012 16:41 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 941
Registered: July 2009
Senior Member
Have you tried broadcasting an event from your action handler factory when the condition happens that invalidates your previous result?

- Konstantin
Re: Diagram node handler factory [message #849242 is a reply to message #848861] Thu, 19 April 2012 01:47 Go to previous message
Greg Amerson is currently offline Greg Amerson
Messages: 116
Registered: March 2010
Senior Member
Oh nice! Added the listener and the broadcast from the factory and its working great now. Thanks!
Previous Topic:initial values for properties created in list editor
Next Topic:Could not resolve SapphireActionHandler
Goto Forum:
  


Current Time: Tue Oct 21 18:41:23 GMT 2014

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

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