Interface IObjectLanguageProcessor
- All Known Implementing Classes:
BmResourceLanguageProcessor,BslLanguageProcessor,ChartLanguageProcessor,CommonPackageLanguageProcessor,ContentLanguageProcessor,DcsLanguageProcessor,ExpressionsLanguageProcessor,FormLanguageProcessor,GeosLanguageProcessor,PlannerLanguageProcessor,SchemeLanguageProcessor
public interface IObjectLanguageProcessor
Defines processors for objects with translations.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisSupported(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this implementation supports EPackagedefault voidprocess(IBmTransaction transaction, long bmObjectId, LanguageProcessorParameters parameters) Processes objects translations based on the provided BMObjectId.default voidprocess(org.eclipse.emf.common.util.URI objectURI, LanguageProcessorParameters parameters) Processes objects translations based on the provided URI.
-
Method Details
-
isSupported
boolean isSupported(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this implementation supports EPackage- Parameters:
ePackage- the e package, cannot benull- Returns:
true, if is supported
-
process
default void process(org.eclipse.emf.common.util.URI objectURI, LanguageProcessorParameters parameters) Processes objects translations based on the provided URI.- Parameters:
objectURI- the object URI, cannot benullparameters- the parameters, cannot benull
-
process
default void process(IBmTransaction transaction, long bmObjectId, LanguageProcessorParameters parameters) Processes objects translations based on the provided BMObjectId.- Parameters:
transaction- the transaction, cannot benullbmObjectId- the object bm id, cannot benullparameters- the parameters, cannot benull
-