Package com.e1c.langtool.platform
Class AbstractTranslateProject
java.lang.Object
org.eclipse.core.runtime.PlatformObject
com.e1c.langtool.platform.AbstractTranslateProject
- All Implemented Interfaces:
ITranslateProject,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
AbstractTranslateV8Project,NonTranslatedProject,NonTranslatingProject
public abstract class AbstractTranslateProject
extends org.eclipse.core.runtime.PlatformObject
implements ITranslateProject
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractTranslateProject(org.eclipse.core.resources.IProject project) Instantiates a new abstract translate project. -
Method Summary
Modifier and TypeMethodDescription<T> TgetAdapter(Class<T> adapter) 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.e1c.langtool.platform.ITranslateProject
dispose, getDefaultLanguage
-
Constructor Details
-
AbstractTranslateProject
public AbstractTranslateProject(org.eclipse.core.resources.IProject project) Instantiates a new abstract translate project.- Parameters:
project- the project, can benull
-
-
Method Details
-
getProject
public org.eclipse.core.resources.IProject getProject()Description copied from interface:ITranslateProjectGets the project of eclipse platform.- Specified by:
getProjectin interfaceITranslateProject- Returns:
- the project
-
isTranslating
public boolean isTranslating()Description copied from interface:ITranslateProjectChecks if the project is translating.- Specified by:
isTranslatingin interfaceITranslateProject- Returns:
- true, if it is translating
-
isTranslated
public boolean isTranslated()Description copied from interface:ITranslateProjectChecks if the project is translated.- Specified by:
isTranslatedin interfaceITranslateProject- Returns:
- true, if it is translated
-
getAdapter
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable- Overrides:
getAdapterin classorg.eclipse.core.runtime.PlatformObject
-