Class CHATOpenFileHandler
java.lang.Object
ca.phon.phontalk.plugin.CHATOpenFileHandler
- All Implemented Interfaces:
OpenFileHandler,IPluginExtensionPoint<OpenFileHandler>
public class CHATOpenFileHandler
extends Object
implements OpenFileHandler, IPluginExtensionPoint<OpenFileHandler>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCan this handler open this file?protected ProjectcreateTempProjectForFile(File file) protected ProjectfindProjectForFile(File file) Class<?> Get type of extensionGet factory for extension point objectsvoidOpen the file in the appropriate editor/viewer.protected SessionopenSession(File file)
-
Constructor Details
-
CHATOpenFileHandler
public CHATOpenFileHandler()
-
-
Method Details
-
supportedExtensions
- Specified by:
supportedExtensionsin interfaceOpenFileHandler- Returns:
- Set of supported file extensions (without '.')
-
canOpen
Description copied from interface:OpenFileHandlerCan this handler open this file?- Specified by:
canOpenin interfaceOpenFileHandler- Parameters:
file-- Throws:
IOException
-
openFile
Description copied from interface:OpenFileHandlerOpen the file in the appropriate editor/viewer.- Specified by:
openFilein interfaceOpenFileHandler- Parameters:
file-args- - arguments pass to the open file handler- Throws:
IOException
-
openSession
- Throws:
IOException
-
createTempProjectForFile
-
findProjectForFile
-
getExtensionType
Description copied from interface:IPluginExtensionPointGet type of extension- Specified by:
getExtensionTypein interfaceIPluginExtensionPoint<OpenFileHandler>
-
getFactory
Description copied from interface:IPluginExtensionPointGet factory for extension point objects- Specified by:
getFactoryin interfaceIPluginExtensionPoint<OpenFileHandler>
-