- Timestamp:
- 2009-03-30T13:00:17+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/branches/2.81-fixed/src/org/greenstone/gatherer/cdm/TranslationView.java
r13195 r18834 54 54 static final private String GENERAL_STR = "General:"; 55 55 static final private String INDEX_STR = "Index:"; 56 static final private String LEVEL_STR = "Level:"; 56 57 static final private String PARTITION_STR = "Partitions:"; 57 58 … … 93 94 } 94 95 } 95 96 // Add the levels, if any 97 ArrayList levels = CollectionDesignManager.index_manager.getLevels(); 98 int levels_size = levels.size(); 99 for (int j=0; j<levels.size(); j++) { 100 Object bob = new BobTheMagicalComparableWrapper(levels.get(j)); 101 if(!features_model.contains(bob)) { 102 features_model.add(bob); 103 } 104 } 105 96 106 // We also add subindexes. 97 107 ArrayList subindexes = CollectionDesignManager.subcollectionindex_manager.getSubcollectionIndexes(); … … 151 161 return StaticStrings.STOP_CHARACTER + ((Index)content).getID(); 152 162 } 163 // level 164 else if (content instanceof IndexOption) { 165 return StaticStrings.STOP_CHARACTER + ((IndexOption)content).getName(); 166 } 153 167 else if (content instanceof SubcollectionIndex) { 154 168 return StaticStrings.STOP_CHARACTER + ((SubcollectionIndex)content).getID(); … … 167 181 if(content instanceof Index) { 168 182 text = INDEX_STR + temp; 183 } 184 else if (content instanceof IndexOption) { 185 text = LEVEL_STR + temp; 169 186 } 170 187 else if(content instanceof SubcollectionIndex) {
Note:
See TracChangeset
for help on using the changeset viewer.