bibliothek.gui.dock.station.support
Class PerspectivePlaceholderListItemConverter<D extends PlaceholderListItem<PerspectiveDockable>>

java.lang.Object
  extended by bibliothek.gui.dock.station.support.PlaceholderListItemAdapter<PerspectiveDockable,D>
      extended by bibliothek.gui.dock.station.support.PerspectivePlaceholderListItemConverter<D>
Type Parameters:
D - the kind of item this converter is used for
All Implemented Interfaces:
PlaceholderListItemConverter<PerspectiveDockable,D>

public class PerspectivePlaceholderListItemConverter<D extends PlaceholderListItem<PerspectiveDockable>>
extends PlaceholderListItemAdapter<PerspectiveDockable,D>

Author:
Benjamin Sigg

Constructor Summary
PerspectivePlaceholderListItemConverter()
           
 
Method Summary
 ConvertedPlaceholderListItem convert(int index, D dockable)
          Given some non-null dockable, this method converts the element into some data that can be stored persistently.
 
Methods inherited from class bibliothek.gui.dock.station.support.PlaceholderListItemAdapter
added, convert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerspectivePlaceholderListItemConverter

public PerspectivePlaceholderListItemConverter()
Method Detail

convert

public ConvertedPlaceholderListItem convert(int index,
                                            D dockable)
Description copied from interface: PlaceholderListItemConverter
Given some non-null dockable, this method converts the element into some data that can be stored persistently.

Specified by:
convert in interface PlaceholderListItemConverter<PerspectiveDockable,D extends PlaceholderListItem<PerspectiveDockable>>
Overrides:
convert in class PlaceholderListItemAdapter<PerspectiveDockable,D extends PlaceholderListItem<PerspectiveDockable>>
Parameters:
index - the index of dockable in the dockables-list
dockable - the element to store
Returns:
the converted item, can be null to indicate that this element should not be stored