Class AbstractStringLiteralLinesCollector
java.lang.Object
com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
- All Implemented Interfaces:
TypedStringLiteralFeatureValueCollector
- Direct Known Subclasses:
AbstractQueryPartProcessor,KeysCollector,ReplaceParamsCollector
public abstract class AbstractStringLiteralLinesCollector
extends Object
implements TypedStringLiteralFeatureValueCollector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor) Collect the translatable content of literal.protected abstract voidcollectContent(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor) protected ContextTranslationKeycreateLiteralLinesContextTranslationKey(StringLiteral literal, ITranslationFeatureKeyProvider featureKeyProvider) protected ContextTranslationKeycreateLiteralLinesContextTranslationKey(org.eclipse.core.resources.IFile file, FeatureKey featureKey, String content) protected booleanisComputedValue(StringLiteral literal, String content, CollectingContext context) protected abstract booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.e1c.langtool.v8.dt.bsl.stringliteral.TypedStringLiteralFeatureValueCollector
isSupport
-
Field Details
-
resourceLookup
-
-
Constructor Details
-
AbstractStringLiteralLinesCollector
public AbstractStringLiteralLinesCollector()
-
-
Method Details
-
collect
public void collect(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor) Description copied from interface:TypedStringLiteralFeatureValueCollectorCollect the translatable content of literal.- Specified by:
collectin interfaceTypedStringLiteralFeatureValueCollector- Parameters:
literal- the literal to collectcontext- the context of collectingmonitor- the monitor
-
isComputedValue
-
createLiteralLinesContextTranslationKey
protected ContextTranslationKey createLiteralLinesContextTranslationKey(org.eclipse.core.resources.IFile file, FeatureKey featureKey, String content) -
createLiteralLinesContextTranslationKey
protected ContextTranslationKey createLiteralLinesContextTranslationKey(StringLiteral literal, ITranslationFeatureKeyProvider featureKeyProvider) -
isLinesComputedByDefault
protected abstract boolean isLinesComputedByDefault() -
collectContent
protected abstract void collectContent(StringLiteral literal, CollectingContext context, org.eclipse.core.runtime.IProgressMonitor monitor)
-