Changeset 12414 for trunk/gli/src/org/greenstone
- Timestamp:
- 2006-08-08T09:31:45+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/DOMProxyListModel.java
r12084 r12414 159 159 cache.clear(); 160 160 int index = indexOf(entry); 161 162 161 163 fireIntervalAdded(this, index, index); 162 164 } … … 184 186 boolean found = false; 185 187 int size = getSize(); 188 186 189 for(int i = 0; !found && i < size; i++) { 187 190 DOMProxyListEntry sibling = (DOMProxyListEntry) getElementAt(i); 188 if(sibling.equals(entry)) { 191 if(sibling.equals(entry)) { 192 189 193 found = true; 190 194 } … … 193 197 } 194 198 199 195 200 public synchronized Object getElementAt(int index) 196 201 { … … 254 259 } 255 260 261 256 262 /** Changes the 'root' element that this list sources its information from. 257 263 * @param root the new root Element … … 262 268 this.root = root; 263 269 this.children = this.root.getElementsByTagName(this.tag_name); 270 fireContentsChanged(this, 0, getSize()); 264 271 } 265 272
Note:
See TracChangeset
for help on using the changeset viewer.