bibliothek.gui.dock.common.behavior
Class ExternalizingCGridAreaFactory

java.lang.Object
  extended by bibliothek.gui.dock.common.behavior.ExternalizingCGridAreaFactory
All Implemented Interfaces:
SingleCDockableFactory

public class ExternalizingCGridAreaFactory
extends Object
implements SingleCDockableFactory

A factory that creates new ExternalizingCGridAreas.

Author:
Benjamin Sigg

Field Summary
static Filter<String> PATTERN
          The pattern that is used to automatically generate new ExternalizingCGridArea
 
Constructor Summary
ExternalizingCGridAreaFactory(CControl control)
          Creates a new factory
 
Method Summary
 SingleCDockable createBackup(String id)
          Creates a backup of a SingleCDockable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATTERN

public static final Filter<String> PATTERN
The pattern that is used to automatically generate new ExternalizingCGridArea

Constructor Detail

ExternalizingCGridAreaFactory

public ExternalizingCGridAreaFactory(CControl control)
Creates a new factory

Parameters:
control - the control in whose realm the new stations are used
Method Detail

createBackup

public SingleCDockable createBackup(String id)
Description copied from interface: SingleCDockableFactory
Creates a backup of a SingleCDockable.

Specified by:
createBackup in interface SingleCDockableFactory
Parameters:
id - the unique id that the result must have
Returns:
the backup dockable or null if no dockable can be created