Package com.e1c.langtool.v8.dt.moxel
Class MoxelPropertiesTranslationSource
java.lang.Object
com.e1c.langtool.v8.dt.moxel.MoxelPropertiesTranslationSource
- All Implemented Interfaces:
TranslationSource
Basic
TranslationSource adapter for V8 EMF objects-
Field Summary
Fields inherited from interface com.e1c.langtool.TranslationSource
CONTENT_TYPE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the id of this translation source.protected org.eclipse.emf.ecore.EObjectorg.eclipse.core.resources.IProjectGets the project of translation source object.org.eclipse.core.runtime.IPathGets the project relative path of the source.Gets the source object with can scan for strings.voidsetObject(org.eclipse.emf.ecore.EObject object)
-
Constructor Details
-
MoxelPropertiesTranslationSource
public MoxelPropertiesTranslationSource()
-
-
Method Details
-
setObject
public void setObject(org.eclipse.emf.ecore.EObject object) -
getProject
public org.eclipse.core.resources.IProject getProject()Description copied from interface:TranslationSourceGets the project of translation source object.- Specified by:
getProjectin interfaceTranslationSource- Returns:
- the project
-
getInternalObject
protected org.eclipse.emf.ecore.EObject getInternalObject() -
getSourceObject
Description copied from interface:TranslationSourceGets the source object with can scan for strings.- Specified by:
getSourceObjectin interfaceTranslationSource- Returns:
- the source object
-
getId
Description copied from interface:TranslationSourceGets the id of this translation source. It must be unique in project scope and free of project name in preffix that is mean id is project related.- Specified by:
getIdin interfaceTranslationSource- Returns:
- the id
-
getProjectRelativePath
public org.eclipse.core.runtime.IPath getProjectRelativePath()Description copied from interface:TranslationSourceGets the project relative path of the source.- Specified by:
getProjectRelativePathin interfaceTranslationSource- Returns:
- the project relative path
-