[javasim-general] Adding a custom library and make it accessible via GUI Editor
Hung-ying Tyan
tyanh@fla.fujitsu.com
Thu, 9 May 2002 19:42:51 -0700
The class hierarchy is cached in GUI (saved in "classes.dat") for
performance reason. All you need to do is "File" -> "Refresh Library"
to refresh the file. I am not sure if you can see the change right away
but restarting the GUI will definitely do it.
Hung-ying Tyan
Member of Research Staff
IP Networking Research
Fujitsu Labs. of America, Inc.
595 Lawrence Expressway
Sunnyvale, CA 94085
Tel: (408) 530-4622 Fax: (408) 530-4515
> -----Original Message-----
> From: javasim-announce-admin@cs.uiuc.edu [mailto:javasim-announce-
> admin@cs.uiuc.edu] On Behalf Of REDIMERIO, Joseph
> Sent: Thursday, May 09, 2002 6:32 PM
> To: JavaSim (E-mail)
> Subject: [javasim-general] Adding a custom library and make it
accessible
> via GUI Editor
>
>
> Hi,
>
> I've created C:\Tools\JavaSim directory. Underneath, I created
> "javasim" and "javasimg" subdirectories, where I installed the
> actual javasim package, and the gui editor separately.
>
> Underneath C:\Tools\JavaSim\javasim, after installation, I found
> some directories. In particular, there is classes\drcl, whose
underlying
> subdirectory structure seem to correspond to the class heirarchy in
the
> GUI
> Editor
> when I try to Add a new item to the diagram.
>
> Question : I am trying to extend drcl.comp.Component to create a new
> Application
> class which models the application running on one of the hosts
(instead of
> FTP in the examples).
> I hope to make this part of drcl.custom.* branch . So I created
> C:\Tools\JavaSim\javasim\classes\drcl\custom
> directory to dump all the new custom classes in. I was hoping that the
GUI
> Editor would
> pick up this new subdirectory and the classes in there ... but it
seems
> to
> retain its original
> class heirarchy.
>
>
> Regards,
> Joseph.
>
> _______________________________________________
> javasim-announce mailing list
> javasim-announce@cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/javasim-announce