Class NavigatorTranslateLanguageAdapter
java.lang.Object
org.eclipse.core.runtime.PlatformObject
com.e1c.langtool.stat.internal.ui.NavigatorTranslateLanguageAdapter
- All Implemented Interfaces:
TranslateLanguage,org.eclipse.core.runtime.IAdaptable
public class NavigatorTranslateLanguageAdapter
extends org.eclipse.core.runtime.PlatformObject
implements TranslateLanguage
The adapter class of
TranslateLanguage that adds to navigator content.
It is wrapping actual TranslateLanguage, containing project and parent object.
This instance may obtains Statistics for the representing resource object.-
Constructor Summary
ConstructorsConstructorDescriptionNavigatorTranslateLanguageAdapter(org.eclipse.core.resources.IResource resource, Object parent, TranslateLanguage language) -
Method Summary
Modifier and TypeMethodDescription<T> TgetAdapter(Class<T> adapter) Returns a code of this language.getName()Returns a name of this language.Returns a translation option of this language.Returns a presentation (synonym) of this language.org.eclipse.core.resources.IResourcegetUuid()Returns unique identifier of this language.
-
Constructor Details
-
NavigatorTranslateLanguageAdapter
public NavigatorTranslateLanguageAdapter(org.eclipse.core.resources.IResource resource, Object parent, TranslateLanguage language)
-
-
Method Details
-
getUuid
Description copied from interface:TranslateLanguageReturns unique identifier of this language.- Specified by:
getUuidin interfaceTranslateLanguage- Returns:
- unique identifier of this language. It can't be
null.
-
getName
Description copied from interface:TranslateLanguageReturns a name of this language.- Specified by:
getNamein interfaceTranslateLanguage- Returns:
- a name of this language. It can't be
null.
-
getPresentation
Description copied from interface:TranslateLanguageReturns a presentation (synonym) of this language.- Specified by:
getPresentationin interfaceTranslateLanguage- Returns:
- a presentation (synonym) of this language. It can't be
null.
-
getLanguageCode
Description copied from interface:TranslateLanguageReturns a code of this language.- Specified by:
getLanguageCodein interfaceTranslateLanguage- Returns:
- a code of this language. It can't be
null.
-
getOption
Description copied from interface:TranslateLanguageReturns a translation option of this language.- Specified by:
getOptionin interfaceTranslateLanguage- Returns:
- a translation option of this language. It can't be
null.
-
getAdapter
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable- Overrides:
getAdapterin classorg.eclipse.core.runtime.PlatformObject
-
getParent
-
getResource
public org.eclipse.core.resources.IResource getResource() -
getStatistic
-