GUI Loaded Callback?

This topic has been viewed 8417 times and has 1 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
Staples
Posts: 1
Joined: Fri Aug 21, 2015 10:00 pm

GUI Loaded Callback?

Post by Staples »

Hey there,

I'm writing a plugin that requires knowing when the application has completed loading.

The goal is to add a menu item to the context menu of the MultipleLevelPlanPanel. I've been successful doing so except for when I try to do it on plugin-creation, since the GUI hasn't been loaded yet.

Is there a application-loaded plugin callback or something similar that I can use to trigger my menu change?

Thanks for any and all help.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: GUI Loaded Callback?

Post by Puybaret »

Sorry, there isn't no callback that will tell you when the application is fully ready. Maybe try to program your feature in a call to EventQueue.invokeLater.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest