org.eclipse.mylar.internal.team.template
Class TemplateHandlerContentProposalProvider.ProposalComputer.Proposal

java.lang.Object
  extended by org.eclipse.mylar.internal.team.template.TemplateHandlerContentProposalProvider.ProposalComputer.Proposal
All Implemented Interfaces:
org.eclipse.jface.fieldassist.IContentProposal
Enclosing class:
TemplateHandlerContentProposalProvider.ProposalComputer

private static final class TemplateHandlerContentProposalProvider.ProposalComputer.Proposal
extends java.lang.Object
implements org.eclipse.jface.fieldassist.IContentProposal

Author:
Eike Stepper

Field Summary
private  java.lang.String description
           
private  java.lang.String keyword
           
private  java.lang.String proposal
           
 
Constructor Summary
private TemplateHandlerContentProposalProvider.ProposalComputer.Proposal(java.lang.String proposal, java.lang.String keyword, java.lang.String description)
           
 
Method Summary
 java.lang.String getContent()
           
 int getCursorPosition()
           
 java.lang.String getDescription()
           
 java.lang.String getLabel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proposal

private final java.lang.String proposal

keyword

private final java.lang.String keyword

description

private final java.lang.String description
Constructor Detail

TemplateHandlerContentProposalProvider.ProposalComputer.Proposal

private TemplateHandlerContentProposalProvider.ProposalComputer.Proposal(java.lang.String proposal,
                                                                         java.lang.String keyword,
                                                                         java.lang.String description)
Method Detail

getContent

public java.lang.String getContent()
Specified by:
getContent in interface org.eclipse.jface.fieldassist.IContentProposal

getCursorPosition

public int getCursorPosition()
Specified by:
getCursorPosition in interface org.eclipse.jface.fieldassist.IContentProposal

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.eclipse.jface.fieldassist.IContentProposal

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface org.eclipse.jface.fieldassist.IContentProposal