if ( System.currentTimeMillis() > ( lastAddTimeStamp + 789 ) ) { if ( delayedFileInfoAddSet.size() > 0 ) { if (tableTreeViewer != null && !tableTreeViewer.getTableTree().isDisposed()) tableTreeViewer.add( tableTreeViewer.getInput(), delayedFileInfoAddSet.toArray() );
if (System.currentTimeMillis() > (lastAddTimeStamp + 789)) { if (delayedFileInfoAddSet.size() > 0) { if ((tableTreeViewer != null) && !tableTreeViewer.getTableTree().isDisposed()) { tableTreeViewer.add(tableTreeViewer.getInput(), delayedFileInfoAddSet.toArray()); }
    public void delayedAddFileInfo( FileInfo fileInfo ) {        if ( fileInfo != null ) {            delayedFileInfoAddSet.add( fileInfo );        }        if ( System.currentTimeMillis() > ( lastAddTimeStamp + 789 ) ) {            if ( delayedFileInfoAddSet.size() > 0 ) {				if (tableTreeViewer != null && !tableTreeViewer.getTableTree().isDisposed())               		tableTreeViewer.add( tableTreeViewer.getInput(), delayedFileInfoAddSet.toArray() );                delayedFileInfoAddSet.clear();            }            lastAddTimeStamp = System.currentTimeMillis();        } else {            if ( !addTimerRunning && ( delayedFileInfoAddSet.size() > 0 ) ) {                addTimerRunning = true;                tableTreeViewer.getTableTree().getDisplay().timerExec( 2000,                    new Runnable() {                        public void run() {                            delayedAddFileInfo( null );                            addTimerRunning = false;                        }                    } );            }        }    }