[gme-users] Registering Custom Classes
f35594 at Danfoss.com
Tue Oct 24 23:41:51 CDT 2006
Does the below answer your questions?
>From the source of SFBONComponent.java:
import javax.swing.JOptionPane; // means that you import the functionality implemented in JOptionPane java class
JOptionPane.showMessageDialog(null,"Please run with a model in Focus"); // and use it here.
Or could you be a little more specific about the functionality of this extra class? and what you intend to do?
From: gme-users-bounces at list.isis.vanderbilt.edu on behalf of Adi Mallikarjuna Reddy V
Sent: Tue 10/24/2006 4:28 PM
To: A list for GME users to share thoughts and discuss bugs and fixes.
Subject: Re: [gme-users] Registering Custom Classes
Thank you for reply. I have looked into that example earlier, but I didn't
get anything from it. My requirement is to write one more class extra apart
from the class which extended from BONComponent. I found addCustom*() APIs
in JBuildFactory class. I didn't how to use them to add the class. First of
all is it compulsory to register this extra class I was trying to add?
On 10/24/06, Berthing Jesper <f35594 at danfoss.com> wrote:
> Significance, it depends on what you want to do and how you want to use
> it? I used it in a similarly way like the example below to transverse the
> models objects.
> Look into the folder below on your PC there is a good example that shows
> the use of this
> C:\Program Files\GME\Paradigms\SF\JavaBONSFExample\sfInterpreter
> *From:* gme-users-bounces at list.isis.vanderbilt.edu [mailto:
> gme-users-bounces at list.isis.vanderbilt.edu] *On Behalf Of *Adi
> Mallikarjuna Reddy V
> *Sent:* 24. oktober 2006 14:04
> *To:* A list for GME users to share thoughts and discuss bugs and fixes.
> *Subject:* [gme-users] Registering Custom Classes
> Hi all,
> I would like to add new class to my interpreter source that is written in
> Java. I found one method
> public void registerCustomClasses()
> I would like to know what is the significance of this in the Interpreter.
> How to add/register new class into the interpreter with this method?
> Example will be helpful.
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 4075 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20061024/680167e3/attachment.bin
More information about the gme-users