java.lang.Object
de.grogra.pf.ui.Workbench
de.grogra.pf.ui.ProjectWorkbench
de.grogra.api.APIWorkbench
- All Implemented Interfaces:
RegistryContext
,Context
,ProjectContext
,ClipboardOwner
,EventListener
,TreeModelListener
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.pf.ui.Workbench
Workbench.Loader
-
Field Summary
Fields inherited from class de.grogra.pf.ui.ProjectWorkbench
project
Fields inherited from class de.grogra.pf.ui.Workbench
app, CLOSE, CURRENT_DIRECTORY, EXPORT_VISIBLE_LAYER, GUI_INFO, INITIAL_LAYOUT, LAST_FILES, PROJECT_DIRECTORY, SOFT_GUI_INFO, START_AS_DEMO, START_AS_TEMPLATE, TIMER
-
Constructor Summary
ConstructorsConstructorDescriptionAPIWorkbench
(Registry registry, JobManager jm, UIApplication app, Map initParams) APIWorkbench
(Registry registry, JobManager jm, UIToolkit ui, Map initParams) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addSourceFile
(Object info) static void
protected void
void
void
void
void
void
exportFromNode
(Object info) void
exportFromNode
(Object info, Node root) static void
getDataset
(Item item, Object info, Context ctx) static void
getDatasets
(Item item, Object info, Context ctx) static void
getProjectGraph
(Item item, Object info, Context ctx) void
getProjectGraph
(Object info) void
getProjectInfo
(Object info) static void
getSourceFileContent
(Item item, Object info, Context ctx) static void
getSourceFiles
(Item item, Object info, Context ctx) Determines the window of this GUI context.void
init()
void
It is done by the job manager when the workbench is startedboolean
return true if the workbench is currently selectedvoid
listFunctions
(Object info) open
(FilterSource fs, Map initParams) void
void
removeSourceFile
(Object info) void
renameSourceFile
(Object info) static void
runXLQuery
(Item item, Object info, Context ctx) boolean
static void
setSourceFileContent
(Item item, Object info, Context ctx) void
setSourceFileContent
(Object info) void
void
void
void
void
void
Methods inherited from class de.grogra.pf.ui.ProjectWorkbench
addNode, addNode, addSourceFile, addSourceFile, addSourceFile, addSourceFile, compile, compile, execute, execute, execute, export, exportFromNode, getFileNode, getFunctions, getProject, getProjectInfo, getRegistry, getToken, listFunctions, loadProjectFile, removeSourceFile, removeSourceFile, renameSourceFile, renameSourceFile, saveAs, saveAsTemplate, saveAsTemplate, setProject, setToken
Methods inherited from class de.grogra.pf.ui.Workbench
addStatusChangeListener, addToLastUsed, beginStatus, chooseFileToSave, clearGraph, clearGraph, clearProgress, clearStatusAndProgress, copy, current, current, cut, delete, delete, export, export, get, getApplication, getChartPanel, getComponent, getFile, getJobManager, getLogger, getName, getPanel, getProgress, getProperty, getState, getStatus, getToolkit, getWorkbench, ignoreIfModified, initializeWindow, initLogger, isCopyEnabled, isCutEnabled, isDeleteEnabled, isHeadless, isModified, isWorkbenchThread, log, logGUIInfo, logGUIInfo, logInfo, logInfo, lostOwnership, open, openAsDemo, openAsDemo, openRecent, openRecent, paste, readObject, readObject, refreshJEdit, refreshJEdit, refreshLastUsed, removeStatusChangeListener, runAsCurrent, save, save, save, saveAs, select, setCurrent, setFile, setIgnoreIfModified, setIndeterminateProgress, setModified, setModified, setName, setProgress, setProperty, setStatus, setStatus, setStatusClearProgress, setStatusFinished, showAboutAppDialog, showAboutPluginDialog, showConfigurationDialog, showConfigurationDialog, showViewerPanel, showViewerPanel, startLocalFileSynchronization, stopLocalFileSynchronization, undo, undo, updateName
-
Constructor Details
-
APIWorkbench
-
APIWorkbench
-
-
Method Details
-
init
public void init() -
popLogsRecords
-
getProjectGraph
-
getProjectGraph
-
compile
- Overrides:
compile
in classProjectWorkbench
-
getWindow
Description copied from interface:Context
Determines the window of this GUI context. -
getProjectInfo
- Specified by:
getProjectInfo
in classProjectWorkbench
-
export
- Specified by:
export
in classProjectWorkbench
- Throws:
Exception
-
saveAs
-
addNode
- Specified by:
addNode
in classProjectWorkbench
- Throws:
Exception
-
addSourceFile
- Specified by:
addSourceFile
in classProjectWorkbench
- Throws:
Exception
-
getSourceFiles
-
getSourceFileContent
- Throws:
Exception
-
setSourceFileContent
- Throws:
Exception
-
setSourceFileContent
- Throws:
Exception
-
renameSourceFile
- Specified by:
renameSourceFile
in classProjectWorkbench
- Throws:
Exception
-
removeSourceFile
- Specified by:
removeSourceFile
in classProjectWorkbench
- Throws:
Exception
-
getDatasets
-
getDataset
- Throws:
Exception
-
close
-
listFunctions
- Specified by:
listFunctions
in classProjectWorkbench
-
getApplicationName
- Specified by:
getApplicationName
in classProjectWorkbench
-
dispose
- Specified by:
dispose
in classProjectWorkbench
-
close
-
getMainWorkbench
- Specified by:
getMainWorkbench
in classWorkbench
-
stopLocalFileSynchronization
public void stopLocalFileSynchronization()- Specified by:
stopLocalFileSynchronization
in classWorkbench
-
startLocalFileSynchronization
public void startLocalFileSynchronization()- Specified by:
startLocalFileSynchronization
in classWorkbench
-
initialize
public void initialize()Description copied from class:Workbench
It is done by the job manager when the workbench is started- Overrides:
initialize
in classWorkbench
-
isSelected
public boolean isSelected()Description copied from class:Workbench
return true if the workbench is currently selected- Specified by:
isSelected
in classWorkbench
- Returns:
-
execute
- Specified by:
execute
in classProjectWorkbench
- Throws:
Exception
-
runXLQuery
- Throws:
Exception
-
treeNodesChanged
- Specified by:
treeNodesChanged
in interfaceTreeModelListener
-
treeNodesInserted
- Specified by:
treeNodesInserted
in interfaceTreeModelListener
-
treeNodesRemoved
- Specified by:
treeNodesRemoved
in interfaceTreeModelListener
-
treeStructureChanged
- Specified by:
treeStructureChanged
in interfaceTreeModelListener
-
open
-
open
-
exportFromNode
- Specified by:
exportFromNode
in classProjectWorkbench
- Throws:
Exception
-
exportFromNode
- Specified by:
exportFromNode
in classProjectWorkbench
- Throws:
Exception
-