public class LifecycleMappingResolution extends EditorAwareMavenProblemResolution
Modifier and Type | Field and Description |
---|---|
protected PluginExecutionAction |
action |
LOG
Constructor and Description |
---|
LifecycleMappingResolution(org.eclipse.core.resources.IMarker marker,
PluginExecutionAction action) |
Modifier and Type | Method and Description |
---|---|
boolean |
canFix(org.eclipse.core.resources.IMarker marker) |
protected void |
fix(org.eclipse.jface.text.IDocument document,
List<org.eclipse.core.resources.IMarker> markers,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
fix(org.eclipse.core.resources.IResource resource,
List<org.eclipse.core.resources.IMarker> markers,
org.eclipse.core.runtime.IProgressMonitor monitor) |
Object |
getAdditionalProposalInfo(org.eclipse.core.runtime.IProgressMonitor monitor) |
org.eclipse.swt.graphics.Image |
getImage() |
String |
getLabel() |
int |
getOrder() |
org.eclipse.swt.graphics.Point |
getSelection(org.eclipse.jface.text.IDocument document) |
fix, getQuickAssistContext, setQuickAssistContext
apply, findOtherMarkers, getAdditionalProposalInfo, getContextInformation, getDescription, getDisplayString, getMarker, getOrder, getProjects, getResolutions, hasResolutions, includeProposal, includeResolution, isSingleton, run, run
protected final PluginExecutionAction action
public LifecycleMappingResolution(org.eclipse.core.resources.IMarker marker, PluginExecutionAction action)
public int getOrder()
getOrder
in class MavenProblemResolution
protected void fix(org.eclipse.jface.text.IDocument document, List<org.eclipse.core.resources.IMarker> markers, org.eclipse.core.runtime.IProgressMonitor monitor)
fix
in class EditorAwareMavenProblemResolution
protected void fix(org.eclipse.core.resources.IResource resource, List<org.eclipse.core.resources.IMarker> markers, org.eclipse.core.runtime.IProgressMonitor monitor)
fix
in class EditorAwareMavenProblemResolution
public String getLabel()
public org.eclipse.swt.graphics.Point getSelection(org.eclipse.jface.text.IDocument document)
getSelection
in interface org.eclipse.jface.text.contentassist.ICompletionProposal
getSelection
in class MavenProblemResolution
public Object getAdditionalProposalInfo(org.eclipse.core.runtime.IProgressMonitor monitor)
getAdditionalProposalInfo
in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension5
getAdditionalProposalInfo
in class MavenProblemResolution
public org.eclipse.swt.graphics.Image getImage()
public boolean canFix(org.eclipse.core.resources.IMarker marker) throws org.eclipse.core.runtime.CoreException
canFix
in class MavenProblemResolution
org.eclipse.core.runtime.CoreException
Copyright © 2005–2018 Eclipse Foundation. All rights reserved.