Class NonTranslatedProject
java.lang.Object
org.eclipse.core.runtime.PlatformObject
com.e1c.langtool.platform.AbstractTranslateProject
com.e1c.langtool.internal.platform.NonTranslatedProject
- All Implemented Interfaces:
ITranslatedProject,ITranslateProject,org.eclipse.core.runtime.IAdaptable
public final class NonTranslatedProject
extends AbstractTranslateProject
implements ITranslatedProject
The default implementation of
ITranslatedProject for some project that is NOT registered as translated
from any source translating project. It always return false on call AbstractTranslateProject.isTranslated().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the default language of the project.Gets the interface languages that needs to be added.Gets the project name.Gets the source project.Methods inherited from class com.e1c.langtool.platform.AbstractTranslateProject
getAdapter, getProject, isTranslated, isTranslatingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface com.e1c.langtool.platform.ITranslateProject
dispose, getProject, isTranslated, isTranslating
-
Constructor Details
-
NonTranslatedProject
public NonTranslatedProject(org.eclipse.core.resources.IProject project)
-
-
Method Details
-
getDefaultLanguage
Description copied from interface:ITranslateProjectGets the default language of the project.- Specified by:
getDefaultLanguagein interfaceITranslateProject- Returns:
- the default language
-
getSourceProject
Description copied from interface:ITranslatedProjectGets the source project.- Specified by:
getSourceProjectin interfaceITranslatedProject- Returns:
- the source project, cannot return
null.
-
getInterfaceLanguages
Description copied from interface:ITranslatedProjectGets the interface languages that needs to be added.- Specified by:
getInterfaceLanguagesin interfaceITranslatedProject- Returns:
- the interface languages, cannot return
null.
-
getProjectName
Description copied from interface:ITranslatedProjectGets the project name.- Specified by:
getProjectNamein interfaceITranslatedProject- Returns:
- the project name, cannot return
null.
-