|Reusing / extending the DTP SQL parser [message #589383]
||Tue, 18 December 2007 13:10
| Christophe Fondacci
Registered: July 2009
I would like to re-use the SQL parser from the data tools platform in a
plugin i am developing for implementing color highlighting and SQL proposals
in a custom SQL editor view.
But I am a bit lost in the DTP plugin ecosystem :
After analyzing the DTP sources, I have found several parsers :
- The SQL parser from "org.eclipse.datatools.sqltools.sql.parser" which
seems to be a parser entry point, according to the javadoc
- The SQL parser from "org.eclipse.datatools.sqltools.parsers.sql" which
seems to be a different parser using lpg, but which has a very poor
- The SQLQueryParser from "org.eclipse.datatools.sqltools.parsers.sql.query"
which has a very poor documentation.
I cannot find out which parser is used when, and which one I should use
though. I have not been able to locate the SQL editor view in the DTP
plugins which would have given me a good entry point in the source code.
Could someone point me out some links / documentation on this and/or tell me
which plugins I should take as dependencies to implement my SQL editor view
Is there a plugin dependency graph available out there ?
Thank you very much.
Powered by FUDForum
. Page generated in 0.01875 seconds