use of org.ovirt.engine.ui.uicommonweb.help.HelpTag in project ovirt-engine by oVirt.
the class AbstractModelBoundPopupPresenterWidget method updateHelpTag.
protected void updateHelpTag(T model) {
HelpTag helpTag = model.getHelpTag();
UICommand command = model.getOpenDocumentationCommand();
if (command != null && helpTag != null && ContextSensitiveHelpManager.getPath(helpTag.name()) != null) {
command.setIsAvailable(true);
// also sets the help icon visible
getView().setHelpCommand(command);
}
}