Code example for Attr

Methods: getName

0
public class WizardContentAssistConverter extends AbstractContentAssistConverter { 
 
	private final IDOMDocument originalDocument;
 
	public WizardContentAssistConverter(IDOMNode node, Attr attribute, IFile file, IDOMDocument originalDocument) {
		super(node, attribute != null ? attribute.getName() : null, file);
		this.originalDocument = originalDocument;
	} 
 
	@Override 
	protected IContentAssistContext createContext(IDOMNode node, String attributeName, IFile file, String prefix) {
		return new WizardContentAssistContext(node, attributeName, file, prefix, originalDocument);
	} 
 
}