bibliothek.gui.dock.common.intern.ui
Class CSingleParentRemover

java.lang.Object
  extended by bibliothek.gui.dock.control.SingleParentRemover
      extended by bibliothek.gui.dock.common.intern.ui.CSingleParentRemover

public class CSingleParentRemover
extends SingleParentRemover

A SingleParentRemover not removing any CStations.

Author:
Benjamin Sigg

Constructor Summary
CSingleParentRemover(CControl control)
          Creates a new remover
 
Method Summary
protected  boolean shouldTest(DockStation station)
          Tells whether station should be automatically removed or just be ignored.
 
Methods inherited from class bibliothek.gui.dock.control.SingleParentRemover
install, test, testAll, uninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSingleParentRemover

public CSingleParentRemover(CControl control)
Creates a new remover

Parameters:
control - the control for which this remover will be used
Method Detail

shouldTest

protected boolean shouldTest(DockStation station)
Description copied from class: SingleParentRemover
Tells whether station should be automatically removed or just be ignored.

Overrides:
shouldTest in class SingleParentRemover
Parameters:
station - a station to test
Returns:
true if the station may be removed by this remover, false otherwise.