org.hibernate.tool.ide.completion
Class HQLCodeAssist

java.lang.Object
  extended by org.hibernate.tool.ide.completion.HQLCodeAssist
All Implemented Interfaces:
IHQLCodeAssist

public class HQLCodeAssist
extends Object
implements IHQLCodeAssist


Constructor Summary
HQLCodeAssist(org.hibernate.cfg.Configuration configuration)
           
 
Method Summary
 void codeComplete(String query, int position, IHQLCompletionRequestor collector)
           
 int findNearestWhiteSpace(CharSequence doc, int start)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HQLCodeAssist

public HQLCodeAssist(org.hibernate.cfg.Configuration configuration)
Method Detail

codeComplete

public void codeComplete(String query,
                         int position,
                         IHQLCompletionRequestor collector)
Specified by:
codeComplete in interface IHQLCodeAssist
Parameters:
query - the query string (full or partial)
position - the cursor position inside the query string
collector - requestor on which the codeassist will call methods with information about proposals.

findNearestWhiteSpace

public int findNearestWhiteSpace(CharSequence doc,
                                 int start)