Returns a string suitable for titling a window containing this table.
356010
def get_title(self):
        """"""
        def _title(context_model):
            context = context_model.context()
            if context is None:
                return "new context*"
            title = os.path.basename(context.load_path) if context.load_path \
                else "new context"
            if context_model.is_modified():
                title += '*'
            return title

        if self.diff_mode:
            diff_title = _title(self.diff_context_model)
            if self.diff_from_source:
                diff_title += "'"
            return "%s  %s  %s" % (_title(self.context_model),
                                   self.short_double_arrow, diff_title)
        else:
            return _title(self.context_model)
1147646
def windowTitle( self ):
        
        output = os.path.basename(self._filename)
        if ( not output ):
            output = 'New Document'
        
        if ( self.isModified() ):
            output += '*'
        
        return output
124570
def title(self):
        '''
        

        '''

        return self.title_left(on=False), self.title_center(on=False), \
               self.title_right(on=False)
444897
def get_widget_title(tab_label_text):
    
    title = ''
    title_list = tab_label_text.split('_')
    for word in title_list:
        title += word.upper() + ' '
    title.strip()
    return title
253519
def getWindow(title, exact=False):
    
    titles = getWindows()
    hwnd = titles.get(title, None)
    if not hwnd and not exact:
        for k, v in titles.items():
            if title in k:
                hwnd = v
                break
    if hwnd:
        return Window(hwnd)
    else:
        return None
932035
def name(self):
        
        # Name, explicitely set for the window.
        if self.chosen_name:
            return self.chosen_name
        else:
            pane = self.active_pane
            if pane:
                return pane.name

        return ''
639319
def displayName( self ):
        
        if ( not self._displayName ):
            return projex.text.pretty(self.objectName())
        return self._displayName
320749
def get_as_html(self) -> str:
        
        table_string = self._get_pretty_table().get_html_string()
        title = ('{:^' + str(len(table_string.splitlines()[0])) + '}').format(self.title)
        return f'<center><h1>{title}</h1></center>{table_string}'
250814
public static String getTitleGalleryKey(String gallery) {

        StringBuffer sb = new StringBuffer(GUI_TITLE_PREFIX);
        sb.append(gallery.toUpperCase());
        sb.append(GUI_TITLE_POSTFIX);
        return sb.toString();
    }
85820
def string_for l
    if RESERVED_LABELS.include? l
      l.to_s.capitalize
    else
      l.to_s
    end
  end
795668
def show_table(name, table, i, total):
    
    return '[%d/%d, %s] %s' % (i+1, total, table.__appname__, name)
419699
private static String getTitle(final int[] widths) {
		StringBuffer buf = new StringBuffer("Column widths: ");

		for (int i = 0; i < widths.length; i++) {
			if (i > 0) {
				buf.append(", ");
			}

			buf.append(widths[i]);
		}

		return buf.toString();
	}
1082840
function (window) {
            window = window || Aria.$window;
            var href = window.location.href;
            var sharpIndex = href.indexOf("#");
            if (sharpIndex != -1) {
                return href.substring(sharpIndex + 1);
            }
            return "";
        }
906572
public java.lang.String getTitle() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.title);

    }
985438
public static String nameClass(String tableName) 
    {
		StringBuffer sb = new StringBuffer();
		char[] chars = new char[tableName.length()];
		chars = tableName.toCharArray();
		char c;
		boolean nextup = false;
		for (int i = 0; i < chars.length; i++) {
			if (i==0) c = Character.toUpperCase(chars[i]);
			else if (chars[i]=='_') {
				 nextup = true;
				 continue;
			}
			else if (nextup) {
				nextup = false;
				c = Character.toUpperCase(chars[i]);
			} 
			else c = Character.toLowerCase(chars[i]);
			sb.append(c);
		}
		return sb.toString();
	}
1285227
private String getPropertyName(final String windowIdStr, final String fullAttributeName) {
        final String attributeName;
        if (this.nonNamespacedProperties.contains(fullAttributeName)) {
            attributeName = fullAttributeName;
        } else if (fullAttributeName.startsWith(windowIdStr)) {
            attributeName = fullAttributeName.substring(windowIdStr.length());
        } else {
            return null;
        }

        final String mappedPropertyName = this.attributeToPropertyMappings.get(attributeName);
        if (mappedPropertyName == null) {
            logger.warn(
                    "Attribute {} found that matches the portlet window ID but it is not listed in the propertyMappings or nonNamespacedProperties and will not be returned to the portlet",
                    attributeName);
            return null;
        }

        return mappedPropertyName;
    }
539137
public String getTableNames(boolean bAddQuotes)
    {
        return (m_tableName == null) ? Record.formatTableNames(CALENDAR_CONTROL_FILE, bAddQuotes) : super.getTableNames(bAddQuotes);
    }