Originally posted by: annamalai.ancitconsulting.com
After you create a new model object .. u can do
getViewer().setSelection(editPart) that you just created. It would select
the model object that you created.
If you dont kno the editPart related to the model object. Then you can use
getViewer().getEditPartRegistry().get(modelObject) and this woudl return the
editPart for that model object and then pass the editPart to the
"Darpan Saini" <email@example.com> wrote in message
> I found the solution. I was retuning MarqueeTracker in the getDragTracker
> method. Now that I return DragEditPartsTracker, things work just fine.
> However, I have another problem. I need the editpart that I just created
> to be selected and thats not happening. I am not sure what the default
> behavior in GEF is.
> Any help appreciated.