Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » dynamically add/remove icon on diagram shape
dynamically add/remove icon on diagram shape [message #1735655] Tue, 21 June 2016 16:15 Go to next message
maria  finkelstein is currently offline maria finkelsteinFriend
Messages: 19
Registered: December 2011
Location: New York, NY
Junior Member
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 17:31 Go to previous message
maria  finkelstein is currently offline maria finkelsteinFriend
Messages: 19
Registered: December 2011
Location: New York, NY
Junior Member
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: Sat Dec 21 15:40:15 GMT 2024

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

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

Back to the top