org.jupe.editors.classdiagram.model.nodes.contentassistent
Class TypeNameProposalProvider

java.lang.Object
  extended by org.jupe.editors.classdiagram.model.nodes.contentassistent.TypeNameProposalProvider
All Implemented Interfaces:
org.eclipse.jface.fieldassist.IContentProposalProvider

public class TypeNameProposalProvider
extends java.lang.Object
implements org.eclipse.jface.fieldassist.IContentProposalProvider

Class provides text proposals for types regarding current content and position of cursor.

Author:
Roman, Michael Pradel

Constructor Summary
TypeNameProposalProvider(ModelElement modelElement)
          Constructor that should be called, when the user uses auto-completion for types.
 
Method Summary
 org.eclipse.jface.fieldassist.IContentProposal[] getProposals(java.lang.String contents, int position)
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeNameProposalProvider

public TypeNameProposalProvider(ModelElement modelElement)
Constructor that should be called, when the user uses auto-completion for types.

Parameters:
modelElement - The model element that has a property "type name", which is that class helps to resolve.
Method Detail

getProposals

public org.eclipse.jface.fieldassist.IContentProposal[] getProposals(java.lang.String contents,
                                                                     int position)

Specified by:
getProposals in interface org.eclipse.jface.fieldassist.IContentProposalProvider