Binding a CM ModelQuery to a filename extension? [message #56874] |
Tue, 21 December 2004 06:48 |
Eclipse User |
|
|
|
Originally posted by: christianessl.yahoo.de
I want to make a XML editor for a XML dialect which makes Java object
trees (a XUL variant). I want to use the very cool wst XMLEditor. Because
the XULs ?schema? is defined by the java classes in the project I first
thought of adding an extension to
org.eclipse.wst.common.contentmodel.documentFactories.
However when I browsed through the code of the org.eclipse.wst.xml.core
plugin I found that it would be easier if I could directly implement
org.eclipse.wst.common.contentmodel.modelquery.ModelQuery or
org.eclipse.wst.common.contentmodel.modelquery.ModelQueryAss ociationProvider
and associate it with a specific file-extension. The xmleditor should use
this ModelQuery based on the file-extension.
Is this possible or do I have to define a new editor based on XMLEditor.
It would be great if anyone could help.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03608 seconds