Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sapphire-dev] toggling connection labels

Hey guys,

So I'm trying to wire up a global context menu action for toggling the displaying of the diagram connection labels.  In my particular diagram, if there are a lot of nodes the connection labels can make it look messy.  One way I could do this is to put something into the model for UI state but I don't want to do that, so I'm trying to keep it on the UI/Diagram Editor side of things.  However, diagram action handlers are not passed the SapphireDiagramEditor instance, so I'm quite sure what is the best way to accomplish it.  Would love any suggestions.

--
Greg Amerson (@greg_amerson)
Liferay, Inc. (#liferay)

Back to the top