java.lang.Object
de.grogra.pf.ui.Workbench
de.grogra.pf.ui.ProjectWorkbench
de.grogra.cli.CLIWorkbench
- 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
ConstructorsConstructorDescriptionCLIWorkbench
(Registry registry, JobManager jm, UIApplication app, Map initParams) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addSourceFile
(Object info) protected void
void
compile()
The cli workbenches break the asynchronous compilation by waiting until its over before computing againvoid
void
void
void
exportFromNode
(Object info) void
exportFromNode
(Object info, Node root) getFileContent
(Object info) info name of the file -void
getProjectInfo
(Object info) Determines the window of this GUI context.void
init()
void
It is done by the job manager when the workbench is startedboolean
boolean
return true if the workbench is currently selectedvoid
listFunctions
(Object info) static void
open
(FilterSource fs, Map initParams) void
void
removeSourceFile
(Object info) void
renameSourceFile
(Object info) boolean
void
void
toString()
void
void
void
void
Methods inherited from class de.grogra.pf.ui.ProjectWorkbench
addNode, addNode, addSourceFile, addSourceFile, addSourceFile, addSourceFile, close, 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, isRedoEnabled, isUndoEnabled, isWorkbenchThread, log, logGUIInfo, logGUIInfo, logInfo, logInfo, lostOwnership, open, openAsDemo, openAsDemo, openRecent, openRecent, paste, readObject, readObject, redo, redo, 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
-
CLIWorkbench
-
-
Method Details
-
init
public void init() -
toString
-
open
-
open
-
saveAs
-
listFunctions
- Specified by:
listFunctions
in classProjectWorkbench
-
getFileContent
info name of the file - -
getProjectInfo
- Specified by:
getProjectInfo
in classProjectWorkbench
-
getApplicationName
- Specified by:
getApplicationName
in classProjectWorkbench
-
getWindow
Description copied from interface:Context
Determines the window of this GUI context. -
getMainWorkbench
- Specified by:
getMainWorkbench
in classWorkbench
-
stopLocalFileSynchronization
public void stopLocalFileSynchronization()- Specified by:
stopLocalFileSynchronization
in classWorkbench
-
startLocalFileSynchronization
public void startLocalFileSynchronization()- Specified by:
startLocalFileSynchronization
in classWorkbench
-
dispose
- Specified by:
dispose
in classProjectWorkbench
-
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:
-
close
-
treeNodesInserted
- Specified by:
treeNodesInserted
in interfaceTreeModelListener
-
treeNodesRemoved
- Specified by:
treeNodesRemoved
in interfaceTreeModelListener
-
treeNodesChanged
- Specified by:
treeNodesChanged
in interfaceTreeModelListener
-
treeStructureChanged
- Specified by:
treeStructureChanged
in interfaceTreeModelListener
-
addNode
- Specified by:
addNode
in classProjectWorkbench
-
addSourceFile
- Specified by:
addSourceFile
in classProjectWorkbench
-
export
- Specified by:
export
in classProjectWorkbench
-
renameSourceFile
- Specified by:
renameSourceFile
in classProjectWorkbench
-
removeSourceFile
- Specified by:
removeSourceFile
in classProjectWorkbench
-
logTest
-
execute
- Specified by:
execute
in classProjectWorkbench
-
compile
public void compile()The cli workbenches break the asynchronous compilation by waiting until its over before computing again- Overrides:
compile
in classProjectWorkbench
-
isCompiling
public boolean isCompiling() -
getCompilationLock
-
exportFromNode
- Specified by:
exportFromNode
in classProjectWorkbench
- Throws:
Exception
-
exportFromNode
- Specified by:
exportFromNode
in classProjectWorkbench
- Throws:
Exception
-