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 Details

    • AbstractTranslateProject

      public AbstractTranslateProject(org.eclipse.core.resources.IProject project)
      Instantiates a new abstract translate project.
      Parameters:
      project - the project, can be null
  • Method Details

    • getProject

      public org.eclipse.core.resources.IProject getProject()
      Description copied from interface: ITranslateProject
      Gets the project of eclipse platform.
      Specified by:
      getProject in interface ITranslateProject
      Returns:
      the project
    • isTranslating

      public boolean isTranslating()
      Description copied from interface: ITranslateProject
      Checks if the project is translating.
      Specified by:
      isTranslating in interface ITranslateProject
      Returns:
      true, if it is translating
    • isTranslated

      public boolean isTranslated()
      Description copied from interface: ITranslateProject
      Checks if the project is translated.
      Specified by:
      isTranslated in interface ITranslateProject
      Returns:
      true, if it is translated
    • getAdapter

      public <T> T getAdapter(Class<T> adapter)
      Specified by:
      getAdapter in interface org.eclipse.core.runtime.IAdaptable
      Overrides:
      getAdapter in class org.eclipse.core.runtime.PlatformObject