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, hasMarkers
protected String getMarkerID()
getMarkerID
in class org.eclipse.emf.common.ui.MarkerHelper
protected org.eclipse.core.resources.IFile getFile(Object datum)
getFile
in class org.eclipse.emf.edit.ui.util.EditUIMarkerHelper
protected 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.MarkerHelper
org.eclipse.core.runtime.CoreException
protected 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.EditUIMarkerHelper
org.eclipse.core.runtime.CoreException
Copyright © 2019. All rights reserved.