Databinding Access Restriction [message #332952] |
Sun, 16 November 2008 09:36  |
Eclipse User |
|
|
|
Hi
I have been developing with Eclipse since 3.0 so I have had some
experience with accessing Eclipse plug-ins. The problem I describe below
feels like an Eclipse internals issue, but, I like to know what others
think before running this through bugzilla. So thanks for your time.
Platform.
Eclipse 3.4.1
OS X 10.5.5
Here's my situation:
Plugin (B) contains a view and uses the imports
org.eclipse.core.databinding.DataBindingContext,
org.eclipse.core.databinding.beans.BeansObservables,
org.eclipse.core.databinding.observable.value.IObservableVal ue.
All works as described until I add
org.eclipse.core.databinding to a Plugin (A) that Plugin (B) depends on.
After adding org.eclipse.core.databinding to Plugin (A) the following
import statements go bad in Plugin (B).
import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.core.databinding.observable.value.IObservableVal ue;
The error message is "Access restriction: The type (substitute import)
is not accessible due to restrictions on required library /
myEclipseInstallation/plugins/org.eclipse.core.databinding "
I have tried moving org.eclipse.core.databinding around in both
Plugins in any number of combinations using the Required Plug-ins and
Imported Packages categories found in their MANIFEST to no avail. If I
have developed some type of brain cramp and I'm missing the obvious, I
would really appreciate a heads up. Thanks again for your time.
|
|
|
|
|
|
Re: Databinding Access Restriction [message #333060 is a reply to message #332980] |
Sun, 23 November 2008 20:09  |
Eclipse User |
|
|
|
I have no idea, but if you are not able to reproduce the problem with new
plugin projects, how about you create new plugin projects and import just
your code (i.e. not the complete "broken" projects)? There must be something
wrong with your .classpath or MANIFEST.MF files.
Boris
"Ralph Bosson" <rbosson@corgroup.com> wrote in message
news:8466b04790f42287f414e9473747d6cc$1@www.eclipse.org...
> Also,
>
> I created the same Eclipse environment on a Windows XPsp2 system and got
> the same result. It appears that there is something in PluginA the is
> giving databindings a problem when loaded. Any ideas on what could be
> creating an issue like this?
>
> -Ralph
|
|
|
Powered by
FUDForum. Page generated in 0.03862 seconds