Package org.eclipse.epsilon.picto
Class LazyEgxModule.LazyGenerationRuleContentPromise
java.lang.Object
org.eclipse.epsilon.picto.LazyEgxModule.LazyGenerationRuleContentPromise
- All Implemented Interfaces:
ContentPromise
- Enclosing class:
- LazyEgxModule
public class LazyEgxModule.LazyGenerationRuleContentPromise
extends Object
implements ContentPromise
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.core.runtime.IProgressMonitor
protected Map<URI,
EglTemplate> protected EglTemplateFactory
protected URI
protected Collection<Variable>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LazyGenerationRuleContentPromise
(EglTemplateFactory templateFactory, Map<URI, EglTemplate> templateCache, URI templateUri, Collection<Variable> variables) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IProgressMonitor
Return the monitor used by the promise to detect if the user has requested the cancellation of its computation.void
setProgressMonitor
(org.eclipse.core.runtime.IProgressMonitor monitor) Change the monitor used by the promise to detect if the user has requested the cancellation of its computation.
-
Field Details
-
templateFactory
-
templateCache
-
templateUri
-
variables
-
progressMonitor
protected org.eclipse.core.runtime.IProgressMonitor progressMonitor
-
-
Constructor Details
-
LazyGenerationRuleContentPromise
protected LazyGenerationRuleContentPromise() -
LazyGenerationRuleContentPromise
public LazyGenerationRuleContentPromise(EglTemplateFactory templateFactory, Map<URI, EglTemplate> templateCache, URI templateUri, Collection<Variable> variables)
-
-
Method Details
-
getVariables
-
getContent
- Specified by:
getContent
in interfaceContentPromise
- Throws:
Exception
-
getProgressMonitor
public org.eclipse.core.runtime.IProgressMonitor getProgressMonitor()Description copied from interface:ContentPromise
Return the monitor used by the promise to detect if the user has requested the cancellation of its computation.- Specified by:
getProgressMonitor
in interfaceContentPromise
-
setProgressMonitor
public void setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor) Description copied from interface:ContentPromise
Change the monitor used by the promise to detect if the user has requested the cancellation of its computation.- Specified by:
setProgressMonitor
in interfaceContentPromise
-