Esempio n. 1
0
 /*
  * Implements an abstract method from VizConnection.
  */
 @Override
 protected boolean disconnectFromWidget(IParaViewWebClient widget) {
   boolean closed = false;
   // Attempt to disconnect, returning the success of the operation.
   if (widget != null) {
     try {
       closed = widget.disconnect().get();
     } catch (InterruptedException | ExecutionException e) {
       e.printStackTrace();
     }
   }
   return closed;
 }