org.grinvin.workspace

Class EditorWindowWrapper

Implemented Interfaces:
Wrapper<C>

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

Wrapper for the EditorWindow

Method Summary

@Override
GraphEditor create()
@Override
GraphEditor load(Element element, SectionLoader sloader)
Load the editor window, its graph list, the graph being edited and the guides tool configuration.
String
getElementName()
Return the XML-element name by which this type of wrapper is identified within its parent.
@Override
void save(GraphEditor window, Element parent, SectionSaver ssaver)
Save the editor window, its graph list, the graph being edited and the guides tool configuration.

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

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

Method Details

GraphEditor create

public @Override GraphEditor create()

GraphEditor load

public @Override GraphEditor load(Element element,
                                  SectionLoader sloader)
            throws IOException
Load the editor window, its graph list, the graph being edited and the guides tool configuration.

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>

void save

public @Override void save(GraphEditor window,
                           Element parent,
                           SectionSaver ssaver)
            throws IOException
Save the editor window, its graph list, the graph being edited and the guides tool configuration.