org.eclipse.xtend.shared.ui.core.builder
Interface IMarkerFactory

All Known Implementing Classes:
IMarkerFactory.Default

public interface IMarkerFactory

Author:
Benedikt Niehues - Initial contribution and API

Nested Class Summary
static class IMarkerFactory.Default
           
 
Method Summary
 org.eclipse.core.resources.IMarker createMarker(org.eclipse.core.resources.IResource resource, java.lang.String message, int severity, int line)
          this method is called before the marker will be set to the resource.
 org.eclipse.core.resources.IMarker createMarker(org.eclipse.core.resources.IResource resource, java.lang.String message, int severity, int start, int end)
          this method is called before the marker will be set to the resource.
 org.eclipse.core.resources.IMarker createMarker(org.eclipse.core.resources.IResource resource, java.lang.String message, int severity, int start, int end, int line, java.lang.String location)
          this method is called before the marker will be set to the resource.
 org.eclipse.core.resources.IMarker createMarker(org.eclipse.core.resources.IResource resource, java.lang.String message, int severity, int start, int end, int line, java.lang.String location, java.lang.String issueType)
          this method is called before the marker will be set to the resource.
 void preDeleteMarkers(org.eclipse.core.resources.IResource resource)
          this method is called before markers will be deleted from resource.
 

Method Detail

createMarker

org.eclipse.core.resources.IMarker createMarker(org.eclipse.core.resources.IResource resource,
                                                java.lang.String message,
                                                int severity,
                                                int start,
                                                int end)
                                                throws org.eclipse.core.runtime.CoreException
this method is called before the marker will be set to the resource. Implementations should only create the IMarker, set Attributes as needed and do the rest of their needs. Setting it to the Resource should not be done.

Throws:
org.eclipse.core.runtime.CoreException

createMarker

org.eclipse.core.resources.IMarker createMarker(org.eclipse.core.resources.IResource resource,
                                                java.lang.String message,
                                                int severity,
                                                int start,
                                                int end,
                                                int line,
                                                java.lang.String location)
                                                throws org.eclipse.core.runtime.CoreException
this method is called before the marker will be set to the resource. Implementations should only create the IMarker, set Attributes as needed and do the rest of their needs. Setting it to the Resource should not be done.

Throws:
org.eclipse.core.runtime.CoreException

createMarker

org.eclipse.core.resources.IMarker createMarker(org.eclipse.core.resources.IResource resource,
                                                java.lang.String message,
                                                int severity,
                                                int start,
                                                int end,
                                                int line,
                                                java.lang.String location,
                                                java.lang.String issueType)
                                                throws org.eclipse.core.runtime.CoreException
this method is called before the marker will be set to the resource. Implementations should only create the IMarker, set Attributes as needed and do the rest of their needs. Setting it to the Resource should not be done.

Throws:
org.eclipse.core.runtime.CoreException

createMarker

org.eclipse.core.resources.IMarker createMarker(org.eclipse.core.resources.IResource resource,
                                                java.lang.String message,
                                                int severity,
                                                int line)
                                                throws org.eclipse.core.runtime.CoreException
this method is called before the marker will be set to the resource. Implementations should only create the IMarker, set Attributes as needed and do the rest of their needs. Setting it to the Resource should not be done.

Throws:
org.eclipse.core.runtime.CoreException

preDeleteMarkers

void preDeleteMarkers(org.eclipse.core.resources.IResource resource)
this method is called before markers will be deleted from resource. Implementors can handle their needs before markers will be deleted from resource