Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Is there an example of using a DirectEditPolicy with an AbstractTreeEditPart?
Is there an example of using a DirectEditPolicy with an AbstractTreeEditPart? [message #204800] Wed, 07 December 2005 16:33 Go to next message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
No Message Body
Re: Is there an example of using a DirectEditPolicy with an AbstractTreeEditPart? [message #204807 is a reply to message #204800] Wed, 07 December 2005 16:37 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Nope. The request is not sent currently because there is no drag tracker
used in the tree for selection.

We need a special TreeSelectEditPartTracker implementation that doesn't
select, but does send REQ_OPEN and REQ_DIRECT_EDIT to the tree editpart.
Would you care to make this contribution? Hopefully, placing a cell editor
in a tree is straightforward. If not, you could create a utility class like
CellEditorManager. Make sure you check our SWT's TreeEditor utility.

"Drew" <drew@acm.org> wrote in message news:dn72tj$muo$1@news.eclipse.org...
>
>
>
Previous Topic:Draw2d code samples
Next Topic:Keyboard shortcuts
Goto Forum:
  


Current Time: Thu Jan 16 03:01:37 GMT 2025

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

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

Back to the top