Package com.e1c.langtool.platform
Interface ITranslateProject
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
- All Known Subinterfaces:
ITranslatedConfigurationProject,ITranslatedExtensionProject,ITranslatedExternalObjectProject,ITranslatedProject,ITranslatedV8Project,ITranslateV8Project,ITranslatingConfigurationProject,ITranslatingExtensionProject,ITranslatingExternalObjectProject,ITranslatingProject,SynchronizableProject
- All Known Implementing Classes:
AbstractTranslateProject,AbstractTranslateV8Project,NonTranslatedProject,NonTranslatingProject,TranslatedConfigurationProject,TranslatedExtensionProject,TranslatedExternalObjectProject,TranslatingConfigurationProject,TranslatingExtensionProject,TranslatingExternalObjectProject
public interface ITranslateProject
extends org.eclipse.core.runtime.IAdaptable
The Interface is common for project types that can be translating or are translated from some othet project.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddispose()Dispose the instance and all holding resources if any.Gets the default language of the project.@NonNull org.eclipse.core.resources.IProjectGets the project of eclipse platform.booleanChecks if the project is translated.booleanChecks if the project is translating.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Method Details
-
getProject
@NonNull org.eclipse.core.resources.IProject getProject()Gets the project of eclipse platform.- Returns:
- the project
-
isTranslating
boolean isTranslating()Checks if the project is translating.- Returns:
- true, if it is translating
-
isTranslated
boolean isTranslated()Checks if the project is translated.- Returns:
- true, if it is translated
-
getDefaultLanguage
TranslateLanguage getDefaultLanguage()Gets the default language of the project.- Returns:
- the default language
-
dispose
default void dispose()Dispose the instance and all holding resources if any.
-