org.jupe.source.java
Class JavaTypeContentProposal

java.lang.Object
  extended by org.jupe.source.java.JavaTypeContentProposal
All Implemented Interfaces:
org.eclipse.jface.fieldassist.IContentProposal, ITypeContentProposal

public class JavaTypeContentProposal
extends java.lang.Object
implements ITypeContentProposal

IContentProposal implementation that transform a IJavaCompletionProposal into an IContentProposal.

Author:
Michael Pradel

Constructor Summary
JavaTypeContentProposal(org.eclipse.jdt.ui.text.java.IJavaCompletionProposal newJavaProposal)
           
 
Method Summary
 java.lang.String getContent()
           
 int getCursorPosition()
           
 java.lang.String getDescription()
           
 java.lang.String getLabel()
           
 void setContent(java.lang.String newContent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaTypeContentProposal

public JavaTypeContentProposal(org.eclipse.jdt.ui.text.java.IJavaCompletionProposal newJavaProposal)
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

setContent

public void setContent(java.lang.String newContent)
Specified by:
setContent in interface ITypeContentProposal