public abstract class AbstractPomProblemResolution extends EditorAwareMavenProblemResolution
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ARTIFACT_ID_NODE |
protected static java.lang.String |
GROUP_ID_NODE |
protected static java.lang.String |
PROJECT_NODE |
protected static java.lang.String |
VERSION_NODE |
LOG
Modifier | Constructor and Description |
---|---|
protected |
AbstractPomProblemResolution(org.eclipse.core.resources.IMarker marker) |
Modifier and Type | Method and Description |
---|---|
boolean |
canFix(org.eclipse.core.resources.IMarker marker) |
protected abstract boolean |
canFix(java.lang.String editorHint) |
protected void |
fix(org.eclipse.jface.text.IDocument document,
java.util.List<org.eclipse.core.resources.IMarker> markers,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
fix(org.eclipse.core.resources.IResource resource,
java.util.List<org.eclipse.core.resources.IMarker> markers,
org.eclipse.core.runtime.IProgressMonitor monitor) |
(package private) static java.lang.String |
previewForRemovedElement(org.eclipse.jface.text.IDocument doc,
org.w3c.dom.Element removed) |
protected abstract void |
processFix(org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument doc,
org.w3c.dom.Element root,
java.util.List<org.eclipse.core.resources.IMarker> markers) |
fix, getQuickAssistContext, setQuickAssistContext
apply, findOtherMarkers, getAdditionalProposalInfo, getAdditionalProposalInfo, getContextInformation, getDescription, getDisplayString, getMarker, getOrder, getOrder, getProjects, getResolutions, getSelection, hasResolutions, includeProposal, includeResolution, isSingleton, run, run
protected static final java.lang.String PROJECT_NODE
protected static final java.lang.String GROUP_ID_NODE
protected static final java.lang.String ARTIFACT_ID_NODE
protected static final java.lang.String VERSION_NODE
protected AbstractPomProblemResolution(org.eclipse.core.resources.IMarker marker)
protected abstract boolean canFix(java.lang.String editorHint)
protected abstract void processFix(org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument doc, org.w3c.dom.Element root, java.util.List<org.eclipse.core.resources.IMarker> markers)
public final boolean canFix(org.eclipse.core.resources.IMarker marker)
canFix
in class MavenProblemResolution
protected final void fix(org.eclipse.jface.text.IDocument document, java.util.List<org.eclipse.core.resources.IMarker> markers, org.eclipse.core.runtime.IProgressMonitor monitor)
fix
in class EditorAwareMavenProblemResolution
protected final void fix(org.eclipse.core.resources.IResource resource, java.util.List<org.eclipse.core.resources.IMarker> markers, org.eclipse.core.runtime.IProgressMonitor monitor)
fix
in class EditorAwareMavenProblemResolution
static java.lang.String previewForRemovedElement(org.eclipse.jface.text.IDocument doc, org.w3c.dom.Element removed)