Class MarkerMaker

java.lang.Object
org.eclipse.m2m.atl.engine.MarkerMaker

public class MarkerMaker extends Object
The MarkerMaker class.
  • Field Details

  • 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 resource
      eos - 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