Changeset 36580


Ignore:
Timestamp:
2022-09-06T15:44:04+12:00 (3 weeks ago)
Author:
davidb
Message:

Changed to using square brackets for displaying short collection name

Location:
main/trunk/gli/src/org/greenstone/gatherer
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/SuperCollectionManager.java

    r22410 r36580  
    230230          StringBuffer title_buffer = new StringBuffer(collect_cfg.getName());
    231231          title_buffer.append(StaticStrings.SPACE_CHARACTER);
    232           title_buffer.append(StaticStrings.OPEN_PARENTHESIS_CHARACTER);
     232          title_buffer.append(StaticStrings.LBRACKET_CHARACTER);
    233233          title_buffer.append(collect_cfg.getShortName());
    234           title_buffer.append(StaticStrings.CLOSE_PARENTHESIS_CHARACTER);
     234          title_buffer.append(StaticStrings.RBRACKET_CHARACTER);
    235235          String collection_title = title_buffer.toString();
    236236          title_buffer = null;
  • main/trunk/gli/src/org/greenstone/gatherer/collection/BasicCollectionConfiguration.java

    r25666 r36580  
    354354    public String toString() {
    355355    if (this.site == null) {
    356         return getName() + StaticStrings.SPACE_CHARACTER + StaticStrings.OPEN_PARENTHESIS_CHARACTER + getShortName() + StaticStrings.CLOSE_PARENTHESIS_CHARACTER;
     356        return getName() + StaticStrings.SPACE_CHARACTER + StaticStrings.LBRACKET_CHARACTER + getShortName() + StaticStrings.RBRACKET_CHARACTER;
    357357    } else {
    358         return getName() + StaticStrings.SPACE_CHARACTER + StaticStrings.OPEN_PARENTHESIS_CHARACTER + getShortName()+", "+this.site + StaticStrings.CLOSE_PARENTHESIS_CHARACTER;
     358        return getName() + StaticStrings.SPACE_CHARACTER + StaticStrings.LBRACKET_CHARACTER + getShortName()+", "+this.site + StaticStrings.RBRACKET_CHARACTER;
    359359    }
    360360    }
  • main/trunk/gli/src/org/greenstone/gatherer/gui/ExportAsPrompt.java

    r32510 r36580  
    558558   
    559559    // coll name
    560     args[0] = selected_collection.getName() + StaticStrings.SPACE_CHARACTER + StaticStrings.OPEN_PARENTHESIS_CHARACTER + selected_collection.getShortName() + StaticStrings.CLOSE_PARENTHESIS_CHARACTER;
     560    args[0] = selected_collection.getName() + StaticStrings.SPACE_CHARACTER + StaticStrings.LBRACKET_CHARACTER + selected_collection.getShortName() + StaticStrings.RBRACKET_CHARACTER;
    561561   
    562562    String export_type = (String) saveas_combobox.getSelectedItem();       
  • main/trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r34285 r36580  
    10231023        title_buffer.append(title);
    10241024        title_buffer.append(StaticStrings.SPACE_CHARACTER);
    1025         title_buffer.append(StaticStrings.OPEN_PARENTHESIS_CHARACTER);
     1025        title_buffer.append(StaticStrings.LBRACKET_CHARACTER);
    10261026        title_buffer.append(name);
    1027         title_buffer.append(StaticStrings.CLOSE_PARENTHESIS_CHARACTER);
     1027        title_buffer.append(StaticStrings.RBRACKET_CHARACTER);
    10281028    }
    10291029    else {
  • main/trunk/gli/src/org/greenstone/gatherer/gui/WriteCDImagePrompt.java

    r22848 r36580  
    412412        }
    413413        BasicCollectionConfiguration complete_collection = (BasicCollectionConfiguration)selected_collections.get(i);
    414         coll_names.append(complete_collection.getName() + StaticStrings.SPACE_CHARACTER + StaticStrings.OPEN_PARENTHESIS_CHARACTER + complete_collection.getShortName() + StaticStrings.CLOSE_PARENTHESIS_CHARACTER);
     414        coll_names.append(complete_collection.getName() + StaticStrings.SPACE_CHARACTER + StaticStrings.LBRACKET_CHARACTER + complete_collection.getShortName() + StaticStrings.RBRACKET_CHARACTER);
    415415        complete_collection = null;
    416416    }
Note: See TracChangeset for help on using the changeset viewer.