1 4 package org.hibernate.eclipse.mapper.extractor; 5 6 import org.eclipse.jdt.core.IJavaProject; 7 import org.eclipse.jface.text.contentassist.ICompletionProposal; 8 import org.hibernate.eclipse.mapper.extractor.HBMXMLResultCollector.Settings; 9 import org.w3c.dom.Node ; 10 11 class PackageHandler extends JavaTypeHandler { 12 13 public PackageHandler(HBMInfoExtractor extractor) { 14 super(extractor); 15 } 16 17 public ICompletionProposal[] attributeCompletionProposals(IJavaProject project, Node node, String attributeName, String start, int offset) { 18 Settings settings = new Settings(); 19 settings.setAcceptPackages(true); 20 return handleTypes(project, settings,extractor.getPackageName(node), start, offset); 21 } 22 } | Popular Tags |