Package org.shiftone.jrat.core.spi.ui

Examples of org.shiftone.jrat.core.spi.ui.View


      if (nodeModel.isRootNode()) {
        newViewTitle = view.getTitle() + " : Flattened View";
      } else {
        newViewTitle = view.getTitle() + " : " + nodeModel.getMethodKey().toString() + " : Flattened View";
      }
      View newView = view.getContainer().createView(newViewTitle);
      newView.setBody(statsViewerPanel);
    } catch (Exception x) {
      x.printStackTrace();
    }
  }
View Full Code Here


    if (nodeModel.isRootNode()) {
      newViewTitle = view.getTitle() + " : Root Node";
    } else {
      newViewTitle = view.getTitle() + " : " + nodeModel.getMethodKey().toString();
    }
    View newView = view.getContainer().createView(newViewTitle);
    TreeViewerPanel treeViewerPanel = new TreeViewerPanel(nodeModel, newView);
    newView.setBody(treeViewerPanel);
  }
View Full Code Here

    }
    if (JFileChooser.APPROVE_OPTION == chooser.showOpenDialog(null)) {
      File[] targets = chooser.getSelectedFiles();
      if (targets.length > 0) {
        SETTINGS.setFileProperty(userPropertyName, targets[0]);
        View tab = viewContainer.createView("Inject " + targets.length + " target(s)");
        new Thread(new InjectRunnable(injector, targets, tab)).start();
      }
    }
  }
View Full Code Here

    LOG.info("openFile(" + inputFile + ")");
    SETTINGS.setLastOpenedOutputFile(inputFile);
    String title = inputFile.getName();
    ViewContextImpl runtimeOutput = null;
    OutputViewBuilder viewBuilder = null;
    View view = viewContainer.createView(title);
    runtimeOutput = new ViewContextImpl(view, inputFile);
    viewBuilder = getOutputViewerFactory(runtimeOutput);
    Runnable runnable = new OpenOutputFileRunnable(runtimeOutput, viewBuilder);
    new Thread(runnable).start();
  }
View Full Code Here

   */
  public void actionPerformedInBackground(ActionEvent e) {

    URL url = LOADER.getResource(urlText);
    BrowserPanel browserPanel = new BrowserPanel(url);
    View view = viewContainer.createView(title);
    view.setBody(browserPanel);
    viewContainer.setCurrentView(view);
  }
View Full Code Here

    this.viewContainer = viewContainer;
  }

  public void actionPerformed(ActionEvent e) {

    View view = viewContainer.getCurrentView();
    if (view != null) {
      Component component = view.getBody();
      String title = view.getTitle();
      Dimension size = component.getSize();
      viewContainer.removeView(view);
      JFrame frame = new JFrame();
      frame.setTitle(title);
      frame.getContentPane().add(component);
View Full Code Here

TOP

Related Classes of org.shiftone.jrat.core.spi.ui.View

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.