Search Mailing List Archives
[protege-discussion] Frame API synchronization
protege at ontospace.net
Mon May 5 10:15:53 PDT 2008
Yes, I am calling API from my special thread that creates instances. The problem I am having is that Protege listeners while updating UI may block somehow any firther API call from my thread. Normaly I turn them off by disabling Protege "generateEvents" while performing my calls. But if I don't do that, then sooner or later (not right away) Protege will lock up. Do you have any advise for me?
>Are you using the Protege UI and implemented a plugin that create
>individuals by calling the API? If so, then you don't need to call
>wait(), the Protege UI is listening for changes in the knowledge base
>and will refresh accordingly.
>Len Yabloko wrote:
>> I am calling frame API to create new instance and expect to see GUI updated correspondingly. But I need to wait() until Protege GUI completes refresh before issuing another change. What flag should I use? Will GUI issue notifyAll()?
>> protege-discussion mailing list
>> protege-discussion at lists.stanford.edu
>> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>protege-discussion mailing list
>protege-discussion at lists.stanford.edu
>Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
More information about the protege-discussion