Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Expose IDPattern IDs(Make ids of IDPatterns easier accessible for CustomFeatures)
Expose IDPattern IDs [message #1832872] Mon, 28 September 2020 11:07 Go to next message
Hannes Watolla is currently offline Hannes WatollaFriend
Messages: 1
Registered: February 2020
Junior Member

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,
Re: Expose IDPattern IDs [message #1833029 is a reply to message #1832872] Thu, 01 October 2020 06:26 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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 ?

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

Current Time: Mon Apr 15 18:56:09 GMT 2024

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

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

Back to the top