org.grinvin.workspace.compat

Class GrinvinWindowWrapper_1_0

Implemented Interfaces:
Wrapper<C>

public class GrinvinWindowWrapper_1_0
extends DefaultWindowWrapper<W,extends,Window>

Constructor Summary

GrinvinWindowWrapper_1_0(Map windowMap)

Method Summary

@Override
GrinvinWindow load(Element element, SectionLoader sloader)
GrinvinWindow
create()
Create the subcomponent(s) managed by this wrapper.
String
getElementName()
Return the XML-element name by which this type of wrapper is identified within its parent.
void
save(GrinvinWindow component, Element parent, SectionSaver ssaver)

Methods inherited from class org.grinvin.workspace.DefaultWindowWrapper<W,extends,Window>

baseElement, create, dispose, load, loadWindowProperties, save, saveWindowProperties

Constructor Details

GrinvinWindowWrapper_1_0

public GrinvinWindowWrapper_1_0(Map windowMap)

Method Details

GrinvinWindow load

public @Override GrinvinWindow load(Element element,
                                    SectionLoader sloader)
            throws IOException

create

public GrinvinWindow create()
Create the subcomponent(s) managed by this wrapper. This is typically called when the system is started with no persisted workspace available.
Specified by:
create in interface Wrapper<C>
Overrides:
create in interface DefaultWindowWrapper<W,extends,Window>
Returns:
the newly created subcomponent

getElementName

public String getElementName()
Return the XML-element name by which this type of wrapper is identified within its parent.
Specified by:
getElementName in interface Wrapper<C>

save

public void save(GrinvinWindow component,
                 Element parent,
                 SectionSaver ssaver)
            throws IOException