org.hibernate.tool.ide.completion
Class HQLCodeAssist
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HQLCodeAssist
public HQLCodeAssist(org.hibernate.cfg.Configuration configuration)
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 stringcollector - requestor on which the codeassist will call methods with information about proposals.
findNearestWhiteSpace
public int findNearestWhiteSpace(CharSequence doc,
int start)