Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to set activeTool?
How to set activeTool? [message #128756] Mon, 26 April 2004 03:11 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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.
> >
> >
>
>
Re: How to set activeTool? [message #130112 is a reply to message #128918] Sat, 01 May 2004 14:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: taleng2000.hotmail.com

"Randy Hudson" <none@us.ibm.com> д
Re: How to set activeTool? [message #131330 is a reply to message #130112] Fri, 07 May 2004 14:31 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Can't you call EditDomain.loadDefaultTool()?

"Figo" <taleng2000@hotmail.com> wrote in message
news:c70bn1$1cj$1@eclipse.org...
>
> "Randy Hudson" <none@us.ibm.com> д
Previous Topic:Should I Use GEF?
Next Topic:GridLayout/TableLayout
Goto Forum:
  


Current Time: Fri Apr 26 03:23:11 GMT 2024

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

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

Back to the top