y.module.io
Class TGFInput
java.lang.Object
|
+--y.module.YModule
|
+--y.module.io.IOHandlerModule
|
+--y.module.io.TGFInput
- public class TGFInput
- extends IOHandlerModule
Imports a diagram from a TGF file.
This module provides an option dialog that offers
the possibility to modifiy the settings interactively.
configurable options refer to the handling of labels.
Fields inherited from class y.module.io.IOHandlerModule |
INPUT_MODE, OPTION_CLIP_GRAPH, OPTION_CLIP_TYPE, OPTION_CLIP_VIEW, OPTION_CUSTOM_HEIGHT, OPTION_CUSTOM_WIDTH, OPTION_GENERATE_HTML_TABLE, OPTION_MARGIN, OPTION_SCALING_FACTOR, OPTION_SIZE_TYPE, OPTION_SIZE_USE_CUSTOM_HEIGHT, OPTION_SIZE_USE_CUSTOM_WIDTH, OPTION_SIZE_USE_ORIGINAL, OPTION_TILE_COLUMN_COUNT, OPTION_TILE_ROW_COUNT, OPTION_TILING_ACTIVE, OUTPUT_MODE, TAB_TILING, TAB_VIEWPORT, vpc |
Methods inherited from class y.module.YModule |
dispose, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleName, getOptionHandler, getTimer, getView, isAbortable, run, setExitStatus, setGraph2D, setModuleName, setOptionHandler, start, startAsThread |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TGFInput
public TGFInput()
createOptionHandler
protected OptionHandler createOptionHandler()
- Description copied from class:
YModule
- Creates an option handler for this class.
Module writers should override this method to provide an appropriate
option handler.
- Overrides:
createOptionHandler
in class YModule
- Returns:
- The option handler for this module,
null
by default.
init
protected void init()
- Description copied from class:
YModule
- Initialisation code performed before calling
YModule.mainrun()
.
- Overrides:
init
in class YModule
createIOHandler
protected IOHandler createIOHandler()
- Returns an instance of
TGFIOHandler
.
- Specified by:
createIOHandler
in class IOHandlerModule