@Subscribe public synchronized void onSocketPreviewChanged(SocketPreviewChangedEvent event){
  final OutputSocket<?> socket=event.getSocket();
  PlatformImpl.runAndWait(null);
}

@ Subscribe public synchronized void onSocketPreviewChanged ( SocketPreviewChangedEvent event ) { final OutputSocket < ? > socket = event . getSocket ( ) ; PlatformImpl . runAndWait ( null ) ; }
this function is called when a preview button is pushed / triggered .
