Which tool should I use for drawing lines [message #148239] |
Fri, 20 August 2004 02:18 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04221 seconds