I don't do anything to create a editor input. In my editor class create
part control i just call setDocument(new FileDocumentProvider());
I run my plugin project as eclipse application and a workbench opens.In
the file menu ->open i browse to a file in the desktop and open it .It
automatically opens with its associated editor.I do not open the editor
programatically...!When the editor opens the call automatically goes to
createDocument method of the FileDocumentProvider().