[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.webtools] Opening XML Schema file in my view
|
Hi,
I am Trying to open schema file with the extension .xsd in my View i call
following code in the view
String path = "C:" + File.separator + "mySchema.xsd";
Path location= new Path(path);
IFileStore fileStore = EFS.getLocalFileSystem().getStore((IPath)location);
IDE.openEditorOnFileStore(page, fileStore);
I expect this file to be open in the XML Schema editor But it open only the
XML Editor with ID
"org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart"
But the same file i added to my eclipse Project Explorer it opens with the
correct Editor. I am not sure what i am doing wrong or what should i do to
get the correct editor.
Thanks,
Suresh Subramanian