public class ResourceLoadingSlotEntry extends java.lang.Object implements ISlotEntry
Constructor and Description |
---|
ResourceLoadingSlotEntry() |
Modifier and Type | Method and Description |
---|---|
void |
addUri(java.lang.String uri)
a regular expression matching against the
Resource 's URIs. |
protected boolean |
isMatch(org.eclipse.emf.ecore.resource.Resource resource) |
void |
preInvoke()
implementers can check their configuration and throw
IllegalStateException when problems exists. |
void |
put(org.eclipse.emf.mwe.core.WorkflowContext ctx,
IResourceDescriptions descriptions,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
implementers can modify the ctx (i.e. add new entries based on the configuration)
|
void |
setSlot(java.lang.String slot)
the
WorkflowContext 's slot to store the found Resource s in. |
public void setSlot(java.lang.String slot)
WorkflowContext
's slot to store the found Resource
s in.public void addUri(java.lang.String uri)
Resource
's URIs.public void put(org.eclipse.emf.mwe.core.WorkflowContext ctx, IResourceDescriptions descriptions, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
ISlotEntry
put
in interface ISlotEntry
ctx
- - the workflow context to modifydescriptions
- - the index stateresourceSet
- - the resource set containing the loaded resourcesprotected boolean isMatch(org.eclipse.emf.ecore.resource.Resource resource)
public void preInvoke()
ISlotEntry
IllegalStateException
when problems exists.preInvoke
in interface ISlotEntry