org.grinvin.workspace

Class GrinvinWindowWrapper

Implemented Interfaces:
Wrapper<C>

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

Wrapper for the main GrInvIn window.

Method Summary

@Override
GrinvinWindow create()
Create all top level windows and add them to the menus of the main window.
@Override
GrinvinWindow load(Element element, SectionLoader sloader)
Load this window and all dependent windows.
String
getElementName()
Return the XML-element name by which this type of wrapper is identified within its parent.
void
setTempWindowMap(Map tempWindowMap)
@Override
void save(GrinvinWindow window, Element parent, SectionSaver ssaver)
Save this window and all dependent windows.

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

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

Method Details

GrinvinWindow create

public @Override GrinvinWindow create()
Create all top level windows and add them to the menus of the main window.

GrinvinWindow load

public @Override GrinvinWindow load(Element element,
                                    SectionLoader sloader)
            throws IOException
Load this window and all dependent windows.

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>

setTempWindowMap

public void setTempWindowMap(Map tempWindowMap)

void save

public @Override void save(GrinvinWindow window,
                           Element parent,
                           SectionSaver ssaver)
            throws IOException
Save this window and all dependent windows.