Package net.wigis.graph

Examples of net.wigis.graph.GraphsBean


    String selectedFile = OUTPUT_FILE_PATH + CITESEER_SEARCH_PREFIX + fileName + OUTPUT_FILE_EXTENSION;
    // this.searchResults = null;
    g.writeGraph( selectedFile );
    FacesContext fc = FacesContext.getCurrentInstance();
    PaintBean pb = PaintBean.getCurrentInstance();
    GraphsBean gb = (GraphsBean)ContextLookup.lookup( "graphsBean", fc );
    if( gb != null )
      gb.buildFileList();
    // set the graph value here
    pb.setSelectedFile( selectedFile );
    // Lay out the graph
    pb.runLayout();
    // Save the graph again
View Full Code Here


        throw new Exception();
      }

      FacesContext fc = FacesContext.getCurrentInstance();
      PaintBean p = (PaintBean)ContextLookup.lookup( "paintBean", fc );
      GraphsBean gb = (GraphsBean)ContextLookup.lookup( "graphsBean", fc );
      if( gb != null )
        gb.buildFileList();
      // set the graph value here
      p.setSelectedFile( Settings.GRAPHS_PATH + UPLOAD_FILE_PREFIX + lastFile + ".dnv" );
      // Lay out the graph
      p.runLayout();
      // Save the graph again
View Full Code Here

  public void initSettingsFrame()
  {
    settingsFrame = new JFrame( "Settings" );
    fixSettingsFrameBounds();
    graphSelect = new JComboBox();
    GraphsBean gb = new GraphsBean();
    List<SelectItem> fileList = gb.getFileList();
    for( SelectItem item : fileList )
    {
      LabelAndValue lav = new LabelAndValue( item.getLabel(), (String)item.getValue() );
      graphSelect.addItem( lav );
      if( lav.getValue().equals( pb.getSelectedFile() ) )
View Full Code Here

TOP

Related Classes of net.wigis.graph.GraphsBean

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.