Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » prevent negative coordinate positioning?
prevent negative coordinate positioning? [message #179339] Tue, 26 April 2005 16:01 Go to next message
Sean Neeley is currently offline Sean NeeleyFriend
Messages: 22
Registered: July 2009
Junior Member
I have IFigures on a FreeFormLayer like in the logic example. Negative
coordinates are not allowed in my GEF implementation. How do I prevent
users from dragging IFigures to negative positions?

- Sean
Re: prevent negative coordinate positioning? [message #179367 is a reply to message #179339] Tue, 26 April 2005 17:26 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

MyMoveCommand {
....
public void canExecute() {
return x >= 0 && y >= 0;
}
....
}

"Sean Neeley" <sean.neeley@dbcsoftware.com> wrote in message
news:d4louj$3j3$1@news.eclipse.org...
>I have IFigures on a FreeFormLayer like in the logic example. Negative
>coordinates are not allowed in my GEF implementation. How do I prevent
>users from dragging IFigures to negative positions?
>
> - Sean
Previous Topic:Nested Layout with CompoundDirectedGraphLayout
Next Topic:EDiagram and GEF 3.1M6
Goto Forum:
  


Current Time: Fri Apr 26 16:32:02 GMT 2024

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

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

Back to the top