Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » XSDAnnotation notifications
XSDAnnotation notifications [message #44073] Mon, 10 May 2004 20:49 Go to next message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
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 21: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 21:28 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XSDAnnotation notifications
Next Topic:Need more documentation
Goto Forum:
  


Current Time: Thu Apr 18 05:44:52 GMT 2024

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

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

Back to the top