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
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, TIMER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
abstract void
static void
addSourceFile
(Item item, Object info, Context ctx) addSourceFile
(File file, MimeType mt) addSourceFile
(File file, MimeType mt, Object dest) abstract void
addSourceFile
(Object info) addSourceFile
(String fileName, MimeType mt, InputStream ins, Object dest) static void
void
compile()
static void
void
abstract void
static void
void
execute
(CommandItem command) abstract void
void
static void
abstract void
static void
exportFromNode
(Item item, Object info, Context ctx) abstract void
exportFromNode
(Object info) abstract void
exportFromNode
(Object info, Node root) abstract String
protected SourceFile
getFileNode
(String name) Command[]
static void
getProjectInfo
(Item item, Object info, Context ctx) abstract void
getProjectInfo
(Object info) Returns theRegistry
which is linked with this instance.getToken()
static void
listFunctions
(Item item, Object info, Context ctx) abstract void
listFunctions
(Object info) void
loadProjectFile
(FilterSource fs, Map initParams) static void
removeSourceFile
(Item item, Object info, Context ctx) abstract void
removeSourceFile
(Object info) void
removeSourceFile
(String name) static void
renameSourceFile
(Item item, Object info, Context ctx) abstract void
renameSourceFile
(Object info) void
renameSourceFile
(String file, String newName) boolean
void
static void
saveAsTemplate
(Item item, Object info, Context ctx) void
setProject
(Project project) void
Methods 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, getProgress, getProperty, getState, getStatus, getToolkit, getWorkbench, ignoreIfModified, initialize, initializeWindow, initLogger, isCopyEnabled, isCutEnabled, isDeleteEnabled, isHeadless, isModified, isSelected, isWorkbenchThread, log, logGUIInfo, logGUIInfo, logInfo, logInfo, lostOwnership, open, open, open, openAsDemo, openAsDemo, openRecent, openRecent, paste, readObject, readObject, 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:
getProject
in interfaceProjectContext
-
getRegistry
Description copied from interface:RegistryContext
Returns theRegistry
which is linked with this instance.- Specified by:
getRegistry
in 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
-
getApplicationName
-
dispose
-