KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > eclipse > mapper > extractor > HBMInfoHandler


1 /**
2  *
3  */

4 package org.hibernate.eclipse.mapper.extractor;
5
6 import org.eclipse.jdt.core.IJavaElement;
7 import org.eclipse.jdt.core.IJavaProject;
8 import org.eclipse.jface.text.contentassist.ICompletionProposal;
9 import org.w3c.dom.Attr JavaDoc;
10 import org.w3c.dom.Node JavaDoc;
11
12 public interface HBMInfoHandler {
13     /**
14      * Provide completion proposals
15      *
16      **/

17      public ICompletionProposal[] attributeCompletionProposals(IJavaProject javaProject, Node JavaDoc node, String JavaDoc attributeName, String JavaDoc start, int offset);
18
19      /** Provide JavaElement info for hyperlinking */
20     public IJavaElement getJavaElement(IJavaProject project, Node JavaDoc currentNode, Attr JavaDoc currentAttrNode);
21 }
Popular Tags