Thanks Alex.
But i am trying to get the diagram editparts without opening the diagram
file.
At the time of launching the runtime workbench i am retriveing all the
projects and the diagram files in it. I need to perform some check for all
the elements in all diagram files in all projects before the runtime
launches completely .