Skip to main content



      Home
Home » Archived » XML Schema Definition (XSD) » XSDAnnotation notifications
XSDAnnotation notifications [message #44073] Mon, 10 May 2004 16:49 Go to next message
Eclipse UserFriend
All,
We are storing some user properties in XSDAnnotations via the appInfo
Element contained in the Annotation. We store them as name value pairs in
the appInfo by adding DOM Attr entites to the appInfo. This works perfectly
with one exception. We don't seem to get any notifications when we change
one of the values. What do we need to do to have notifications get
generated when we change one of these values?

thanks,

Lance.
Re: XSDAnnotation notifications [message #44106 is a reply to message #44073] Mon, 10 May 2004 17:28 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Lance,

It's not a model change so there is no feature for which to notify. You'll have
to listen to the DOM directly; XSDSchemaImpl.getEventListener is an example of
how to do this.


Lance Phillips wrote:

> All,
> We are storing some user properties in XSDAnnotations via the appInfo
> Element contained in the Annotation. We store them as name value pairs in
> the appInfo by adding DOM Attr entites to the appInfo. This works perfectly
> with one exception. We don't seem to get any notifications when we change
> one of the values. What do we need to do to have notifications get
> generated when we change one of these values?
>
> thanks,
>
> Lance.
Re: XSDAnnotation notifications [message #586916 is a reply to message #44073] Mon, 10 May 2004 17:28 Go to previous message
Eclipse UserFriend
Lance,

It's not a model change so there is no feature for which to notify. You'll have
to listen to the DOM directly; XSDSchemaImpl.getEventListener is an example of
how to do this.


Lance Phillips wrote:

> All,
> We are storing some user properties in XSDAnnotations via the appInfo
> Element contained in the Annotation. We store them as name value pairs in
> the appInfo by adding DOM Attr entites to the appInfo. This works perfectly
> with one exception. We don't seem to get any notifications when we change
> one of the values. What do we need to do to have notifications get
> generated when we change one of these values?
>
> thanks,
>
> Lance.
Previous Topic:XSDAnnotation notifications
Next Topic:Need more documentation
Goto Forum:
  


Current Time: Tue Jul 08 00:35:28 EDT 2025

Powered by FUDForum. Page generated in 0.45862 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top