How to set activeTool? [message #128756] |
Mon, 26 April 2004 03:11 |
Eclipse User |
|
|
|
Originally posted by: taleng2000.hotmail.com
in gef2.1 getpaletteview().setActiveTool() is ok, then what if in gef 2.0?
i found a method getpaletteviewer().setselection(paletteentry entyr), but it
seems no work.
|
|
|
Re: How to set activeTool? [message #128770 is a reply to message #128756] |
Mon, 26 April 2004 03:43 |
Eclipse User |
|
|
|
Originally posted by: taleng2000.hotmail.com
in addition, i want to set active tool as select pointer, when i
setselection(), paletteview has change active tool to this tool, but select
pointer doesn't work until i select another tool and re-change to select
pointer tool.
Why???
> in gef2.1 getpaletteview().setActiveTool() is ok, then what if in gef 2.0?
>
> i found a method getpaletteviewer().setselection(paletteentry entyr), but
it
> seems no work.
>
>
|
|
|
Re: How to set activeTool? [message #128918 is a reply to message #128770] |
Mon, 26 April 2004 13:41 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
"Figo" <taleng2000@hotmail.com> wrote in message
news:c6i04i$o6e$1@eclipse.org...
> in addition, i want to set active tool as select pointer, when i
> setselection(), paletteview has change active tool to this tool, but
select
> pointer doesn't work until i select another tool and re-change to select
> pointer tool.
> Why???
>
> > in gef2.1 getpaletteview().setActiveTool() is ok, then what if in gef
2.0?
> >
> > i found a method getpaletteviewer().setselection(paletteentry entyr),
but
> it
This method should work fine. Try debugging to see what is happening. We
recently used this method to select tools in responce to keybindings.
> > seems no work.
> >
> >
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03361 seconds