[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[gef-dev] Re: gef-dev digest, Vol 1 #76 - 1 msg
|
This is using Java's resource loader mechanism.
Circuit.class is needed for its package path ( you can
use any other class also ). Circuit.class is just
another resource relative to which image resouce can
be found.
--- gef-dev-request@xxxxxxxxxxx wrote:
> Send gef-dev mailing list submissions to
> gef-dev@xxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web,
> visit
> http://dev.eclipse.org/mailman/listinfo/gef-dev
> or, via email, send a message with subject or body
> 'help' to
> gef-dev-request@xxxxxxxxxxx
>
> You can reach the person managing the list at
> gef-dev-admin@xxxxxxxxxxx
>
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of gef-dev digest..."
>
>
> Today's Topics:
>
> 1. About ImageDescriptor.createFromFile in Logic
> Example (=?GB2312?Q?=C0=EE=F2=D4?=)
>
> --__--__--
>
> Message: 1
> From: "=?GB2312?Q?=C0=EE=F2=D4?=" <liziwen@xxxxxxxx>
> To: "gef-dev@xxxxxxxxxxx" <gef-dev@xxxxxxxxxxx>
> Organization: td
> Date: Sat, 31 May 2003 11:23:24 -0800
> Subject: [gef-dev] About
> ImageDescriptor.createFromFile in Logic Example
> Reply-To: gef-dev@xxxxxxxxxxx
>
> Hi everyone!
> =09Now I want to add the connection gif Image to my=
> PaletteViewer.But in the logic example the source
> code is:=
>
>
ImageDescriptor.createFromFile(Circuit.class,"icons/connection16=
> .gif"),I cannot understand why the connection image
> is related=
> with the Circuit.class? It's assigned in runtime ?
> If I want to use the source code provided by Logic
> example how=
> can I write my code ?
>
ImageDescriptor.createFromFile(*.class,""icons/connection16.gif")=
> ,is it right? How can I define the first argument
> in=
> createFromFile().
> =09Lots of thanks!
> =09
> =09
>
>
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1liziwen@xxxxxxxx
>
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12003-05-31
>
>
>
>
> --__--__--
>
> _______________________________________________
> gef-dev mailing list
> gef-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/gef-dev
>
>
> End of gef-dev Digest
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com