Skip to main content



      Home
Home » Modeling » Graphiti » dynamically add/remove icon on diagram shape
dynamically add/remove icon on diagram shape [message #1735655] Tue, 21 June 2016 12:15 Go to next message
Eclipse UserFriend
Would it be feasible dynamically add/remove icon on diagram shape. Lest say i have a shape that i am applying some metadata to it, ones the metadata is set i want to decorate my shape with some icon, also i want to remove the icon when metadata is removed. can i remove icons from shapes?
Re: dynamically add/remove icon on diagram shape [message #1735662 is a reply to message #1735655] Tue, 21 June 2016 13:31 Go to previous message
Eclipse UserFriend
founded the solution IDecorator[] getDecorators(PictogramElement pe) of DefaultToolBehaviorProvider will do the magic Smile
Previous Topic:Load user image at runtime
Next Topic:Graphiti tutorial : class diagram & process flow editors source code available ?
Goto Forum:
  


Current Time: Sun Apr 27 04:06:19 EDT 2025

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

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

Back to the top