public class IIIFExport extends AbstractExportTool
| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap<java.lang.String,java.lang.String> |
options |
protected boolean |
prettyPrint |
protected IIIFBuilder |
selectedBuilder |
| Constructor and Description |
|---|
IIIFExport() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Wandora wandora,
Options options,
java.lang.String prefix)
If the tool is configurable, shows an user interface to configure the tool.
|
void |
execute(Wandora wandora,
Context context)
Runs the tool.
|
java.util.ArrayList<IIIFBuilder> |
getBuilders() |
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
WandoraToolType |
getType()
Tool type is used to categorize tools.
|
void |
initialize(Wandora wandora,
Options options,
java.lang.String prefix)
Initializes a tool with options saved in the options.
|
boolean |
isConfigurable()
Whether this tool is configurable.
|
IIIFBuilder |
resolveBuilder(java.lang.String name) |
void |
setBuilder(IIIFBuilder builder) |
void |
setPrettyPrint(boolean p) |
void |
writeOptions(Wandora wandora,
Options options,
java.lang.String prefix)
If the tool is configurable, saves all current tool options.
|
getIcon, makeTopicMapWith, makeTopicMapWithaddUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, hlog, interruptAllThreads, interruptThreads, interruptThreads, isRunning, isRunning, lockLog, log, log, log, log, requiresRefresh, run, runInOwnThread, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, getContext, getToolMenuItem, hlog, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLoggerforceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setStateprotected java.util.HashMap<java.lang.String,java.lang.String> options
protected IIIFBuilder selectedBuilder
protected boolean prettyPrint
public WandoraToolType getType()
AbstractWandoraToolTool type is used to categorize tools. Tool type has no real effect today, it is merely an informative property of a tool.
getType in interface WandoraToolgetType in class AbstractExportToolpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractWandoraToolpublic java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractWandoraToolpublic java.util.ArrayList<IIIFBuilder> getBuilders()
public IIIFBuilder resolveBuilder(java.lang.String name)
public void initialize(Wandora wandora, Options options, java.lang.String prefix) throws TopicMapException
AbstractWandoraToolinitialize in interface WandoraToolinitialize in class AbstractWandoraToolTopicMapExceptionpublic void writeOptions(Wandora wandora, Options options, java.lang.String prefix)
AbstractWandoraToolwriteOptions in interface WandoraToolwriteOptions in class AbstractWandoraToolpublic void configure(Wandora wandora, Options options, java.lang.String prefix) throws TopicMapException
AbstractWandoraToolconfigure in interface WandoraToolconfigure in class AbstractWandoraToolTopicMapExceptionpublic void setBuilder(IIIFBuilder builder)
public void setPrettyPrint(boolean p)
public boolean isConfigurable()
AbstractWandoraToolisConfigurable in interface WandoraToolisConfigurable in class AbstractWandoraToolpublic void execute(Wandora wandora, Context context) throws TopicMapException
WandoraToolTopicMapExceptionCopyright 2004-2015 Wandora Team