Phil Weinstein, CADSWES, 6-6-2014, RiverWare 6.5 Diag Message Popup Dialog: "Open Selected Named Item..." now supports major RPL Object references Bug Number: n/a Release notes (y/n): Y For Release Nums: 6.5 The Diagnostic Output Window's Message Popup Dialog (introduced in 2011 for RiverWare 6.1) originally supported an "Open Selected Named Item..." button which became enabled when the selected text within the message was the complete name of a SimObj, Account or Slot. Clicking that button opened up the "open" dialog for that object, account or slot. See a description and screenshots: https://cadswes2.colorado.edu/~philw/2011/DiagMsgPopup/ With this commit, this capability was extended to support major RPL Objects (RplSets, Groups, Blocks, User-defined Functions). See changes in these methods: DiagOutputWidget::MessagePopup::processSelection() DiagOutputWidget::MessagePopup::openObjBut_clicked() This initial support is for those types of user-named RPL Objects in these three RplSets: RuleSetMgr::instance()->getLoadedSet(); OptSetMgr::instance()->getLoadedSet(); rwWorkspace->getInitRules(); The implementation makes use of this new GUI support method in RplObj, applied to each of the three RplSets listed above. // This GUI support method searches for a "major" RplObj by name at or // under this RplObj. A "major" RplObj is one which has ITS OWN RplObj // DIALOG. Since this is used only for GUI support, its results can // freely be changed, as appropriate. This method is recursive, but // (in actual use) to only three levels from RplSet. // RplObj* RplObj::findMajorObj(const QString& refName) const: ---