Skip to main content



      Home
Home » Eclipse Projects » GEF » double click in outline
double click in outline [message #232377] Thu, 29 March 2007 11:34 Go to next message
Eclipse UserFriend
Originally posted by: alexandre.magillem.com

Hi All,
Is it possible to perform a REQ_OPEN request on objects in the outline ?

I've added the performRequest method to the EditPart in my tree, but it
does not seem to receive the request.

Regards.
Christophe
Re: double click in outline [message #232392 is a reply to message #232377] Thu, 29 March 2007 14:43 Go to previous message
Eclipse UserFriend
Originally posted by: alexandre.magillem.com

Hi again, I've found an answer to my question.
I've added :

@Override
public DragTracker getDragTracker(Request request) {
return new org.eclipse.gef.tools.SelectEditPartTracker(this);
}

and

@Override
public void performRequest(Request request) {
if (request.getType() == RequestConstants.REQ_OPEN) {
//do something
}
}

to my TreeEditPart.


I don't know if it's the good way but it seems to work.

Best Regards.
Christophe


Christophe Alexandre a écrit :
> Hi All,
> Is it possible to perform a REQ_OPEN request on objects in the outline ?
>
> I've added the performRequest method to the EditPart in my tree, but it
> does not seem to receive the request.
>
> Regards.
> Christophe
Previous Topic:Undoable Operation Support
Next Topic:How to fix problem with draging edit parts
Goto Forum:
  


Current Time: Mon Jul 07 11:10:33 EDT 2025

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

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

Back to the top