}
}
}
InitializeChildrenRunnable initializeChildrenRunnable = new InitializeChildrenRunnable( true, entries
.toArray( new IEntry[0] ) );
new StudioBrowserJob( initializeChildrenRunnable ).execute();
}
if ( searches.length > 0 )
{
for ( ISearch search : searches )
{
search.setSearchResults( null );
if ( search instanceof IContinuation )
{
IContinuation continuation = ( IContinuation ) search;
if ( continuation.getState() != State.RESOLVED )
{
continuation.resolve();
}
}
}
new StudioBrowserJob( new SearchRunnable( searches ) ).execute();
}
if ( entryInput != null )
{
// the entry input is usually a cloned entry, lookup the real entry from connection
IEntry entry = entryInput.getBrowserConnection().getEntryFromCache( entryInput.getDn() );
new StudioBrowserJob( new InitializeAttributesRunnable( entry ) ).execute();
}
if ( searchInput != null )
{
// the search input is usually a cloned search, lookup the real search from connection
ISearch search = searchInput.getBrowserConnection().getSearchManager().getSearch( searchInput.getName() );
search.setSearchResults( null );
new StudioBrowserJob( new SearchRunnable( new ISearch[]
{ search } ) ).execute();
}
}