Dear all,

I am trying to develop something like online diagram editor for my msc dissertation.
I want to use extjs and the draw2d library.
Till now I can drag and drop an image element.
My problem is when I click an element in my canvas I want to grab the event and show a dialog in order to put some attributes for this element.
Does anyone knows how to do this?

Thanks in advance