[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: REQ_OPEN issue.

"Randy Hudson" <none@xxxxxxxxxx> wrote in message 
news:di5u69$p6e$1@xxxxxxxxxxxxxxxxxxx
> Actually, perform request is not forwarded to Editpolicies, so just do it 
> in the editpart.

Will performRequest() handle request before Editpolicies?

I have a problem that in performRequest() I cann't find REQ_OPEN and 
REQ_SELECTION even though I do select or double-click corresponding nodes. 
Do you by any chance have some idea about what reasons it could be?

Thanks!
Miaohua Xu

>
> "Greg" <greg.gigon@xxxxxxxxxx> wrote in message 
> news:di5nqb$fl3$1@xxxxxxxxxxxxxxxxxxx
>> Hey John.
>> Thanks a LOT !!!
>> :)
>>
>> Greg
>>
>> John Cage wrote:
>>> You can handle it directly in EditPart method prerformRequest.
>>> Or you can create your own EditPolicy in which you filter this request 
>>> directly in getCommand method.
>>>
>>> Best Regards,
>>>
>>> John Cage
>>>
>