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, File directory)
Load the editor window, its graph list, the graph being edited and the guides tool configuration.
String
getElementName()
@Override
void dispose(GraphEditor window)
Dispose of the editor window and the associated guides tool
@Override
void save(GraphEditor window, Element parent, File directory)
Load 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, getMajorVersion, getMinorVersion, load, loadWindowProperties, save, saveWindowProperties

Method Details

GraphEditor create

public @Override GraphEditor create()

GraphEditor load

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

getElementName

public String getElementName()
Specified by:
getElementName in interface Wrapper<C>

void dispose

public @Override void dispose(GraphEditor window)
Dispose of the editor window and the associated guides tool

void save

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