comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Calling IDL Objects from JAVA
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Calling IDL Objects from JAVA [message #65133 is a reply to message #65131] Fri, 13 February 2009 09:55 Go to previous messageGo to previous message
sdettrick@gmail.com is currently offline  sdettrick@gmail.com
Messages: 5
Registered: February 2007
Junior Member
On Feb 13, 9:21 am, David Fanning <n...@dfanning.com> wrote:
> sdettr...@gmail.com writes:
>> What about making your objects inherit IDLitComponent?  Then you could
>> use SetPropertyByIdentifier instead of SetProperty.
>
>> I do not use Java at all, but I find IDLitComponent to be one of the
>> most useful classes in IDL.
>
> Well, now, *there* is a good idea! All of these objects
> are already subclassed IDLitComponent objects, since I
> I normally use the IDL propertysheet widgets to get and
> set properties. I hadn't thought of using the
> SetPropertyByIndentifier method. Thanks!

I am happy to be of use as you have helped me a lot over the years!
Actually I thought your anonymous struct idea sounded like a good
shortcut, as I suppose you could just make a one line Set method:

pro myobj::Set, my_struct
self->SetProperty, _EXTRA=my_struct
end

Would save a heck of a lot of SetPropertyByIdentifiers.

I also like to use propertysheet and IDLitComponent, via a base class
that all of my objects inherit - even my direct graphics are wrapped
in IDLitComponent objects now. It is such a powerful technique I
always wonder why RSI/ITT didn't just finish the job themselves and
make everything pop up a property sheet on middle click? They could
have developed iTools in half the time, and the result would have the
advantage that it would be comprehensible!

All the best,
Sean

>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: What are the memory limitations of 64-bit IDL?
Next Topic: Re: What are the memory limitations of 64-bit IDL?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 01:45:21 PDT 2025

Total time taken to generate the page: 0.63846 seconds