It's true, in ResourceLoaderWrapper is the code that defines the resource
locations (initResourceLoader, ResourceLoader.addResourceLocation).

But in my plugin I have my own wrapper, MacmasResouceLoaderWrapper, that
adds extra locations. The code is executed, but it has no effect, but if I
get the line of code and move to the ResourceLoaderWrapper all works fine.



2007/7/19, Bob Tarling <[EMAIL PROTECTED]>:

I don't have the code available to check right now but purely from
memory....

Look for a class named something like ResourceLoader (there may be a
few of these, the one required is in one of the ArgoUML packages). I
can't remeber if this is a singleton but you need to find where
ArgoUML gets its single instance.

There should be a method on there something like addDirectory or
addLocation where you can specify an extra path of your own to scan
for icons.

Bob



On 19/07/07, David Orejuela <[EMAIL PROTECTED]> wrote:
> Hello,
> I'm developing a plugin for ArgoUML, when I launched it with argouml
binary
> files I had problems with the plugin package names  so I refactored the
> plugin and changued the package names.
>
> Now I have some problems with the images. I have changed the Resource
Loader
> references to the new location of the images, but they don't appear. If
I
> put them in the original location they are shown correctly. I don't find
> other references in the project to this images.
>
> The questions are:
> Is there any restriction with the icon package location?
>
>

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


Reply via email to