Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Shape Resize On Selection(Resize the Main Shape when click on any sub- Shape)
Shape Resize On Selection [message #1443663] Mon, 13 October 2014 03:48 Go to next message
Aditya Sharma is currently offline Aditya SharmaFriend
Messages: 1
Registered: October 2014
Junior Member
Hi All,

Graphiti provides selection of parent Shape on click of it.
We have parent Shape and inside it different rows,all are sub-shapes.

On selection of parent shape (on clicking at the top) i am able to resize the parent shape.
Our usecase: We want to select the parent shape on clicking on any of the sub-shapes and then perform resize on the parent shape.
We also want to maintain the multiselection on the subshape selected and the parent shape. Is it possible to achieve this?


Regards,
Aditya

[Updated on: Tue, 14 October 2014 04:51]

Report message to a moderator

Re: Shape Resize On Selection [message #1449548 is a reply to message #1443663] Tue, 21 October 2014 14:09 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Aditya,

yes, that is possible. You need to register a single click feature
(implement a custom feature and return it in getSingleClickFeature of your
tool behavior provider for your sub-shape) and do the resize there.

Michael
Previous Topic:GUI Elements in Spray/Graphiti
Next Topic:Size of editor default viewport
Goto Forum:
  


Current Time: Thu Apr 25 10:42:52 GMT 2024

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

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

Back to the top