Interface MTLanguageListener
- All Superinterfaces:
EventListener
Listens to changes to the current language.
-
Method Summary
Modifier and TypeMethodDescriptionvoidlanguageAdded(MTLanguage language) Called when a new language has been added to the repository.voidlanguageChanged(MTLanguage oldLanguage, MTLanguage newLanguage) Called when the current language changes fromoldLanguagetonewLanguagevoidlanguageEdited(MTLanguage language) Called when changes have been made to a language.voidlanguageRemoved(MTLanguage language) Called when a language has been removed from the repository.
-
Method Details
-
languageAdded
Called when a new language has been added to the repository.- Parameters:
language- The new language.
-
languageEdited
Called when changes have been made to a language.- Parameters:
language- The edited language.
-
languageRemoved
Called when a language has been removed from the repository.- Parameters:
language- The removed language.
-
languageChanged
Called when the current language changes fromoldLanguagetonewLanguage- Parameters:
oldLanguage- the old current language (previous language)newLanguage- the new current language (actual current language)
-