Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Non Rectangular selection area
Non Rectangular selection area [message #662259] Tue, 29 March 2011 22:42 Go to next message
Shenxue Zhou is currently offline Shenxue ZhouFriend
Messages: 50
Registered: July 2009
Member
I'd like to use a polygon for my node selection area. The polygon is a union of two rectangles one of which is placed on top of the other. In another word, the two rectangles don't overlap. The union is a "tight" union, e.g, the result of the union is a polygon made up of the areas of the two rectangles. And I modified my tool behavior's getSelectionBorder() to return such a polygon. But what's drawn on the canvas is still a large rectangle for the selection border. And the floating palette around the node disappeared too.

So does Graphiti support non-rectangular selection border?

Thanks!
Re: Non Rectangular selection area [message #662295 is a reply to message #662259] Wed, 30 March 2011 07:19 Go to previous messageGo to next message
Matthias Gorning is currently offline Matthias GorningFriend
Messages: 81
Registered: April 2010
Location: Germany
Member
Currently Graphiti doesn't support non-rectangular selection borders.

BR
Matthias
Re: Non Rectangular selection area [message #662423 is a reply to message #662295] Wed, 30 March 2011 15:39 Go to previous messageGo to next message
Shenxue Zhou is currently offline Shenxue ZhouFriend
Messages: 50
Registered: July 2009
Member
Matthias,

Would you consider supporting non-rectangular selection borders? How involved is this going to be?

Thanks,

Shenxue
Re: Non Rectangular selection area [message #663043 is a reply to message #662423] Sat, 02 April 2011 17:34 Go to previous messageGo to next message
Jan Schoubo is currently offline Jan SchouboFriend
Messages: 13
Registered: May 2010
Location: Stilling, Denmark
Junior Member
I support this too.

- Jan


Jan Schoubo, schoubo reasoning
Re: Non Rectangular selection area [message #663307 is a reply to message #663043] Mon, 04 April 2011 14:35 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1640
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Please open an enhancement request bugzilla for this against Graphiti.
Contributions are of course highly welcome... ;-)

Michael


"Jan Schoubo" wrote in message news:in7m9v$tvs$1@news.eclipse.org...

I support this too.

- Jan
--
Jan Schoubo, schoubo reasoning
Re: Non Rectangular selection area [message #663394 is a reply to message #663307] Mon, 04 April 2011 20:22 Go to previous message
Shenxue Zhou is currently offline Shenxue ZhouFriend
Messages: 50
Registered: July 2009
Member
I've opened an enhancement bug to track this https://bugs.eclipse.org/bugs/show_bug.cgi?id=341837
Previous Topic:Images from user directories (as opposed to plugin resources)
Next Topic:Bulk addition of business objects
Goto Forum:
  


Current Time: Thu Dec 18 00:54:35 GMT 2014

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

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