Package org.eclipse.m2m.atl.engine
Class MarkerMaker
java.lang.Object
org.eclipse.m2m.atl.engine.MarkerMaker
The MarkerMaker class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
applyMarkers
(org.eclipse.core.resources.IFile file, IModel pbs) Transforms the Problem model given as argument into a set of markers.void
resetPbmMarkers
(org.eclipse.core.resources.IResource res, org.eclipse.emf.ecore.EObject[] eos) Resets the marker on a resource.
-
Field Details
-
PROBLEM_MARKER
ATL Problem marker ID.- See Also:
-
-
Constructor Details
-
MarkerMaker
public MarkerMaker()
-
-
Method Details
-
resetPbmMarkers
public void resetPbmMarkers(org.eclipse.core.resources.IResource res, org.eclipse.emf.ecore.EObject[] eos) throws org.eclipse.core.runtime.CoreException Resets the marker on a resource.- Parameters:
res
- the resourceeos
- the problem list- Throws:
org.eclipse.core.runtime.CoreException
-
applyMarkers
public int applyMarkers(org.eclipse.core.resources.IFile file, IModel pbs) throws org.eclipse.core.runtime.CoreException Transforms the Problem model given as argument into a set of markers.- Parameters:
file
- Resource on which markers are to be added.pbs
- The Problem model containing the problems.- Returns:
- The number of errors (Problems with severity #error).
- Throws:
org.eclipse.core.runtime.CoreException
-