org.eclipse.xtext.ui.codetemplates.ui.projectedEditing
Class ProjectionAwareProposalAcceptor

java.lang.Object
  extended by org.eclipse.xtext.ui.codetemplates.ui.projectedEditing.ProjectionAwareProposalAcceptor
All Implemented Interfaces:
ICompletionProposalAcceptor

public class ProjectionAwareProposalAcceptor
extends java.lang.Object
implements ICompletionProposalAcceptor

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor
ICompletionProposalAcceptor.Delegate
 
Constructor Summary
ProjectionAwareProposalAcceptor(ICompletionProposalAcceptor acceptor, IProjectedContent projectionData)
           
 
Method Summary
 void accept(org.eclipse.jface.text.contentassist.ICompletionProposal proposal)
           
 boolean canAcceptMoreProposals()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectionAwareProposalAcceptor

public ProjectionAwareProposalAcceptor(ICompletionProposalAcceptor acceptor,
                                       IProjectedContent projectionData)
Method Detail

accept

public void accept(org.eclipse.jface.text.contentassist.ICompletionProposal proposal)
Specified by:
accept in interface ICompletionProposalAcceptor

canAcceptMoreProposals

public boolean canAcceptMoreProposals()
Specified by:
canAcceptMoreProposals in interface ICompletionProposalAcceptor