org.openbp.jaspira.gui.plugin
Interface PluginHolder

All Known Implementing Classes:
PluginDialog, PluginFrame, PluginPanel

public interface PluginHolder

Container that holds a single visible plugin.

Author:
Stephan Moritz

Method Summary
 void showHolder(boolean changePage)
          Requests the holder to become visible.
 void unlinkHolder()
          Unlinks the holder from its container.
 void updateHolder(boolean fullRebuild)
          Rebuilds the title, tool and menu bars of the holder.
 

Method Detail

updateHolder

void updateHolder(boolean fullRebuild)
Rebuilds the title, tool and menu bars of the holder.

Parameters:
fullRebuild - true Causes a full environment rebuild including menu and toolbar rebuild
false Updates the holder's title only and checks for toolbar size change

showHolder

void showHolder(boolean changePage)
Requests the holder to become visible.

Parameters:
changePage - true Switches the page if the holder is not a part of the current page.
false Makes the holder the active holder on its page, but does not switch to the new page.

unlinkHolder

void unlinkHolder()
Unlinks the holder from its container. If the holder is a top-level plugin holder (such as a dialog or a frame), this will remove the holder itself.



Copyright © 2011. All Rights Reserved.