Class TranslatingExternalObjectProject
java.lang.Object
org.eclipse.core.runtime.PlatformObject
com.e1c.langtool.platform.AbstractTranslateProject
com.e1c.langtool.v8.dt.platform.AbstractTranslateV8Project
com.e1c.langtool.v8.dt.internal.external.TranslatingExternalObjectProject
- All Implemented Interfaces:
ITranslateProject,ITranslatingProject,SynchronizableProject,ITranslatingExternalObjectProject,ITranslateV8Project,org.eclipse.core.runtime.IAdaptable
public class TranslatingExternalObjectProject
extends AbstractTranslateV8Project
implements ITranslatingExternalObjectProject, SynchronizableProject
-
Constructor Summary
ConstructorsConstructorDescriptionTranslatingExternalObjectProject(org.eclipse.core.resources.IProject project) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose the instance and all holding resources if any.Gets the default language of the project.Gets the external object project.Gets the interface languages of the project.Gets the model languages that the project model data translating onto.Gets the translated projects from settings of this project.Gets the translating V8 configuration project project.booleanChecks if the project is translating.protected voidprotected voidMethods inherited from class com.e1c.langtool.v8.dt.platform.AbstractTranslateV8Project
getV8ProjectMethods inherited from class com.e1c.langtool.platform.AbstractTranslateProject
getAdapter, getProject, isTranslatedMethods 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
getProject, isTranslatedMethods inherited from interface com.e1c.langtool.v8.dt.platform.ITranslateV8Project
getScriptVariant, getV8ProjectMethods inherited from interface com.e1c.langtool.sync.SynchronizableProject
isSynchronizing
-
Constructor Details
-
TranslatingExternalObjectProject
public TranslatingExternalObjectProject(org.eclipse.core.resources.IProject project)
-
-
Method Details
-
getExternalObjectProject
Description copied from interface:ITranslatingExternalObjectProjectGets the external object project.- Specified by:
getExternalObjectProjectin interfaceITranslatingExternalObjectProject- Returns:
- the external object project
-
getModelLanguages
Description copied from interface:ITranslatingProjectGets the model languages that the project model data translating onto.Note that returning languages should be sorted by
TranslateLanguage.getName()- Specified by:
getModelLanguagesin interfaceITranslatingExternalObjectProject- Specified by:
getModelLanguagesin interfaceITranslatingProject- Returns:
- the model languages, cannot be
null
-
getInterfaceLanguages
Description copied from interface:ITranslatingProjectGets the interface languages of the project.Note that returning languages should be sorted by
TranslateLanguage.getName()- Specified by:
getInterfaceLanguagesin interfaceITranslatingExternalObjectProject- Specified by:
getInterfaceLanguagesin interfaceITranslatingProject- Returns:
- the interface languages
-
getTranslatedProjects
Description copied from interface:ITranslatingProjectGets the translated projects from settings of this project.Note that returning projects should be sorted by
ITranslatedProject.getProjectName()- Specified by:
getTranslatedProjectsin interfaceITranslatingProject- Returns:
- the translated projects
-
getDefaultLanguage
Description copied from interface:ITranslateProjectGets the default language of the project.- Specified by:
getDefaultLanguagein interfaceITranslateProject- Specified by:
getDefaultLanguagein interfaceITranslatingExternalObjectProject- Returns:
- the default language
-
isTranslating
public boolean isTranslating()Description copied from interface:ITranslateProjectChecks if the project is translating.- Specified by:
isTranslatingin interfaceITranslateProject- Overrides:
isTranslatingin classAbstractTranslateProject- Returns:
- true, if it is translating
-
getTranslatingConfigurationProject
Description copied from interface:ITranslatingExternalObjectProjectGets the translating V8 configuration project project.- Specified by:
getTranslatingConfigurationProjectin interfaceITranslatingExternalObjectProject- Returns:
- the translating configuration project, can return
nullif not bind to base project
-
dispose
public void dispose()Description copied from interface:ITranslateProjectDispose the instance and all holding resources if any.- Specified by:
disposein interfaceITranslateProject
-
getConfiguration
-
readProjectManifestFile
protected void readProjectManifestFile() -
resetProjectManifest
protected void resetProjectManifest()
-