Returns the title of this dialog. If no specific title has been set, the
calling command's text will be used. If that doesn't yield a result, the
default title is returned.

@see #getCallingCommandText()
@see #DEFAULT_DIALOG_TITLE
779251
protected String getTitle() {
		if (!StringUtils.hasText(this.title)) {
			if (StringUtils.hasText(getCallingCommandText()))
				return getCallingCommandText();

			return DEFAULT_DIALOG_TITLE;
		}
		return this.title;
	}
1236376
@Override
	public String getTitle() {
		HtmlElement title = htmlElements().find("title");
		return title != null ? title.getText() : null;
	}
810001
public function get_title() {
        $str = '';

        if (isset($this->refno_t)) {
            $str = $this->refno_t;

            if (isset($this->altrefno_t)) {
                $str .= ' / ' . $this->altrefno_t;
            }
        }

        return $str;
    }
906572
public java.lang.String getTitle() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.title);

    }
130028
def get_title(desc, default=None):
    """"""
    if not desc:
        return default
    lines = desc.strip('\n').split('\n')
    if not lines:
        return default
    return lines[0].lstrip('# ').rstrip(' ')
293192
def _get_dialog_title(self):
        """"""

        title_filetype = self.filetype[0].upper() + self.filetype[1:]

        if self.filetype == "print":
            title_export = ""
        else:
            title_export = " export"

        return _("{filetype}{export} options").format(filetype=title_filetype,
                                                      export=title_export)
559123
public String getTitle() {

        CmsGallerySearchResult result;
        try {
            result = CmsGallerySearch.searchById(
                m_value.getCmsObject(),
                m_value.getContentValue().getDocument().getFile().getStructureId(),
                m_value.getLocale());
            return result.getTitle();
        } catch (CmsException e) {
            LOG.warn("Could not retrieve title of series content.", e);
            return "";
        }

    }
1135074
def get_title(self):
        
        w = self.arrangement.get_active_window()

        if w and w.active_process:
            title = w.active_process.screen.title
        else:
            title = ''

        if title:
            return '%s - Pymux' % (title, )
        else:
            return 'Pymux'
762045
public String getTitle() {
        return getSlide().getContent() == null || getSlide().getContent().isEmpty() || getSlide().getContent().get(0).getTitle() == null ? null
                : getSlide().getContent().get(0).getTitle().replaceAll("\\\\n", "\n");
    }
791903
public String getCommand()
    {
        String command = "";
        synchronized(this)
        {
            if (commandQueue.size() > 0)
            {
                command = commandQueue.remove(0).command;
            }
        }
        return command;
    }
245880
public String getDialogTitle() {

        return OpenCms.getWorkplaceManager().getMessages(A_CmsUI.get().getLocale()).key(getDialogTitleKey());
    }
1255104
private <T extends CommandType> T getCommand() {
        if (command == null) {
            if (getPayload() instanceof String) {
                this.command = (T) marshaller.unmarshal(new StringSource(getPayload(String.class)));
            }
        }

        return (T) command;
    }
1296565
def title( self ):
        
        if ( self.currentMode() == XCalendarScene.Mode.Day ):
            return self.currentDate().toString('dddd, MMMM dd, yyyy')
        
        elif ( self.currentMode() == XCalendarScene.Mode.Week ):
            title = nativestring(self.minimumDate().toString('dddd, MMMM dd'))
            title += ' - '
            title += nativestring(self.maximumDate().toString('dddd, MMMM dd, yyyy'))
            return title
        
        elif ( self.currentMode() == XCalendarScene.Mode.Month ):
            return self.currentDate().toString('MMMM yyyy')
        
        else:
            return ''
285495
public function getTitle()
    {
        $title = null;

        if (isset($this->parent->title)) {
            $title = $this->parent->title;
        }

        return $title;
    }
1211595
public static String getTitle(final String namePattern, final String methodName,
                                  final Object instance, final Object... parameters) {
        final String finalPattern = namePattern
                .replaceAll("\\{method}", methodName)
                .replaceAll("\\{this}", String.valueOf(instance));
        final int paramsCount = parameters == null ? 0 : parameters.length;
        final Object[] results = new Object[paramsCount];
        for (int i = 0; i < paramsCount; i++) {
            results[i] = arrayToString(parameters[i]);
        }

        return MessageFormat.format(finalPattern, results);
    }
427666
public static String showInputDialog(String title, String header, String content, String defaultValue) {
        TextInputDialog dialog = new TextInputDialog(defaultValue);
        dialog.setTitle(title);
        dialog.setHeaderText(header);
        dialog.setContentText(content);

        Optional<String> result = dialog.showAndWait();
        return result.orElse(null);
    }
988499
def title(self):
        
        if not self._title:
            return projex.text.pretty(self.name())
        return self._title