Class ProjectOpenFileHandler
java.lang.Object
ca.phon.app.project.ProjectOpenFileHandler
- All Implemented Interfaces:
OpenFileHandler,IPluginExtensionPoint<OpenFileHandler>
public class ProjectOpenFileHandler
extends Object
implements OpenFileHandler, IPluginExtensionPoint<OpenFileHandler>
File handler for opening phon project files (4.x and later)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCan this handler open this file?Class<?> Get type of extensionGet factory for extension point objectsvoidOpen the file in the appropriate editor/viewer.
-
Constructor Details
-
ProjectOpenFileHandler
public ProjectOpenFileHandler()
-
-
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
-
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>
-