java.lang.Object
de.grogra.pf.ui.Workbench
de.grogra.pf.ui.ProjectWorkbench
de.grogra.imp.IMPWorkbench
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
In IMP workbenches addnodes is perfomed by IMPvoid
addSourceFile
(Object info) In imp workbenches source files are managed by the file explorerprotected void
void
void
void
Execute a command, given by command line,void
Wrapper for export command - the info should be "transformed" into the proper used data for export(FilterSource)void
exportFromNode
(Object info) void
exportFromNode
(Object info, Node root) static IMPWorkbench
void
getProjectInfo
(Object info) getRegistryItem
(String item) Determines the window of this GUI context.void
It is done by the job manager when the workbench is startedboolean
return true if the workbench is currently selectedvoid
listFunctions
(Object info) Deprecated.open
(FilterSource fs, Map initParams) void
void
openRecent
(Object info) void
void
removeSourceFile
(Object info) void
renameSourceFile
(Object info) boolean
Get the file to save as from GUI command (from swing toolkit & window)void
static void
startLocalFileSynchronization
(Item item, Object info, Context ctx) void
static void
stopLocalFileSynchronization
(Item item, Object info, Context ctx) void
void
void
void
Methods inherited from class de.grogra.pf.ui.ProjectWorkbench
addNode, addNode, addSourceFile, addSourceFile, addSourceFile, addSourceFile, close, compile, 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, 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, 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, undo, undo, updateName
-
Constructor Details
-
IMPWorkbench
-
-
Method Details
-
get
-
getMainWorkbench
- Specified by:
getMainWorkbench
in classWorkbench
-
close
-
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
-
getRegistryItem
-
getWindow
Description copied from interface:Context
Determines the window of this GUI context. -
open
-
open
-
delete
-
openRecent
- Overrides:
openRecent
in classWorkbench
-
treeNodesInserted
- Specified by:
treeNodesInserted
in interfaceTreeModelListener
-
treeNodesRemoved
- Specified by:
treeNodesRemoved
in interfaceTreeModelListener
-
treeNodesChanged
- Specified by:
treeNodesChanged
in interfaceTreeModelListener
-
treeStructureChanged
- Specified by:
treeStructureChanged
in interfaceTreeModelListener
-
addConnection
-
removeConnection
-
getConnections
-
startLocalFileSynchronization
-
stopLocalFileSynchronization
-
startLocalFileSynchronization
public void startLocalFileSynchronization()- Specified by:
startLocalFileSynchronization
in classWorkbench
-
stopLocalFileSynchronization
public void stopLocalFileSynchronization()- Specified by:
stopLocalFileSynchronization
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:
-
getProjectInfo
- Specified by:
getProjectInfo
in classProjectWorkbench
-
export
Wrapper for export command - the info should be "transformed" into the proper used data for export(FilterSource)- Specified by:
export
in classProjectWorkbench
- Throws:
Exception
-
exportFromNode
- Specified by:
exportFromNode
in classProjectWorkbench
- Throws:
Exception
-
exportFromNode
- Specified by:
exportFromNode
in classProjectWorkbench
- Throws:
Exception
-
saveAs
Get the file to save as from GUI command (from swing toolkit & window) -
addNode
In IMP workbenches addnodes is perfomed by IMP- Specified by:
addNode
in classProjectWorkbench
- Throws:
Exception
-
addSourceFile
In imp workbenches source files are managed by the file explorer- Specified by:
addSourceFile
in classProjectWorkbench
- Throws:
Exception
-
renameSourceFile
- Specified by:
renameSourceFile
in classProjectWorkbench
- Throws:
Exception
-
removeSourceFile
- Specified by:
removeSourceFile
in classProjectWorkbench
- Throws:
Exception
-
listFunctions
Deprecated.this is handled by the rgg toolbar . Should not be accessed from the workbench- Specified by:
listFunctions
in classProjectWorkbench
-
execute
Execute a command, given by command line,- Specified by:
execute
in classProjectWorkbench
- Throws:
Exception
-
getApplicationName
- Specified by:
getApplicationName
in classProjectWorkbench
-