Settable properties for XSDSimpleTypeDefinition [message #40874] |
Fri, 09 April 2004 10:06  |
Eclipse User |
|
|
|
Ed and Frank,
I noticed in the XSDSimpleTypeDefinitionItemProvider.getPropertyDescriptors
method that the property descriptors for basetype and itemtype are not
settable. Should they be? If I create a new XSDSimpleTypeDefinition
instance how can I specify what datatype it restricts? Or for a
XSDSimpleTypeDefinition instance of variety type LIST how do I specify what
the item types are?
Thanks in advance,
Dennis Fuglsang
|
|
|
Re: Settable properties for XSDSimpleTypeDefinition [message #41000 is a reply to message #40874] |
Mon, 12 April 2004 07:01  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Dennis,
It's a very tricky to get these all right. It only makes sense to set the item
type if it's a list, it only makes sense to set the base type if it not a list
or union, and there's no property for setting union members. In the sample
editor, all these things can be done in the source view, so I haven't worried
about it...
Dennis Fuglsang wrote:
> Ed and Frank,
>
> I noticed in the XSDSimpleTypeDefinitionItemProvider.getPropertyDescriptors
> method that the property descriptors for basetype and itemtype are not
> settable. Should they be? If I create a new XSDSimpleTypeDefinition
> instance how can I specify what datatype it restricts? Or for a
> XSDSimpleTypeDefinition instance of variety type LIST how do I specify what
> the item types are?
>
> Thanks in advance,
>
> Dennis Fuglsang
|
|
|
Re: Settable properties for XSDSimpleTypeDefinition [message #585368 is a reply to message #40874] |
Mon, 12 April 2004 07:01  |
Eclipse User |
|
|
|
Dennis,
It's a very tricky to get these all right. It only makes sense to set the item
type if it's a list, it only makes sense to set the base type if it not a list
or union, and there's no property for setting union members. In the sample
editor, all these things can be done in the source view, so I haven't worried
about it...
Dennis Fuglsang wrote:
> Ed and Frank,
>
> I noticed in the XSDSimpleTypeDefinitionItemProvider.getPropertyDescriptors
> method that the property descriptors for basetype and itemtype are not
> settable. Should they be? If I create a new XSDSimpleTypeDefinition
> instance how can I specify what datatype it restricts? Or for a
> XSDSimpleTypeDefinition instance of variety type LIST how do I specify what
> the item types are?
>
> Thanks in advance,
>
> Dennis Fuglsang
|
|
|
Powered by
FUDForum. Page generated in 0.03418 seconds