|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DockModelDecoder
This is an interface for a class that creates a DockModel from a source.
It can also decode a DockingPathModel.
Information on using dock model decoders is in How to Use Dock Model Encoders and Decoders in The Sanaware Developer Guide.
| Method Summary | |
|---|---|
boolean |
canDecodeSource(java.lang.String sourceName)
Checks whether this decoder can decode the given data into a dock model. |
DockModel |
decode(java.lang.String sourceName,
java.util.Map dockablesMap,
java.util.Map ownersMap,
java.util.Map visualizersMap)
Creates a new dock model from the data found in the given data source, and adds the given dockables to the model. |
| Method Detail |
|---|
boolean canDecodeSource(java.lang.String sourceName)
sourceName - The name of a data source; typically a file name or a URL.
DockModel decode(java.lang.String sourceName,
java.util.Map dockablesMap,
java.util.Map ownersMap,
java.util.Map visualizersMap)
throws java.io.IOException
DockingManager.setDockModel(DockModel)).
sourceName - The name of a data source; typically a file name or a URL.dockablesMap - A map with the dockables for the model.
Dockable).ownersMap - A map with the owner windows.
visualizersMap - A map with the visualizers.
java.io.IOException - If an error occurs while retrieving the source, reading the source or decoding the data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||