Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

File Chooser

All file opening/loading/saving/exporting in IGB should be handled by the native or JavaFX file chooser rather than the non-native file chooser. Look at the images below to see an example of the native file chooser compared to the non-native file chooser.

 

Native File Chooser on Windows (Currently being used)

 

 

Non-Native File Chooser on Windows (No Longer Used)

Locations to test File Choosing:

  1. Open File… (under File Menu)

  2. Open Genome from File…(under File Menu)

  3. Save Image…(under File Menu)

  4. Load/Save Session (under File Menu) – Currently not using Native File Chooser

  5. Configure Weblinks, Import/Export (under Tools Menu) – Currently not using Native File Chooser

  6. Import/Export Bookmarks…(under Bookmarks Menu) – Currently not using Native File Chooser

  7. Add/Edit Data Source, Choose local folder (in Data Sources tab of IGB Preferences)

  8. Personal Synonyms (in Data Sources tab of IGB Preferences) – Currently not using Native File Chooser

  9. Add... [App Repository] (in App Repositories tab of IGB Preferences) – Currently not using Native File Chooser

  10. Save PAXML File… (in ProtAnnot file menu)

 

General Function Checklist

  • Start by selecting the action that opens the file chooser
    •  Verify that this file chooser is the native file chooser.

...

 

  • Use the file chooser to open/save a file and take note of the directory you are opening from/saving into and the filename you used.
Directory used?FileName used?
  
    •  Verify that the file has opened/saved properly. (Check data, saved location, name, etc.)

...

 

  • Reopen the file chooser.
    •  Verify that the file chooser remembered the last used directory and filename.

...

 

  • Reset IGB Preferences to Default, restart IGB, and reopen the file chooser.
    •  Verify that the file chooser defaults to the user's home folder.

...

    •  There also may be a default filename, depending on the action being performed.