I'm afraid I don't know enough about the toolbar to help.  Since it's
an entirely separate project, I don't even have the sources readily
available.

I would like to make a comment about the ResourceLoader discussion though.

> Issue http://argouml.tigris.org/issues/show_bug.cgi?id=4822 is supposed to
> help resolving this problem.
>
> So, we need ResouceLoaderWrapper.addResourceLocation(String location) to be
> public so we can call it from modules.

That's a very roundabout way to fix the problem and it doesn't work
with Eclipse or any other environment that uses class loaders to help
enforce the dependency graph.  The extension modules have the icon
that is needed.  We should provide a mechanism for them to pass the
icon directly or for the to provide a callback method which will fetch
the icon.

The reason this won't work in Eclipse is that each plugin is loaded
with its own classloader which only has access to those things it has
been declared to be dependent on.  The classloader used for the main
core of ArgoUML obviously won't have access to anything which is in
extension modules since it's not dependent on them (the dependency
goes the other way around), so even if it is told the name of the
resource, it won't be able to find it using its classloader.

We should just simplify this and make it more direct rather trying to
fix the current convoluted scheme.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to