comparison dwtx/jface/viewers/AbstractTableViewer.d @ 39:644f1334b451

fix anon classes
author Frank Benoit <benoit@tionex.de>
date Tue, 08 Apr 2008 22:05:42 +0200
parents b6c35faf97c8
children ea8ff534f622
comparison
equal deleted inserted replaced
38:c884a1ab6db3 39:644f1334b451
824 if (isBusy()) 824 if (isBusy())
825 return; 825 return;
826 if (elements.length is 0) { 826 if (elements.length is 0) {
827 return; 827 return;
828 } 828 }
829 preservingSelection(new class Runnable { 829 preservingSelection(new class(elements) Runnable {
830 Object[] elements_; 830 Object[] elements_;
831 this(){ 831 this(Object[] a){
832 elements_=elements; 832 elements_=a;
833 } 833 }
834 public void run() { 834 public void run() {
835 internalRemove(elements_); 835 internalRemove(elements_);
836 } 836 }
837 }); 837 });