SRADA-420: Introduce PageInfoRegistry to store list of pages and use it in BaseView.
authorMaria Guseva <m.guseva@samsung.com>
Fri, 6 May 2016 16:48:05 +0000 (19:48 +0300)
committerMaria Guseva <m.guseva@samsung.com>
Thu, 30 Jun 2016 05:53:38 +0000 (14:53 +0900)
commit06b14c6a96c28b1e1d56855c643c5a874b17a84a
tree43aa5f8a68eee5895bf4100f627077524400bc2a
parent71b456f0cd1c578a39e3630343ca98d24ebf56be
SRADA-420: Introduce PageInfoRegistry to store list of pages and use it in BaseView.

* PageInfo - new class to store information for each page object.
* PageInfoRegistry - new class to register all available pages in ordered list
and to provide method for their creation by given name.
* BaseView.pageOrder - static field removed as unneeded anymore.
* BaseView.compositePages(Set<String>) - use PageInfoRegistry to get list of
ordered pages.
* BaseView.compositePages(List<String>) - use PageInfoRegistry to create
DAPageComposite objects by given page names.

TODO: Add unit test for BaseView.compositePages(List<String>).

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/BaseView.java
Updated:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java

Change-Id: Ied674a159c417b68d72e31ba99660a450c4f8cf3
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/BaseView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfo.java [new file with mode: 0644]
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java [new file with mode: 0644]