org.gudy.azureus2.plugins.ui
Interface UIInstanceFactory

All Known Implementing Classes:
UI, UISWTInstanceImpl

public interface UIInstanceFactory


Method Summary
 void detach()
          This method will be called by the UI manager when detaching the UI to permit the action to be vetoed/any detach logic to occur.
 UIInstance getInstance(PluginInterface plugin_interface)
          Some UI instances need to understand which plugin they are associated with.
 

Method Detail

getInstance

UIInstance getInstance(PluginInterface plugin_interface)
Some UI instances need to understand which plugin they are associated with. This method gives the opportunity to customise the UIInstance returned to a plugin so that operations on it can take the appropriate actions


detach

void detach()
            throws UIException
This method will be called by the UI manager when detaching the UI to permit the action to be vetoed/any detach logic to occur. It should not be directly called by the plugin code

Throws:
UIException