Interface IEditingLanguageManager


  • public interface IEditingLanguageManager
    Manager of editing language.

    Store listeners and notify if editing language of project is changed

    • Method Detail

      • getEditingLanguageCode

        String getEditingLanguageCode​(org.eclipse.core.resources.IProject project)
        Get language code of configuration editing language by project
        Parameters:
        project - the project (not null)
        Returns:
        language code string value or null if there is no languages
      • getEditingLanguageCode

        String getEditingLanguageCode​(IDtProject dtProject)
        Get language code of configuration editing language by project
        Parameters:
        project - the project (not null)
        Returns:
        language code string value or null if there is no languages
      • setEditingLanguageCode

        void setEditingLanguageCode​(org.eclipse.core.resources.IProject currentProject,
                                    String string)
        Set language code of configuration editing for project
        Parameters:
        project - the project (not null)
        languageCode - code string value
      • addEditingLanguageChangeListener

        void addEditingLanguageChangeListener​(org.eclipse.core.resources.IProject project,
                                              IEventListener listener)
        Add event listener
        Parameters:
        project - the project to control language or null
        listener - the event listener to add (not null)
      • removeEditingLanguageChangeListener

        void removeEditingLanguageChangeListener​(IEventListener listener)
        Remove event listener
        Parameters:
        listener - the event listener to remove (not null)