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] Getting plugin code to run at Protege start-up time

Richard Dunlap rdunlap at
Tue Jan 23 06:17:48 PST 2007

If the delay occurs only the first time you display the widget, is it a 
correct inference that you're loading static data through a method that 
either is static or could be refactored into a static method?  If so, 
then you could try writing a project plugin to call the static method 
during project load.

<chuckle> If my inference is wrong, then I'll go sit in a corner and see 
what the Protege team comes up with. :-)

-- Richard Dunlap

Daniel Holbert wrote:
> Hi all,
> I'm developing a slot widget plugin that requires reading in some data 
> files, which takes 10-15 seconds.   Right now, I've put the code for 
> this in my widget's "initialize()" method, but I don't like this very 
> much because it means the GUI hangs for 10-15 seconds the first time 
> one of my widgets is displayed.
> Is it possible for me to run this code when Protege starts up, instead 
> of in "initialize()"?  And if so, what's the best way to do this? 
> (ideally staying within the plugin framework -- I'd rather not have to 
> edit the Protege sources)
> Thanks!
> ~Daniel
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at
> Instructions for unsubscribing: 

More information about the protege-discussion mailing list