Package com.biglybt.pif.ui
Interface UIInstanceFactory
-
- All Known Implementing Classes:
UI
,UISWTInstanceImpl
public interface UIInstanceFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.void
dispose()
This method will be called by the UI manager after the UIInstance is detached.UIInstance
getInstance(PluginInterface plugin_interface)
Some UI instances need to understand which plugin they are associated with.java.lang.String
getUIType()
-
-
-
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
-
dispose
void dispose()
This method will be called by the UI manager after the UIInstance is detached.
-
getUIType
java.lang.String getUIType()
-
-