de.jreality.plugin.scene
Class ShrinkPanelPluginCollector

java.lang.Object
  extended by ShrinkPanelPlugin
      extended by de.jreality.plugin.basic.ViewShrinkPanelPlugin
          extended by de.jreality.plugin.scene.SceneShrinkPanel
              extended by de.jreality.plugin.scene.ShrinkPanelPluginCollector

public class ShrinkPanelPluginCollector
extends SceneShrinkPanel

Collect ShrinkPanelPlugins into one SceneShrinkPanel. The shrink panels of the collection are put together in one shrink panel and properties saving is delegated to the shrink panels in this collection.

You need to call setShrinkPanelPlugins(ShrinkPanelPlugin...) before you use this plugin.

Author:
G. Paul Peters, 16.06.2010

Constructor Summary
ShrinkPanelPluginCollector()
           
 
Method Summary
 void install(Controller c)
           
 void mainUIChanged(String uiClass)
           
 void restoreStates(Controller c)
           
 void setShrinkPanelPlugins(ShrinkPanelPlugin... plugins)
          Register the collection of plugins in this collection.
 void storeStates(Controller c)
           
 void uninstall(Controller c)
           
 
Methods inherited from class de.jreality.plugin.scene.SceneShrinkPanel
setTriggerComponent
 
Methods inherited from class de.jreality.plugin.basic.ViewShrinkPanelPlugin
getPerspectivePluginClass
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShrinkPanelPluginCollector

public ShrinkPanelPluginCollector()
Method Detail

setShrinkPanelPlugins

public void setShrinkPanelPlugins(ShrinkPanelPlugin... plugins)
Register the collection of plugins in this collection. Needs to be called before the collection plugin is used.

Parameters:
plugins -

install

public void install(Controller c)
             throws Exception
Overrides:
install in class SceneShrinkPanel
Throws:
Exception

uninstall

public void uninstall(Controller c)
               throws Exception
Overrides:
uninstall in class SceneShrinkPanel
Throws:
Exception

mainUIChanged

public void mainUIChanged(String uiClass)

restoreStates

public void restoreStates(Controller c)
                   throws Exception
Throws:
Exception

storeStates

public void storeStates(Controller c)
                 throws Exception
Throws:
Exception