SPTSDKUX-1919: Implemented new Screenshot preferences selection logic
Added new FlatPreference - SCREENSHOT_ON_SCENE_TRANSITION, and it replaced
FlatFeature.SCREENSHOT in protocol configurations.
Now both screenshots on scene transition and periodical screenshots can be
enabled at the same time, but only if Screenshots feature is enabled. If
Screenshots feature is disabled then both preferences are also disabled. If
feature is enabled than at least one of screenshot prefences is enabled
(on attempt to disable both switches one of them toggles back on).
Refactoring changes:
* Moved duplicated code to:
- TimelineChartView.showScreenshotChart()
- SettingDataManager.enableScreenshotFeature()
- AnalyzerUtil.captureScreenshot()
* Added PreferencesDialog.disableConfiguration()
Other changes:
* All preferences will be disabled during tracing as they have no effect
at that moment.
* Analysis > Screenshot menu item is removed as it was very
counter-intuitive.
* 'Set as default' button is renamed to 'Reset to default'
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/setting/TargetData.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/BaseView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/Toolbar.java
Change-Id: I35f228fa467167ae269a454b7a8cb5386637eaaa
16 files changed: