Ticket #10 (closed enhancement: fixed)

Opened 13 years ago

Last modified 13 years ago

Export overlay statistics to .xls

Reported by: sorber Owned by: sorber
Priority: major Milestone:
Component: visbio Severity:
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by curtis) (diff)

Statistics include position, dimensions, etc. of overlays. The overlays Excel spreadsheet should include statistics for each overlay, in particular the total line length for freeforms and polylines.

Each overlay type gets a separate table in the overlays file of statistics.

User should be able to specify which stats to export. Need to generate menu for selecting statistics to export.

Change History

comment:1 Changed 13 years ago by curtis

  • Description modified (diff)

comment:2 in reply to: ↑ description Changed 13 years ago by sorber

User should be able to specify which stats to export. Need to generate menu for selecting statistics to export.

Use JFileChooser.setAccessory(...) to add an extra pane to the Save and Export file choosers presenting the user with a bunch of check boxes. The options should be linked to the OverlayManager OptionManager for overlays, which will allow the user's selections to be saved and loaded from session to session (turn on tabs and add these options to a different tab labeled "Overlays"). Determine if these options will automatically appear in the main Options panel.

comment:3 Changed 13 years ago by sorber

Automatically launch spreadsheet using system calls. Read up on the Runtime class. Need to create new Process? Can use Runtime.exec() (just launch, don't sweat handle).

Add an option for path to program to launch. Need to determine OS and guess accordingly. To determine OS:

  • Use JGoodies utility method Looks.is...
  • Use utility methods in VisBio, if they exist
  • Check System.getProperty("os.name"), if neither of the above are possible

To add an option, need to add method OptionManager.addStringOption (basically the same as addNumericOption).

comment:4 Changed 13 years ago by sorber

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.