Repository for the HealthTool which enables Apple users to analyse their health data from the Apple health app and prepares the data for contributing it for future studies on wearable data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.4 KiB

3 years ago
  1. package application.enums;
  2. /**
  3. * This enum is used to differentiate the different states the navigation (and
  4. * the tool) can be in.
  5. *
  6. * @author Bianca
  7. *
  8. */
  9. public enum NavState
  10. {
  11. /** Start of the application **/
  12. INIT,
  13. /**
  14. * In the start view the data import was given and the privacy policy was
  15. * checked
  16. **/
  17. IMPORT_GIVEN,
  18. /**
  19. * The start state of the view where the user can select which data he/she
  20. * wishes to contribute
  21. **/
  22. SELECT_DATA,
  23. /**
  24. * In the select view, at least one data object was selected to contribute and
  25. * the savep ath was set
  26. **/
  27. DATA_AND_PATH_SELECTED,
  28. /**
  29. * Return to the first view where a data import can be done, but the path to the
  30. * previously given file is still set and the privacy policy checked
  31. **/
  32. START_AGAIN,
  33. /**
  34. * The view which shows all created files and allows the user to open these for
  35. * inspection
  36. **/
  37. INSPECT,
  38. /**
  39. * The view where the user should be able to inspect the created files. But as
  40. * there was an error in writing / creating these files, there will only be an
  41. * error message shown for him / her
  42. **/
  43. INSPECT_WITH_ERROR,
  44. /**
  45. * Last view of the tool. Gives an overview over all included data and helps the
  46. * user to upload these to nextcloud
  47. **/
  48. RESULT,
  49. /** This view contains the privacy policy and can be accessed from all other views.**/
  50. PRIVACY_STATEMENT;
  51. }