D
- the type that represents a dockableP
- the type that is actually stored in the gridpublic interface PlaceholderToolbarGridConverter<D,P extends bibliothek.gui.dock.station.support.PlaceholderListItem<D>>
PlaceholderToolbarGrid
when reading a
PlaceholderMap
.Modifier and Type | Method and Description |
---|---|
void |
added(P item)
Called after the item
item has been added to the grid. |
P |
convert(D dockable,
bibliothek.gui.dock.station.support.ConvertedPlaceholderListItem item)
Converts the
Dockable dockable into an item that can
be shown in the view. |
P convert(D dockable, bibliothek.gui.dock.station.support.ConvertedPlaceholderListItem item)
Dockable
dockable
into an item that can
be shown in the view. This method is also responsible for actually adding
the item to the view.dockable
- the dockable to convertitem
- the item that is converted, may contain additional informationvoid added(P item)
item
has been added to the grid.item
- the item that was added