misc.rr.diabetes.be.calculator.plugins
Interface PluginInterface

All Superinterfaces:
DiabetesInterface

public interface PluginInterface
extends DiabetesInterface

Everything a plugin needs to implement...

Author:
Reinhold Rumberger

Field Summary
 
Fields inherited from interface misc.rr.diabetes.DiabetesInterface
stable, UNSTABLE_WARNING
 
Method Summary
 Container pluginContainer()
           
 void pluginHide()
          Hide the plugin's Window, if appropriate.
 String pluginName()
           
 boolean pluginRemove()
          Request that the plugin prepare itself for removal.
 void pluginShow()
          Make the plugin's Window visible, if appropriate.
 

Method Detail

pluginName

String pluginName()
Returns:
The name of the plugin, as displayed.

pluginContainer

Container pluginContainer()
Returns:
The Container the plugin uses.

pluginRemove

boolean pluginRemove()
Request that the plugin prepare itself for removal.

Returns:
true if the plugin managed to clear up, false if not.

pluginShow

void pluginShow()
Make the plugin's Window visible, if appropriate.


pluginHide

void pluginHide()
Hide the plugin's Window, if appropriate.