Yeah, been there...just got me more confused.  The dead end I reached is
that (and I could be wrong about any of this) a class/icon association is
made by calling GUIFactory.registerIcon().  Fine, except that
GUIFactory.registerIcon() is only called
by PluginManager().installPlugin() which is only called by
PluginManager.install() which is only called Once, by JMeter.startGui()
(or startNonGui()).

Unless I'm missing something.  I don't have a Java IDE so I'm just using
XP's search (which I had to modify to look in .java files).

So, I'm not sure I'm on the right track here - it looks fine except based on
my tracing of calls to registerIcon(), I don't see where _Anything_ gets
registered, much less the CookieManager class or my class.

J

----- Original Message ----- 
From: "Sebastian Bazley" <[EMAIL PROTECTED]>
To: "JMeter Developers List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Sunday, August 22, 2004 5:37 PM
Subject: Re: Can't get Icon for class ...


> A search for .gif in the java files shows that
>
> JMeter.getIconMappings()
>
> creates an array of classes and corresponding gifs.
>
> That is called by PluginManager.installPlugin()
>
> Perhaps that will help you find the problem?
>
> S.
> ----- Original Message ----- 
> From: "Michael Stover" <[EMAIL PROTECTED]>
> To: "JMeter Developers List" <[EMAIL PROTECTED]>
> Sent: Sunday, August 22, 2004 10:39 PM
> Subject: Re: Can't get Icon for class ...
>
>
> > Yeah, that's an obscure bit of code that seems to lead in circles if you
> > try to follow it.  That's what I remember last time I had this problem,
> > and I gave up on it (and I wrote most of JMeter!).  If I get a chance,
> > I'll look at it and see if I can figure it out.  It might be in the
> > properties file, but I'm not sure.
> >
> > -Mike
> >
> > On Sun, 2004-08-22 at 16:34, joelsherriff wrote:
> > > I'm trying to add a new config element for the http sampler but when I
> add
> > > the element to my thread group I'm getting a "can't get
> > > icon for class" error.  What I did was to copy the cookie code
> (Cookie.java,
> > > CookiePanel.java, and CookieManager.java) and
> > > modify them - that's about it.  I can't find where the association
> between
> > > the CookieManager class and the icon for the tree is made in order to
> > > duplicate it for my new class.  Can someone give me a pointer in the
> right
> > > direction?
> > >
> > > J
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > -- 
> > Michael Stover <[EMAIL PROTECTED]>
> > Apache Software Foundation
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



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

Reply via email to