|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator.ResolutionAdapter
public class MarkerResolutionGenerator.ResolutionAdapter
Constructor Summary | |
---|---|
MarkerResolutionGenerator.ResolutionAdapter(IssueResolution resolution)
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns optional additional information about the resolution. |
org.eclipse.swt.graphics.Image |
getImage()
Returns the image to be displayed in the list of resolutions. |
java.lang.String |
getLabel()
Returns a short label indicating what the resolution will do. |
void |
run(org.eclipse.core.resources.IMarker marker)
Runs this resolution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkerResolutionGenerator.ResolutionAdapter(IssueResolution resolution)
Method Detail |
---|
public java.lang.String getLabel()
org.eclipse.ui.IMarkerResolution
getLabel
in interface org.eclipse.ui.IMarkerResolution
public void run(org.eclipse.core.resources.IMarker marker)
org.eclipse.ui.IMarkerResolution
run
in interface org.eclipse.ui.IMarkerResolution
marker
- the marker to resolvepublic java.lang.String getDescription()
org.eclipse.ui.IMarkerResolution2
getDescription
in interface org.eclipse.ui.IMarkerResolution2
null
public org.eclipse.swt.graphics.Image getImage()
org.eclipse.ui.IMarkerResolution2
getImage
in interface org.eclipse.ui.IMarkerResolution2
null
if no image is desired
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |