Hello jiezi,
So you says using "Initialize .. diagram" popup menu action on
exising *.XPDL file."
Right. You have to create your diagram definition, generate code with
GMF, ececute new instance of eclipse (just like you do to create new
instance of diagram) and in this instance get existing *.XPDL file with
the model information in it and try to initialize new diagram for it
using popup menu action..
which type of editor is used to open the exising *.XPDL file" and find
GMF-generated diagram editor editing selected root diagram element from
*.XPDL file.
-----------------
Alex Shatalin