Does the ve support custom data type? [message #128008] |
Sat, 08 July 2006 10:18  |
Eclipse User |
|
|
|
Originally posted by: xubin.wei.ellingtonpcb.com
Hi Rich:
Does the ve support custom data type?
background:
when i add a control to ve, but the control has a custom data type(not
primitive types).
eg:
MyControl contrl = new MyControl();
MyDataType mdt = MyDataType();
mdt.setName("ABC");
contrl.setMyDataType(mdt);
How to do the ve can generate the code like that?
Is there has any example?
Thanks a lot!
gdufo
|
|
|
Re: Does the ve support custom data type? [message #128187 is a reply to message #128008] |
Mon, 10 July 2006 10:31  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
The property sheet should allow you to do that. There should be
myDataType property on your MyControl. The propertysheet should have a
"..." button on it for the myDataType property. This will allow you to
create a MyDataType instance. Once that is done, the property sheet
should allow you to now set the name property.
gdufo wrote:
> Hi Rich:
> Does the ve support custom data type?
>
> background:
> when i add a control to ve, but the control has a custom data type(not
> primitive types).
> eg:
>
> MyControl contrl = new MyControl();
> MyDataType mdt = MyDataType();
> mdt.setName("ABC");
> contrl.setMyDataType(mdt);
> How to do the ve can generate the code like that?
> Is there has any example?
>
> Thanks a lot!
>
> gdufo
>
>
>
--
Thanks,
Rich Kulp
|
|
|
Re: Does the ve support custom data type? [message #613496 is a reply to message #128008] |
Mon, 10 July 2006 10:31  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
The property sheet should allow you to do that. There should be
myDataType property on your MyControl. The propertysheet should have a
"..." button on it for the myDataType property. This will allow you to
create a MyDataType instance. Once that is done, the property sheet
should allow you to now set the name property.
gdufo wrote:
> Hi Rich:
> Does the ve support custom data type?
>
> background:
> when i add a control to ve, but the control has a custom data type(not
> primitive types).
> eg:
>
> MyControl contrl = new MyControl();
> MyDataType mdt = MyDataType();
> mdt.setName("ABC");
> contrl.setMyDataType(mdt);
> How to do the ve can generate the code like that?
> Is there has any example?
>
> Thanks a lot!
>
> gdufo
>
>
>
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.09072 seconds