Package com.subgraph.vega.ui.http.commands

Examples of com.subgraph.vega.ui.http.commands.InterceptQueueStateSourceProvider


  }
 
  private void doUpdate() {
    transactionManager.updateTransactionInfo(transactionInfo);
    ISourceProviderService sourceProviderService = (ISourceProviderService) getViewSite().getWorkbenchWindow().getService(ISourceProviderService.class);
    InterceptQueueStateSourceProvider provider = (InterceptQueueStateSourceProvider) sourceProviderService.getSourceProvider(InterceptQueueStateSourceProvider.INTERCEPT_QUEUE_STATE);
    if (transactionInfo.isPending() == true) {
      provider.setPending(true);
    } else {
      provider.setSent(transactionInfo.getRequestStatus() == TransactionManager.TransactionStatus.STATUS_SENT);
    }
    transactionViewerRequest.notifyUpdate();
    transactionViewerResponse.notifyUpdate();
  }
View Full Code Here

TOP

Related Classes of com.subgraph.vega.ui.http.commands.InterceptQueueStateSourceProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.