/** * Sets the end position of the linked mode to the end of the passed range. * @param position The position that describes the end position of the linked mode. */ public void setEndPosition(ITrackedNodePosition position) { getLinkedProposalModel().setEndPosition(position); }
/** * Sets the end position of the linked mode to the end of the passed range. * @param position The position that describes the end position of the linked mode. */ public void setEndPosition(ITrackedNodePosition position) { getLinkedProposalModel().setEndPosition(position); }
/** * Adds a linked position proposal to the group with the given id. * @param groupID The id of the group that should present the proposal * @param proposal The string to propose. * @param image The image to show for the position proposal or <code>null</code> if * no image is desired. */ public void addLinkedPositionProposal(String groupID, String proposal, Image image) { getLinkedProposalModel().getPositionGroup(groupID, true).addProposal(proposal, image, 10); }
/** * Adds a linked position proposal to the group with the given id. * @param groupID The id of the group that should present the proposal * @param proposal The string to propose. * @param image The image to show for the position proposal or <code>null</code> if * no image is desired. */ public void addLinkedPositionProposal(String groupID, String proposal, Image image) { getLinkedProposalModel().getPositionGroup(groupID, true).addProposal(proposal, image, 10); }
/** * Adds a linked position to be shown when the proposal is applied. All positions with the * same group id are linked. * @param position The position to add. * @param isFirst If set, the proposal is jumped to first. * @param groupID The id of the group the proposal belongs to. All proposals in the same group * are linked. */ public void addLinkedPosition(ITrackedNodePosition position, boolean isFirst, String groupID) { getLinkedProposalModel().getPositionGroup(groupID, true).addPosition(position, isFirst); }
/** * Adds a linked position to be shown when the proposal is applied. All positions with the * same group id are linked. * @param position The position to add. * @param sequenceRank The sequence rank, see TODO. * @param groupID The id of the group the proposal belongs to. All proposals in the same group * are linked. */ public void addLinkedPosition(ITrackedNodePosition position, int sequenceRank, String groupID) { getLinkedProposalModel().getPositionGroup(groupID, true).addPosition(position, sequenceRank); }
/** * Adds a linked position to be shown when the proposal is applied. All positions with the * same group id are linked. * @param position The position to add. * @param isFirst If set, the proposal is jumped to first. * @param groupID The id of the group the proposal belongs to. All proposals in the same group * are linked. */ public void addLinkedPosition(ITrackedNodePosition position, boolean isFirst, String groupID) { getLinkedProposalModel().getPositionGroup(groupID, true).addPosition(position, isFirst); }
/** * Adds a linked position to be shown when the proposal is applied. All positions with the * same group id are linked. * @param position The position to add. * @param sequenceRank The sequence rank, see TODO. * @param groupID The id of the group the proposal belongs to. All proposals in the same group * are linked. */ public void addLinkedPosition(ITrackedNodePosition position, int sequenceRank, String groupID) { getLinkedProposalModel().getPositionGroup(groupID, true).addPosition(position, sequenceRank); }
/** * Adds a linked position proposal to the group with the given id. * @param groupID The id of the group that should present the proposal * @param type The binding to use as type name proposal. */ public void addLinkedPositionProposal(String groupID, ITypeBinding type) { getLinkedProposalModel().getPositionGroup(groupID, true).addProposal(type, getCompilationUnit(), 10); }
/** * Adds a linked position proposal to the group with the given id. * @param groupID The id of the group that should present the proposal * @param type The binding to use as type name proposal. */ public void addLinkedPositionProposal(String groupID, ITypeBinding type) { getLinkedProposalModel().getPositionGroup(groupID, true).addProposal(type, getCompilationUnit(), 10); }