Skip to main content

command extension

1 reply [Last post]
fz
Offline
Joined: 2003-06-13
Points: 0

Hello,

I am considering about a custom command which just sends a text message to Xlet, because I'd like to notify Xlet of some application specific information without changing Show state and using java_commands.

As a starting point, I added some classes into original source tree referring existing commands, which handles new command such as "notify_message ...". It worked fine, but I had to add a method to Director for passing the message to Xlet.

Does anyone know how to do this in the usual extension manner, or a better way?

Regards,
Takeshi

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
fz
Offline
Joined: 2003-06-13
Points: 0

Hello,

I could implement the command extension just like as samples in GrinBunny. It was easier than I did before, most sources I wrote were able to be reused.

Regards,
Takeshi