Class TranslatingConfigurationProject
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.platform.TranslatingConfigurationProject
- All Implemented Interfaces:
IConfigurationAware,ITranslateProject,ITranslatingProject,SynchronizableProject,ITranslateV8Project,ITranslatingConfigurationProject,org.eclipse.core.runtime.IAdaptable
public class TranslatingConfigurationProject
extends AbstractTranslateV8Project
implements ITranslatingConfigurationProject, SynchronizableProject
-
Constructor Summary
ConstructorsConstructorDescriptionTranslatingConfigurationProject(org.eclipse.core.resources.IProject project) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose the instance and all holding resources if any.Gets the V8 configuration.Gets the default language of the 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.booleanChecks if the project is translating.Methods 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
-
TranslatingConfigurationProject
public TranslatingConfigurationProject(org.eclipse.core.resources.IProject project)
-
-
Method Details
-
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 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 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- Returns:
- the default language
-
getConfiguration
Description copied from interface:ITranslatingConfigurationProjectGets the V8 configuration.- Specified by:
getConfigurationin interfaceIConfigurationAware- Specified by:
getConfigurationin interfaceITranslatingConfigurationProject- Returns:
- the configuration
-
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
-
dispose
public void dispose()Description copied from interface:ITranslateProjectDispose the instance and all holding resources if any.- Specified by:
disposein interfaceITranslateProject
-