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 Type
    Method
    Description
    getFileEditor(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 be null.
      project - the project, cannot be null.
      language - the language, cannot be null.
      Returns:
      the file editor, cannot return null.