|CompositeShape Area Selection [message #1354920]
||Wed, 14 May 2014 13:36
| Simon Sperl
Registered: May 2014
Situation; I have a ContainerShape that stands for a package and inside I have my classes that I want to drag/move around.|
Problem; I can't select multiple classes within the package via the "selection rectangle" (I can only select Shapes that way on the Diagram background) since it immediately starts moving the entire package.
So think changing the selection in ToolBehavior should do the trick;
overriding PictogramElement getSelection(PictogramElement originalPe, PictogramElement oldSelection)
to instead select the Diagram does not work since I can't distinguish between selectable/unselectable areas?
GraphicsAlgorithm getClickArea(PictogramElement pe)
to only return the title/borders does not work since I now can only move child elements on the clickable area
So how do I work around that?
|Re: CompositeShape Area Selection [message #1366477 is a reply to message #1354920]
||Mon, 19 May 2014 10:29
| Michael Wenz
Registered: July 2009
Location: Walldorf, Germany
I do not have a good idea to enable that for the selection tool, unless you
would make the package container shape inactive. But that would also
prohibit adding functionality like move, resize, etc. for a package and I
gues that is not wohat you like...
However, using the marquee tool to do the selection should work, also
Powered by FUDForum
. Page generated in 0.02694 seconds