Package com.e1c.langtool.storage
Interface ITranslationFileEditorFactory<T>
- Type Parameters:
T- the translation model of the file
- All Known Implementing Classes:
ContextFormatFactory,DictionaryFormatFactory
public interface ITranslationFileEditorFactory<T>
A factory for creating
file editing handler.-
Method Summary
Modifier and TypeMethodDescriptiongetFileEditor(org.eclipse.core.resources.IFile file, org.eclipse.core.resources.IProject project, TranslateLanguage language) Gets the file editing handler.
-
Method Details
-
getFileEditor
IFileEditor<T> getFileEditor(org.eclipse.core.resources.IFile file, org.eclipse.core.resources.IProject project, TranslateLanguage language) Gets the file editing handler.- Parameters:
file- the file, cannot benull.project- the project, cannot benull.language- the language, cannot benull.- Returns:
- the file editor, cannot return
null.
-