}
private void populateContributedMenu(IMenuManager menuMgr) {
List list = getListeners();
for (int i = 0, n = list.size(); i < n; i++) {
IContextMenuItemContributor contributor = (IContextMenuItemContributor) list
.get(i);
IFile file = StructuredModelUtil.getFileFor(_model);
if (file != null && contributor.getURI() != null) {
if (JSPUtil.supportTaglib(contributor.getURI(), file)) {
contributor.fillContextMenu(menuMgr, getContext()
.getSelection(), _model, _parentControl);
}
}
}
}