Package com.subgraph.vega.ui.http.requesteditviewer

Examples of com.subgraph.vega.ui.http.requesteditviewer.RequestEditView


    int viewMode = IWorkbenchPage.VIEW_ACTIVATE;
    for (Iterator<?> iter = selection.iterator(); iter.hasNext(); ) {
      IRequestLogRecord record = (IRequestLogRecord) iter.next();
      String secondaryId = UUID.randomUUID().toString();
      RequestEditView view;
      try {
        view = (RequestEditView) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(RequestEditView.VIEW_ID, secondaryId, viewMode);
      } catch (PartInitException e) {
        ErrorDialog.displayExceptionError(getShell(), e);
        return;
      }

      try {
        view.setRequest(record);
      } catch (URISyntaxException e) {
        ErrorDialog.displayExceptionError(getShell(), e);
        return;
      }
      viewMode = IWorkbenchPage.VIEW_VISIBLE;
View Full Code Here

TOP

Related Classes of com.subgraph.vega.ui.http.requesteditviewer.RequestEditView

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.