Skip to main content



      Home
Home » Modeling » Graphiti » Expose IDPattern IDs(Make ids of IDPatterns easier accessible for CustomFeatures)
Expose IDPattern IDs [message #1832872] Mon, 28 September 2020 07:07 Go to next message
Eclipse UserFriend
Hi,

I would like to propose a change to the IDPattern:

Make the setId(), getId(), findById(), findByIdInGraphicsAlgorithmChildren() and also the setIndex() and getIndex() in IDPattern public static methods so you can easily access the IDs and indices of shapes outside of Patterns, for example in CustomFeatures that deal with shapes that use IDPatterns.

Yours sincerely,
Hannes
Re: Expose IDPattern IDs [message #1833029 is a reply to message #1832872] Thu, 01 October 2020 02:26 Go to previous message
Eclipse UserFriend
Hi Hannes,

thanks for this proposal. That sounds like a good idea because it is a bit inconvenient to call these methods today.

For compatibility reasons I would propose to move them to a new helper class and make the original methods delegate there and deprecate them.

Would you file a bugzilla for Graphiti for tracking that change ?

Michael
Previous Topic:AbstractDirectEditingFeature jumps to 0,0 coordinates on scroll change
Next Topic:ContainerShape without model representation
Goto Forum:
  


Current Time: Thu Apr 24 23:11:08 EDT 2025

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

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

Back to the top