Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Antwort: Re: Updating slot widgets

Tania Tudorache tudorache at
Mon Oct 15 17:34:20 PDT 2007

Yes, I forgot about this. Before calling the postFormEvent, you need to 
call this:



FormWidget formWidget = (FormWidget) 


daniel.goergen at wrote:
> > When you say that the buttons of the slot widget should be changed when
> > doing something in the main window, you mean the buttons of all slot
> > widgets attached to any class in the ontology, or only the buttons of
> > the slot widget of the current class?
> Only the buttons of my slot widget of the currently viewed instances.
> If you change the current class in the main window the buttons on the 
> widget get updated automatically anyway.
> I tried your suggestion. With this method I can easily call
> postFormChangeEvent(cls) only for the classes that use my slot widget:
> I gave my slotwidget an ItemListener and added this Listener to the 
> checkbox in the main windows menu.
> When this listener gets active I call postFormChangeEvent(getCls()).
> The problem is that the ui doesnt get updated like when I am calling 
> postFormChangeEvent(cls)
> on every single cls of the project. It still shows the old buttons in 
> the currently viewed instances.
> If I call postFormChangeEvent(cls) on every single class the buttons 
> get updated immediately
> the buttons in the forms view stay all the same with both methods
> *********************************************************************************
> Woermannkehre 1, 12359 Berlin, Germany
> Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
> Vertreten durch ihre Komplementaerin:
> BIOTRONIK Mess- und Therapiegeraete GmbH
> Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 2918
> Geschaeftsfuehrer: Dr. Max Schaldach, Christoph Boehmer, Dr. Werner 
> Braun, Dr. Lothar Krings
> *********************************************************************************
> This email and the information it contains including attachments are 
> confidential and meant
> only for use by the intended recipient(s); disclosure or copying is 
> strictly prohibited. If you are
> not addressed, but in the possession of this email, please notify the 
> sender immediately.
> ------------------------------------------------------------------------
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at
> Instructions for unsubscribing: 

More information about the protege-discussion mailing list