Bug 126658 [CommonNavigator] [DND] Complete definition of DND API
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/CommonViewer.java
parent, element);
				
				
				if (lastInsertion == items.length)
					index = -1;
				else {
					while (lastInsertion < items.length
							&& sorter.compare(this, parent, element,
									items[lastInsertion].getData()) == 0) {
						
						
						
						
						if (items[lastInsertion].getData().equals(element)) {
							
							refresh(element);
							newItem = false;
						}
						lastInsertion++;
					}
					
					if (lastInsertion == items.length)
						index = -1;
					else
						index = lastInsertion + i; 
					
				}
			}
			if (newItem)
				createTreeItem(widget, element, index);