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.IProgressMonitorprotected Map<URI,EglTemplate> protected EglTemplateFactoryprotected URIprotected Collection<Variable> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLazyGenerationRuleContentPromise(EglTemplateFactory templateFactory, Map<URI, EglTemplate> templateCache, URI templateUri, Collection<Variable> variables) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IProgressMonitorReturn the monitor used by the promise to detect if the user has requested the cancellation of its computation.voidsetProgressMonitor(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:
getContentin interfaceContentPromise- Throws:
Exception
-
getProgressMonitor
public org.eclipse.core.runtime.IProgressMonitor getProgressMonitor()Description copied from interface:ContentPromiseReturn the monitor used by the promise to detect if the user has requested the cancellation of its computation.- Specified by:
getProgressMonitorin interfaceContentPromise
-
setProgressMonitor
public void setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor) Description copied from interface:ContentPromiseChange the monitor used by the promise to detect if the user has requested the cancellation of its computation.- Specified by:
setProgressMonitorin interfaceContentPromise
-