final Display display = SWTThread.getInstance().getDisplay();
if ( display.isDisposed()){
return( null );
}
final AESemaphore sem = new AESemaphore("NetworkClassifier");
final classifierDialog[] dialog = new classifierDialog[1];
try{
display.asyncExec(
new AERunnable()
{
public void
runSupport()
{
dialog[0] = new classifierDialog( sem, display, description, tracker_networks );
}
});
}catch( Throwable e ){
Debug.printStackTrace( e );
return( null );
}
sem.reserve();
return( dialog[0].getSelection());