public class DefaultMarkerHelper
extends org.eclipse.emf.edit.ui.util.EditUIMarkerHelper
MarkerHelper that accounts for the fact
that the ValidationServiceDelegate unloads its resource set before markers
are created, so that objects in the diagnostics are
proxies by the time markers are created.| Constructor and Description |
|---|
DefaultMarkerHelper()
Initializes me.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustMarker(org.eclipse.core.resources.IMarker marker,
org.eclipse.emf.common.util.Diagnostic diagnostic,
org.eclipse.emf.common.util.Diagnostic parentDiagnostic)
Add attributes to store the URIs of the problematic object and the feature (if any).
|
protected void |
createMarkers(org.eclipse.core.resources.IResource resource,
org.eclipse.emf.common.util.Diagnostic diagnostic,
org.eclipse.emf.common.util.Diagnostic parentDiagnostic) |
protected org.eclipse.core.resources.IFile |
getFile(Object datum) |
protected String |
getMarkerID() |
adjustMarker, deleteMarkers, getDiagnosticData, getInstrinciDiagnostics, getMarkerDiagnostics, getTargetObjects, hasMarkersprotected String getMarkerID()
getMarkerID in class org.eclipse.emf.common.ui.MarkerHelperprotected org.eclipse.core.resources.IFile getFile(Object datum)
getFile in class org.eclipse.emf.edit.ui.util.EditUIMarkerHelperprotected void createMarkers(org.eclipse.core.resources.IResource resource,
org.eclipse.emf.common.util.Diagnostic diagnostic,
org.eclipse.emf.common.util.Diagnostic parentDiagnostic)
throws org.eclipse.core.runtime.CoreException
createMarkers in class org.eclipse.emf.common.ui.MarkerHelperorg.eclipse.core.runtime.CoreExceptionprotected void adjustMarker(org.eclipse.core.resources.IMarker marker,
org.eclipse.emf.common.util.Diagnostic diagnostic,
org.eclipse.emf.common.util.Diagnostic parentDiagnostic)
throws org.eclipse.core.runtime.CoreException
adjustMarker in class org.eclipse.emf.edit.ui.util.EditUIMarkerHelperorg.eclipse.core.runtime.CoreExceptionCopyright © 2020. All rights reserved.