java.lang.Object
de.grogra.pf.ui.Workbench
de.grogra.pf.ui.ProjectWorkbench
- All Implemented Interfaces:
RegistryContext,Context,ProjectContext,ClipboardOwner
- Direct Known Subclasses:
APIWorkbench,CLIWorkbench,IMPWorkbench
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.pf.ui.Workbench
Workbench.Loader -
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidabstract voidstatic voidaddSourceFile(Item item, Object info, Context ctx) addSourceFile(File file, MimeType mt) addSourceFile(File file, MimeType mt, Object dest) abstract voidaddSourceFile(Object info) addSourceFile(String fileName, MimeType mt, InputStream ins, Object dest) static voidvoidcompile()static voidvoidabstract voidstatic voidvoidexecute(CommandItem command) abstract voidvoidstatic voidabstract voidstatic voidexportFromNode(Item item, Object info, Context ctx) abstract voidexportFromNode(Object info) abstract voidexportFromNode(Object info, Node root) abstract Stringprotected SourceFilegetFileNode(String name) Command[]static voidgetProjectInfo(Item item, Object info, Context ctx) abstract voidgetProjectInfo(Object info) Returns theRegistrywhich is linked with this instance.getToken()static voidlistFunctions(Item item, Object info, Context ctx) abstract voidlistFunctions(Object info) voidloadProjectFile(FilterSource fs, Map initParams) static voidremoveSourceFile(Item item, Object info, Context ctx) abstract voidremoveSourceFile(Object info) voidremoveSourceFile(String name) static voidrenameSourceFile(Item item, Object info, Context ctx) abstract voidrenameSourceFile(Object info) voidrenameSourceFile(String file, String newName) booleanvoidstatic voidsaveAsTemplate(Item item, Object info, Context ctx) voidsetProject(Project project) voidMethods inherited from class de.grogra.pf.ui.Workbench
addStatusChangeListener, addToLastUsed, beginStatus, chooseFileToSave, clearGraph, clearGraph, clearProgress, clearStatusAndProgress, close, copy, current, current, cut, delete, delete, export, export, get, getApplication, getChartPanel, getComponent, getFile, getJobManager, getLogger, getMainWorkbench, getName, getPanel, getPathToProjectDirectory, getProgress, getProperty, getState, getStatus, getToolkit, getWorkbench, ignoreIfModified, initialize, initializeWindow, initLogger, isCopyEnabled, isCutEnabled, isDeleteEnabled, isHeadless, isModified, isRedoEnabled, isSelected, isUndoEnabled, isWorkbenchThread, log, logGUIInfo, logGUIInfo, logInfo, logInfo, lostOwnership, open, open, open, openAsDemo, openAsDemo, openRecent, openRecent, paste, readObject, readObject, redo, redo, refreshJEdit, refreshJEdit, refreshLastUsed, removeStatusChangeListener, runAsCurrent, save, save, save, saveAs, saveAs, select, setCurrent, setFile, setIgnoreIfModified, setIndeterminateProgress, setModified, setModified, setName, setProgress, setProperty, setStatus, setStatus, setStatusClearProgress, setStatusFinished, showAboutAppDialog, showAboutPluginDialog, showConfigurationDialog, showConfigurationDialog, showViewerPanel, showViewerPanel, startLocalFileSynchronization, startLocalFileSynchronization, stopLocalFileSynchronization, stopLocalFileSynchronization, undo, undo, updateName
-
Field Details
-
project
-
-
Constructor Details
-
ProjectWorkbench
-
-
Method Details
-
setProject
-
getProject
- Specified by:
getProjectin interfaceProjectContext
-
getRegistry
Description copied from interface:RegistryContextReturns theRegistrywhich is linked with this instance.- Specified by:
getRegistryin interfaceRegistryContext- Returns:
- the registry linked with this instance
-
getProjectInfo
-
getProjectInfo
-
export
- Throws:
Exception
-
export
- Throws:
Exception
-
exportFromNode
- Throws:
Exception
-
exportFromNode
- Throws:
Exception
-
exportFromNode
- Throws:
Exception
-
saveAs
-
saveAsTemplate
-
saveAsTemplate
- Throws:
FileNotFoundException
-
close
-
loadProjectFile
-
addNode
- Throws:
Exception
-
addNode
- Throws:
Exception
-
addNode
-
addSourceFile
- Throws:
Exception
-
addSourceFile
- Throws:
Exception
-
addSourceFile
-
addSourceFile
-
addSourceFile
-
renameSourceFile
- Throws:
Exception
-
renameSourceFile
- Throws:
Exception
-
renameSourceFile
-
removeSourceFile
- Throws:
Exception
-
removeSourceFile
- Throws:
Exception
-
removeSourceFile
-
listFunctions
-
listFunctions
-
getFunctions
-
compile
-
compile
-
compile
public void compile() -
execute
- Throws:
Exception
-
execute
- Throws:
Exception
-
execute
-
execute
-
getFileNode
-
getToken
-
setToken
-
createMainWorkbenchHTMLContent
- Specified by:
createMainWorkbenchHTMLContentin classWorkbench
-
getApplicationName
-
dispose
-