| java.lang.Object org.openharmonise.him.editors.EditorController
EditorController | public class EditorController implements ContextListener(Code) | | The editor controller is the external interface to the editor
architecture. It makes the decisions about which
org.openharmonise.him.editors.Editor is applicable for a virtual file, manages workfing file and monitors them for
changes.
author: Matthew Large version: $Revision: 1.2 $ |
Inner Class :class FileDetails | |
Inner Class :class FileMonitor extends Thread | |
checkFiles | protected void checkFiles()(Code) | | Checks all current working files for changes to their modification
date. If changes are found the content of the working file is
copied into the virtual file.
|
clearTempDir | public void clearTempDir()(Code) | | Clears the directory containing the local working files.
|
createNew | public StatusData createNew(String sPath, byte[] content, AbstractVirtualFileSystem vfs)(Code) | | Creates a new virtual file.
Parameters: sPath - Full path Parameters: content - Content for new virtual file Parameters: vfs - Virtual file system true if the resource was actually created |
getInstance | public static EditorController getInstance()(Code) | | Returns the instance of the editor controller, follows the
singleton pattern.
Instance |
isMonitoringVirtualFile | public boolean isMonitoringVirtualFile(VirtualFile vfFile)(Code) | | |
|
|