Discouraged Access Warnings [message #590606] |
Thu, 27 March 2008 10:52 |
Enrico Schenk Messages: 23 Registered: July 2009 |
Junior Member |
|
|
Hello,
while making progress with the Ingres enablement plugins, there is still
an issue concerning discouraged access warnings. I fixed several parts
of the code, but there are still two problems left:
1. The package:
org.eclipse.datatools.sqltools.sql.parser.*
The parser API is not accessible (in restricted mode) to other plugins.
I'm a bit surprised, that the package is not visible. This is mainly
because the parser is part of the extension point
org.eclipse.datatools.sqltools.editor.core.dbConfigurations# dbConfiguration
(the parser can be accessed via
SQLDevToolsConfiguration.getSQLService().getSQLParser()).
2. The class:
org.eclipse.datatools.sqltools.core.IControlConnection
My current implementation depends on
org.eclipse.datatools.sqltools.internal.core.AbstractControl Connection.
Unfortunately this class is not part of the API. It would be nice to
have a default implementation of the interface, that is intended to be
subclassed.
Is there a recommended way to resolve "discouraged access" issues?
Thanks,
Rico
|
|
|
Powered by
FUDForum. Page generated in 0.03419 seconds