Package uk.ac.man.cs.mig.util.graph.export

Examples of uk.ac.man.cs.mig.util.graph.export.ExportFormat


    createWizard();
    if(wizard.showWizard() == Wizard.OPTION_APPROVE) {
      // The user elected to export the graph
      // to an image file.  Get the format
      // and the file name.
      ExportFormat format = formatPage.getSelectedExportFormat();
      String fileName = fileNamePage.getFileName();

      // Create an export stream based on the
      //specified file name.
      OutputStream os = createOutputStream(fileName);
View Full Code Here


   *               data should be written to.
   * @param format The <code>ExportFormat</code> for the data.
   */
  protected void doExport(OutputStream os,
                          ExportFormat format) {
    ExportFormat exportFormat = formatPage.getSelectedExportFormat();
    GraphComponent graphComponent = hierarchyPage.getSelectedGraphComponent();
    exportFormat.export(graphComponent.getController(), os);
  }
View Full Code Here

TOP

Related Classes of uk.ac.man.cs.mig.util.graph.export.ExportFormat

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.