org.eclipse.emf.ecore.xcore.ui.contentassist
Class ImportingTypesProposalProvider.FQNImporter

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.contentassist.ReplacementTextApplier
      extended by org.eclipse.xtext.common.types.xtext.ui.JdtTypesProposalProvider.FQNShortener
          extended by org.eclipse.emf.ecore.xcore.ui.contentassist.ImportingTypesProposalProvider.FQNImporter
All Implemented Interfaces:
org.eclipse.xtext.ui.editor.contentassist.ConfigurableCompletionProposal.IReplacementTextApplier
Enclosing class:
ImportingTypesProposalProvider

public static class ImportingTypesProposalProvider.FQNImporter
extends org.eclipse.xtext.common.types.xtext.ui.JdtTypesProposalProvider.FQNShortener


Field Summary
 
Fields inherited from class org.eclipse.xtext.common.types.xtext.ui.JdtTypesProposalProvider.FQNShortener
context, qualifiedNameConverter, scope, valueConverter
 
Constructor Summary
ImportingTypesProposalProvider.FQNImporter(Resource context, ITextViewer viewer, org.eclipse.xtext.scoping.IScope scope, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, org.eclipse.xtext.conversion.IValueConverter<java.lang.String> valueConverter, org.eclipse.xtext.conversion.impl.QualifiedNameValueConverter importConverter)
           
 
Method Summary
 void apply(IDocument document, org.eclipse.xtext.ui.editor.contentassist.ConfigurableCompletionProposal proposal)
           
 
Methods inherited from class org.eclipse.xtext.common.types.xtext.ui.JdtTypesProposalProvider.FQNShortener
applyValueConverter, getActualReplacementString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportingTypesProposalProvider.FQNImporter

public ImportingTypesProposalProvider.FQNImporter(Resource context,
                                                  ITextViewer viewer,
                                                  org.eclipse.xtext.scoping.IScope scope,
                                                  org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter,
                                                  org.eclipse.xtext.conversion.IValueConverter<java.lang.String> valueConverter,
                                                  org.eclipse.xtext.conversion.impl.QualifiedNameValueConverter importConverter)
Method Detail

apply

public void apply(IDocument document,
                  org.eclipse.xtext.ui.editor.contentassist.ConfigurableCompletionProposal proposal)
           throws BadLocationException
Specified by:
apply in interface org.eclipse.xtext.ui.editor.contentassist.ConfigurableCompletionProposal.IReplacementTextApplier
Overrides:
apply in class org.eclipse.xtext.ui.editor.contentassist.ReplacementTextApplier
Throws:
BadLocationException

Copyright 2001-2012 IBM Corporation and others.
All Rights Reserved.