Throw up a dialog box to show "about" info.
@return true.
170123
public boolean onAbout()
    {
        Application application = this.getApplication();
        application.getResources(null, true);   // Set the resource bundle to default
        String strTitle = this.getString(ThinMenuConstants.ABOUT);
        String strMessage = this.getString("Copyright");
        JOptionPane.showMessageDialog(ScreenUtil.getFrame(this), strMessage, strTitle, JOptionPane.INFORMATION_MESSAGE);
        return true;
    }
329519
public boolean isShowing() {
    View view = decorView.findViewById(R.id.dialogplus_outmost_container);
    return view != null;
  }
1174293
public boolean onHome()
    {
        if (!(this instanceof BaseScreen))
            return false;   // This can only be called from the main screen
        BasePanel screenParent = this.getParentScreen();
        
		int count = 0;
		while (screenParent.popHistory(1, false) != null)
		{	// Pop all the history.
			count++;
		}
		count--;	// Want to move back to the first one
		if (count > 0)
			screenParent.popHistory(count, true);		// Dump all browser history
        String strLastCommand = Utility.addURLParam(null, Params.MENU, Constant.BLANK);  //"?menu="; // Blank command = home
        this.handleCommand(strLastCommand, this, ScreenConstants.USE_SAME_WINDOW | ScreenConstants.DONT_PUSH_TO_BROWSER);     // Process the last command in this window
        return true;    // Handled
    }
919082
public boolean onLogout()
    {
        App application = this.getTask().getApplication();
        int iErrorCode = application.login(this.getTask(), null, null, this.getProperty(DBParams.DOMAIN));
        if (iErrorCode != DBConstants.NORMAL_RETURN)
            return false;
        String strMenu = this.getProperty(DBParams.HOME);
        if (strMenu == null)
            strMenu = this.getTask().getProperty(DBParams.MENU);
        if (strMenu != null)
        {
            BasePanel screenParent = this.getParentScreen();
			int count = 0;
			while (screenParent.popHistory(1, false) != null)
			{
				count++;
			}
			count--;	// Want to move back to the first one
			if (count > 0)
				popHistory(count, true);		// Dump all browser history
            Map<String,Object> properties = this.getProperties();
            this.finalizeThisScreen();  // Validate current control, update record, get ready to close screen.
            if (!(this instanceof MenuScreen))
            {
                this.free();
                new MenuScreen(null, null, screenParent, null, ScreenConstants.MAINT_MODE, properties);
            }
            else
                this.doCommand("?" +  DBParams.MENU + '=' + strMenu, this, ScreenConstants.USE_SAME_WINDOW | DBConstants.PUSH_TO_BROWSER);
        }
        return true;   // Should always be successful        
    }
932177
public boolean isPrintReport()
    {
        boolean bPrintReport = false;
//        if ((this.getScreenRecord() == null)    // This tells the RecordHtmlScreen to display the data
  //          || (this.getScreenRecord().getField(DBConstants.MAIN_FIELD).isModified()))  // Flag screen record, so toolbar knows
    //            bPrintReport = true;
        if ((HtmlConstants.DISPLAY.equalsIgnoreCase(this.getProperty(HtmlConstants.FORMS)))
            || (HtmlConstants.BOTH.equalsIgnoreCase(this.getProperty(HtmlConstants.FORMS))))
                bPrintReport = true;
        if (this.getProperty(DBParams.XML) != null)
            bPrintReport = true;    // Always a report screen
        return bPrintReport;
    }
1177795
public boolean onChangePassword()
    {
        Record record = Record.makeRecordFromClassName(UserInfoModel.THICK_CLASS, this);
        this.removeRecord(record);
        BasePanel parentScreen = this.getParentScreen();
        ScreenLocation itsLocation = this.getScreenLocation();
        this.finalizeThisScreen();  // Validate current control, update record, get ready to close screen.
        Map<String,Object> properties = null;
        this.free();
        int docMode = record.commandToDocType(UserInfoModel.PASSWORD_CHANGE_SCREEN);
        record.makeScreen(itsLocation, parentScreen, docMode, properties);
        return true;   // Should always be successful
    }
1363824
def about( info, parent = None, logo = '' ):
        
        
        dlg = XAboutDialog(parent)
        dlg.setLogo(logo)
        dlg.setInfo(info)
        
        dlg.exec_()
424212
@SuppressWarnings("unchecked")
    protected boolean isValid() {

        boolean res = true;

        res = res & m_description.isValid();
        res = res & m_name.isValid();
        if (!res) {
            return res;
        }
        for (I_CmsEditableGroupRow row : m_ouResources.getRows()) {
            if (!((AbstractField<String>)row.getComponent()).isValid()) {
                return false;
            }
        }
        return true;
    }
1305194
public boolean hasSelectFolder() {

        if (hasSelectResource()) {
            for (CmsResourceTypeBean type : m_dialogBean.getTypes()) {
                if (type.getType().contains(I_CmsGalleryProviderConstants.RESOURCE_TYPE_FOLDER)) {
                    return true;
                }
            }
        }
        return false;
    }
743018
private void onShow() {

        if (m_detailsFieldset != null) {
            m_detailsFieldset.getContentPanel().getElement().getStyle().setPropertyPx(
                "maxHeight",
                getAvailableHeight(m_messageWidget.getOffsetHeight()));
        }
    }
695357
public boolean showSize() {

        CmsListItemDetails details = getList().getMetadata().getItemDetailDefinition(LIST_DETAIL_SIZE);
        return (details != null) && details.isVisible();
    }
996861
function () {
        var self = this;

        self.aria('haspopup', true);

        self.on('click', function (e) {
          if (e.control === self) {
            if (self.panel && self.panel.visible()) {
              self.hidePanel();
            } else {
              self.showPanel();
              self.panel.focus(!!e.aria);
            }
          }
        });

        return self._super();
      }
246334
def about(self):
        
        aboutDialog = AboutDialog(parent=self)
        aboutDialog.show()
        aboutDialog.addDependencyInfo()
1007910
function action_detail()
    {
        if (isset($_GET['id']))
        {
            $this->vars['det'] = $this->model->get((int)$_GET['id'])->get();
            if ($this->detail_callback)
            {
                call_user_func($this->detail_callback, $this);
            }
            $this->swoole->tpl->assign('det', $this->vars['det']);

            return true;
        }

        return false;
    }
471910
def showDetails(self):
        
        msg = self.currentItem().data(QtCore.Qt.UserRole)
        desc = msg.description
        desc = desc.replace('\r\n', '\n').replace('\r', '\n')
        desc = desc.replace('\n', '<br/>')
        QtWidgets.QMessageBox.information(
            self, _('Message details'),
            _("""<p><b>Description:</b><br/>%s</p>
<p><b>File:</b><br/>%s</p>
<p><b>Line:</b><br/>%d</p>
            """) % (desc, msg.path, msg.line + 1, ))
546404
final public function checkInfo()
    {
        $info_check_keys = ['name', 'title', 'description', 'status', 'author', 'version'];
        foreach ($info_check_keys as $value) {
            if (! array_key_exists($value, $this->info)) {
                return false;
            }
        }

        return true;
    }
1262537
public Details getDetails() {
    // that web or installed, but not both
    Preconditions.checkArgument((web == null) != (installed == null));
    return web == null ? installed : web;
  }