[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: EditPart can't receive REQ_OPEN and REQ_SELECTION request
|
With your help, I finally figured it out it's because
AbstractTreeEditpart.getDragTracker simply return null while actually a
SelectEditPartTracker is needed.
Thank you very much!
Miaohua Xu
"Randy Hudson" <none@xxxxxxxxxx> wrote in message
news:diogk5$f4p$1@xxxxxxxxxxxxxxxxxxx
> "vince" <fiustudent@xxxxxxxxxxx> wrote in message
> news:dimbvr$uhk$1@xxxxxxxxxxxxxxxxxxx
>> Thank you for your reply!
>>
>> I am guessing the outline TreeViewer has handled such request so that it
>> doesn't dispatch them. Could you please point out a direction for me?
>> Say, shall I look into the source code of treeViewer? or something else?
>
> You should be looking at the editpart's getDragTrackerMethod, and at
> SelectEditPartTracker, which is the tool that sends the open request.
> You'll note that AbstractTreeEditPart does return a drag tracker, so this
> request never gets sent.
>
> Please open a bug for a special drag tracker just for treeitems which only
> sends these requests, but doesn't perform any selection
>>
>> Additional, what do you mean by saying "pick one place/thread to discuss
>> this problem"? I am kind of new to Eclipse.
>
> I am referring to the different places on this newsgroup that you are
> asking about the same problem
>