Class ContentProposal
java.lang.Object
org.eclipse.graphiti.ui.internal.parts.directedit.ContentProposal
- All Implemented Interfaces:
org.eclipse.jface.fieldassist.IContentProposal
public class ContentProposal
extends Object
implements org.eclipse.jface.fieldassist.IContentProposal
-
Constructor Summary
ConstructorDescriptionContentProposal
(IDirectEditHolder directEditHolder, int cursorPosition, String currentText, String proposalText, IProposal proposal, String description) -
Method Summary
-
Constructor Details
-
ContentProposal
public ContentProposal(IDirectEditHolder directEditHolder, int cursorPosition, String currentText, String proposalText, IProposal proposal, String description)
-
-
Method Details
-
getContent
- Specified by:
getContent
in interfaceorg.eclipse.jface.fieldassist.IContentProposal
-
getCursorPosition
public int getCursorPosition()- Specified by:
getCursorPosition
in interfaceorg.eclipse.jface.fieldassist.IContentProposal
-
getDescription
- Specified by:
getDescription
in interfaceorg.eclipse.jface.fieldassist.IContentProposal
-
getLabel
- Specified by:
getLabel
in interfaceorg.eclipse.jface.fieldassist.IContentProposal
-
getProposal
- Returns:
- the proposel
-