Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Marquee vs Select all behavior
Marquee vs Select all behavior [message #766051] Thu, 15 December 2011 01:22 Go to next message
Patrick Talbot is currently offline Patrick Talbot
Messages: 36
Registered: November 2011
Member
Using the Marquee tool on all shapes doesn't result in the same kind of selection that happens with the 'Select All' command: ConnectionDecorator are not selected with the Marquee tool, but they are with the 'Select All' command.

This is rather inconsistent: either one or the other should be true in both cases.

Is that expected behavior? Should I file a bug for this?

Thanks,
-Patrick
Re: Marquee vs Select all behavior [message #766112 is a reply to message #766051] Thu, 15 December 2011 03:41 Go to previous messageGo to next message
Tim Kaiser is currently offline Tim Kaiser
Messages: 118
Registered: July 2009
Senior Member
Hi,

can you check the behavior of plain gef editors?

Is it the same or does it differ from Graphiti?

Best, Tim
Re: Marquee vs Select all behavior [message #766349 is a reply to message #766112] Thu, 15 December 2011 10:39 Go to previous messageGo to next message
Patrick Talbot is currently offline Patrick Talbot
Messages: 36
Registered: November 2011
Member
What I can see in the ECore diagram editor (I suppose it's plain GEF), is that the 'Select All' command selects all Shapes and Connections (not ConnectionDecorators which is nice), and the Marquee does exactly the same.

I don't have any other plain GEF editors at hand.
Re: Marquee vs Select all behavior [message #766973 is a reply to message #766349] Fri, 16 December 2011 14:22 Go to previous messageGo to next message
Rhett Hudson is currently offline Rhett Hudson
Messages: 43
Registered: September 2010
Member
Are your connections really being selected? I've never been able to get Graphiti to select my connections with the marquee unless I override my way down to a point where I can call setMarqueeBehavior(GFMarqueeSelectionTool.BEHAVIOR_NODES_AND_CONNECTIONS) on Graphiti's drag tracker.
Re: Marquee vs Select all behavior [message #767067 is a reply to message #766973] Fri, 16 December 2011 19:29 Go to previous messageGo to next message
Patrick Talbot is currently offline Patrick Talbot
Messages: 36
Registered: November 2011
Member
No, in the ECore diagram editor, Connections are selected, not in Graphiti.

But in Graphiti, the ConnectionDecorators are selected using the 'Select All' command, not with the Marquee tool...
Re: Marquee vs Select all behavior [message #778237 is a reply to message #767067] Wed, 11 January 2012 16:28 Go to previous message
Rhett Hudson is currently offline Rhett Hudson
Messages: 43
Registered: September 2010
Member
Along this same line, the getClickArea() method of ToolBehaviorProvider allows clicks across several GraphicsAlgorithms to be collapsed into the selection of one PictogramElement. But, dragging a marquee selection across the same object results in the selection of every active container shape in the hierarchy.
Previous Topic:Problem with overdrawing
Next Topic:Using meta-model ereferences for connections
Goto Forum:
  


Current Time: Fri Jul 25 05:09:48 EDT 2014

Powered by FUDForum. Page generated in 0.16245 seconds