Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Which tool should I use for drawing lines
Which tool should I use for drawing lines [message #148239] Fri, 20 August 2004 02:18 Go to next message
Eclipse UserFriend
Originally posted by: gupolet.ulb.ac.be

I want to have a tool for drawing lines or multiple lines. Is there any tool
that does this or which is close from that and only needs a few overrides?
Or should I implement a whole new tool? If so, what are the entry points?

Thank you very much

Guillaume
Re: Which tool should I use for drawing lines [message #148270 is a reply to message #148239] Fri, 20 August 2004 14:21 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You should implement a new tool which extends:

handleButtonDown() {
//transition to drag state
}

handleDragInProgress() {
//record the mouse drags and push them into some request type
}

handleButtonUp() {
//commit the drawn line
}

"Guillaume Polet" <gupolet@ulb.ac.be> wrote in message
news:cg3msh$7td$1@eclipse.org...
> I want to have a tool for drawing lines or multiple lines. Is there any
tool
> that does this or which is close from that and only needs a few overrides?
> Or should I implement a whole new tool? If so, what are the entry points?
>
> Thank you very much
>
> Guillaume
>
>
Previous Topic:about Zorder
Next Topic:Coordinates, zoom and scrollbars
Goto Forum:
  


Current Time: Fri Apr 26 03:25:55 GMT 2024

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

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

Back to the top