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
projectFields 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 TypeMethodDescriptionvoidvoidaddSourceFile(Object info) protected voidvoidcompile()The cli workbenches break the asynchronous compilation by waiting until its over before computing againvoidvoidvoidvoidexportFromNode(Object info) voidexportFromNode(Object info, Node root) getFileContent(Object info) info name of the file -voidgetProjectInfo(Object info) Determines the window of this GUI context.voidinit()voidIt is done by the job manager when the workbench is startedbooleanbooleanreturn true if the workbench is currently selectedvoidlistFunctions(Object info) static voidopen(FilterSource fs, Map initParams) voidvoidremoveSourceFile(Object info) voidrenameSourceFile(Object info) booleanvoidvoidtoString()voidvoidvoidvoidMethods inherited from class de.grogra.pf.ui.ProjectWorkbench
addNode, addNode, addSourceFile, addSourceFile, addSourceFile, addSourceFile, close, compile, compile, createMainWorkbenchHTMLContent, execute, execute, execute, export, exportFromNode, getFileNode, getFunctions, getProject, getProjectInfo, getRegistry, getToken, listFunctions, loadProjectFile, removeSourceFile, removeSourceFile, renameSourceFile, renameSourceFile, saveAs, saveAsTemplate, saveAsTemplate, setProject, setTokenMethods 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, getPathToProjectDirectory, 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:
listFunctionsin classProjectWorkbench
-
getFileContent
info name of the file - -
getProjectInfo
- Specified by:
getProjectInfoin classProjectWorkbench
-
getApplicationName
- Specified by:
getApplicationNamein classProjectWorkbench
-
getWindow
Description copied from interface:ContextDetermines the window of this GUI context. -
getMainWorkbench
- Specified by:
getMainWorkbenchin classWorkbench
-
stopLocalFileSynchronization
public void stopLocalFileSynchronization()- Specified by:
stopLocalFileSynchronizationin classWorkbench
-
startLocalFileSynchronization
public void startLocalFileSynchronization()- Specified by:
startLocalFileSynchronizationin classWorkbench
-
dispose
- Specified by:
disposein classProjectWorkbench
-
initialize
public void initialize()Description copied from class:WorkbenchIt is done by the job manager when the workbench is started- Overrides:
initializein classWorkbench
-
isSelected
public boolean isSelected()Description copied from class:Workbenchreturn true if the workbench is currently selected- Specified by:
isSelectedin classWorkbench- Returns:
-
close
-
treeNodesInserted
- Specified by:
treeNodesInsertedin interfaceTreeModelListener
-
treeNodesRemoved
- Specified by:
treeNodesRemovedin interfaceTreeModelListener
-
treeNodesChanged
- Specified by:
treeNodesChangedin interfaceTreeModelListener
-
treeStructureChanged
- Specified by:
treeStructureChangedin interfaceTreeModelListener
-
addNode
- Specified by:
addNodein classProjectWorkbench
-
addSourceFile
- Specified by:
addSourceFilein classProjectWorkbench
-
export
- Specified by:
exportin classProjectWorkbench
-
renameSourceFile
- Specified by:
renameSourceFilein classProjectWorkbench
-
removeSourceFile
- Specified by:
removeSourceFilein classProjectWorkbench
-
logTest
-
execute
- Specified by:
executein classProjectWorkbench
-
compile
public void compile()The cli workbenches break the asynchronous compilation by waiting until its over before computing again- Overrides:
compilein classProjectWorkbench
-
isCompiling
public boolean isCompiling() -
getCompilationLock
-
exportFromNode
- Specified by:
exportFromNodein classProjectWorkbench- Throws:
Exception
-
exportFromNode
- Specified by:
exportFromNodein classProjectWorkbench- Throws:
Exception
-