Package org.eclipse.emf.mwe.utils
Class Reader
- All Implemented Interfaces:
WorkflowComponent
,WorkflowComponentWithID
,IWorkflowComponent
-
Field Summary
Fields inherited from class org.eclipse.emf.mwe.utils.AbstractEMFWorkflowComponent
resourceSet, uri
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkConfiguration
(Issues issues) Called by the container after configuration so the component can validate the configuration before invocation.Returns the component's name.Returns the log message,void
invokeInternal
(WorkflowContext ctx, ProgressMonitor monitor, Issues issues) Internal method for component execution.static Object
static Object
load
(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, String uri, boolean firstElementOnly, boolean ignoreMissingModel) void
setFirstElementOnly
(boolean firstElementOnly) void
setIgnoreMissingModel
(boolean ignoreMissingModel) void
setMakeEPackagesGlobal
(boolean makeEPackagesGlobal) Methods inherited from class org.eclipse.emf.mwe.utils.AbstractEMFWorkflowComponent
getResourceSet, getUri, setResourceSet, setUri, setUseSingleGlobalResourceSet
Methods inherited from class org.eclipse.emf.mwe.core.lib.WorkflowComponentWithModelSlot
getModelSlot, setModelSlot
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
checkRequiredConfigProperty, getBridge, getContainer, getId, getLocation, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors
-
Constructor Details
-
Reader
public Reader()
-
-
Method Details
-
invokeInternal
Description copied from class:AbstractWorkflowComponent
Internal method for component execution.- Specified by:
invokeInternal
in classAbstractWorkflowComponent
- Parameters:
ctx
- the workflow contextmonitor
- the progress monitorissues
- container of execution issues
-
checkConfiguration
Description copied from interface:WorkflowComponent
Called by the container after configuration so the component can validate the configuration before invocation.- Specified by:
checkConfiguration
in interfaceWorkflowComponent
- Overrides:
checkConfiguration
in classWorkflowComponentWithModelSlot
- Parameters:
issues
- implementors should report configuration issues to this.- See Also:
-
load
-
load
-
setFirstElementOnly
public void setFirstElementOnly(boolean firstElementOnly) -
setMakeEPackagesGlobal
public void setMakeEPackagesGlobal(boolean makeEPackagesGlobal) -
setIgnoreMissingModel
public void setIgnoreMissingModel(boolean ignoreMissingModel) -
getLogMessage
Description copied from interface:WorkflowComponentWithID
Returns the log message,- Specified by:
getLogMessage
in interfaceWorkflowComponentWithID
- Overrides:
getLogMessage
in classAbstractWorkflowComponent
- Returns:
- the log message
- See Also:
-
getComponentName
Description copied from class:AbstractWorkflowComponent
Returns the component's name. Overridable by custom components.- Specified by:
getComponentName
in interfaceWorkflowComponent
- Overrides:
getComponentName
in classAbstractWorkflowComponent
- Returns:
- simple class name by default
- See Also:
-