org.eclipse.xtext.ui.editor.hover
Class AnnotationWithQuickFixesHover.AnnotationInfo
java.lang.Object
org.eclipse.xtext.ui.editor.hover.AnnotationWithQuickFixesHover.AnnotationInfo
- Enclosing class:
- AnnotationWithQuickFixesHover
public static class AnnotationWithQuickFixesHover.AnnotationInfo
- extends java.lang.Object
Field Summary |
org.eclipse.jface.text.source.Annotation |
annotation
|
org.eclipse.jface.text.Position |
position
|
org.eclipse.jface.text.contentassist.ICompletionProposal[] |
proposals
|
org.eclipse.jface.text.ITextViewer |
viewer
|
Constructor Summary |
AnnotationWithQuickFixesHover.AnnotationInfo(org.eclipse.jface.text.source.Annotation annotation,
org.eclipse.jface.text.Position position,
org.eclipse.jface.text.ITextViewer textViewer,
org.eclipse.jface.text.contentassist.ICompletionProposal[] proposals)
|
Method Summary |
void |
fillToolBar(org.eclipse.jface.action.ToolBarManager manager,
org.eclipse.jface.text.IInformationControl infoControl)
Adds actions to the given toolbar. |
org.eclipse.jface.text.contentassist.ICompletionProposal[] |
getCompletionProposals()
Create completion proposals which can resolve the given annotation at
the given position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotation
public final org.eclipse.jface.text.source.Annotation annotation
position
public final org.eclipse.jface.text.Position position
viewer
public final org.eclipse.jface.text.ITextViewer viewer
proposals
public final org.eclipse.jface.text.contentassist.ICompletionProposal[] proposals
AnnotationWithQuickFixesHover.AnnotationInfo
public AnnotationWithQuickFixesHover.AnnotationInfo(org.eclipse.jface.text.source.Annotation annotation,
org.eclipse.jface.text.Position position,
org.eclipse.jface.text.ITextViewer textViewer,
org.eclipse.jface.text.contentassist.ICompletionProposal[] proposals)
getCompletionProposals
public org.eclipse.jface.text.contentassist.ICompletionProposal[] getCompletionProposals()
- Create completion proposals which can resolve the given annotation at
the given position. Returns an empty array if no such proposals exist.
- Returns:
- the proposals or an empty array
fillToolBar
public void fillToolBar(org.eclipse.jface.action.ToolBarManager manager,
org.eclipse.jface.text.IInformationControl infoControl)
- Adds actions to the given toolbar.
- Parameters:
manager
- the toolbar manager to add actions toinfoControl
- the information control