_quickEditTabSections = null;
_groupsManager = null;
}
private Entity getTagEntity(IWorkbenchPart part, ISelection selection, Element node){
HTMLEditor ed = null;
if (part instanceof HTMLEditor)
ed = (HTMLEditor)part;
if (ed == null)
return null;
if (ed.getEditorInput() instanceof FileEditorInput) {
FileEditorInput input = (FileEditorInput)ed.getEditorInput();
IStructuredDocumentContext context = IStructuredDocumentContextFactory.INSTANCE.getContext(ed.getDocument(), node);
if (context != null){
ITaglibContextResolver resolver = IStructuredDocumentContextResolverFactory.INSTANCE.getTaglibContextResolver(context);
if (resolver != null){
ITaglibDomainMetaDataModelContext mdContext = TaglibDomainMetaDataQueryHelper.createMetaDataModelContext(input.getFile().getProject(),resolver.getTagURIForNodeName(node));
return TaglibDomainMetaDataQueryHelper.getEntity(mdContext, node.getLocalName());