bibliothek.gui.dock.station.toolbar
Class ToolbarGroupDockStationMerger

java.lang.Object
  extended by bibliothek.gui.dock.station.toolbar.AbstractToolbarMerger
      extended by bibliothek.gui.dock.station.toolbar.ToolbarGroupDockStationMerger
All Implemented Interfaces:
bibliothek.gui.dock.control.relocator.Merger

public class ToolbarGroupDockStationMerger
extends AbstractToolbarMerger

A Merger for merging two ToolbarGroupDockStations.

Author:
Herve Guillaume, Benjamin Sigg

Constructor Summary
ToolbarGroupDockStationMerger()
           
 
Method Summary
 void merge(bibliothek.gui.dock.station.StationDropOperation operation, bibliothek.gui.DockStation parent, bibliothek.gui.DockStation child)
           
protected  boolean validType(AbstractToolbarDockStation station)
          Checks whether the type of station is valid for this merger.
 
Methods inherited from class bibliothek.gui.dock.station.toolbar.AbstractToolbarMerger
canMerge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolbarGroupDockStationMerger

public ToolbarGroupDockStationMerger()
Method Detail

validType

protected boolean validType(AbstractToolbarDockStation station)
Description copied from class: AbstractToolbarMerger
Checks whether the type of station is valid for this merger.

Specified by:
validType in class AbstractToolbarMerger
Parameters:
station - can either be the parent of the child that is merged
Returns:
true if the type is accepted

merge

public void merge(bibliothek.gui.dock.station.StationDropOperation operation,
                  bibliothek.gui.DockStation parent,
                  bibliothek.gui.DockStation child)