Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 AmersonFriend
Messages: 119
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 KomissarchikFriend
Messages: 1077
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 AmersonFriend
Messages: 119
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: Sat Apr 27 04:04:26 GMT 2024

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

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

Back to the top