sdk/tools/dynamic-analyzer.git
8 years ago[SRADA-893] Add F5 shortcut key and resolve several issues.
jaeyong lee [Wed, 13 Jul 2016 11:56:18 +0000 (20:56 +0900)]
[SRADA-893] Add F5 shortcut key and resolve several issues.
 - SRADA-924 : Ctrl+F Shortcut key not working.
 - Disable ctrl + n when trace is running
 - Reset the report menu items when user start a new setting.
 - Chagne some constants about keycodes to SWT enum

Change-Id: I023b8975167bf06ed5ab13f5f483d6bea864e1d4

8 years ago[SRADA-536] Adjust width to resolve cutted text
joon.c.baek [Tue, 19 Jul 2016 04:34:04 +0000 (13:34 +0900)]
[SRADA-536] Adjust width to resolve cutted text

Adjust FeatureList, SelectedFeatureList width
to resolve cutted text on SelectedFeature text.
For example,
"UI Hierarchy Analysis" was cutted.

Change-Id: Ib36a1c0a91ca6d04734aaf69d51cae434fbef9e9
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years ago[SRADA-829] Highlight searched line in calltrace
joon.c.baek [Mon, 27 Jun 2016 08:33:48 +0000 (17:33 +0900)]
[SRADA-829] Highlight searched line in calltrace

Highlight searched line in calltrace table

Known issue:
The table data that exist out of screen couldn't search.
I guess that table will generated partially when need it.

Change-Id: Iecd8a47aeff97bdab697a1386990ddf12f64ff98
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years agoSRADA-896: Added comments for TracingFeatureArgument enum.
Maria Guseva [Mon, 18 Jul 2016 16:25:32 +0000 (19:25 +0300)]
SRADA-896: Added comments for TracingFeatureArgument enum.

Change-Id: Iaae831247014e07d2a339bc9fd6785d8a2d750ee

8 years agoSRADA-896: Fixed TracingFeatureArgument constructor.
Maria Guseva [Tue, 19 Jul 2016 06:52:16 +0000 (09:52 +0300)]
SRADA-896: Fixed TracingFeatureArgument constructor.

It didn't set any default value and results to unit tests failure.

Change-Id: Iad23c3c40db6a1cb4e8d8fd6e8ee37955d33201e

8 years agoSRADA-920 Features provided by cli enabled in da.
p.privalov [Mon, 18 Jul 2016 12:40:29 +0000 (15:40 +0300)]
SRADA-920 Features provided by cli enabled in da.

Changes:
 * Required Pages and Charts added to trace with CliInternals.selectFeatures().
 * InTracingArguments featuresList replaced with featuresSet,
   method getFeaturesList(...) replaced with getFeatures(...)
 * Implemented tests for TracingFeatureArguments, containing few possible
   combinations of selected features.
 * Implemented tests for TracingArguments.isValid for different combinations of
   specified features.

Change-Id: Ie4e3c847f5275c05b849def44a298790c5bc4032

8 years agoSRADA-921: Made features arguments required and removed templates
Dmitriy Nikiforov [Fri, 15 Jul 2016 18:08:39 +0000 (21:08 +0300)]
SRADA-921: Made features arguments required and removed templates

Changes:
  * TracingFeatureArgument.parseFeatureOptions now throws exception if it could
    not find any feature options in given command line.
  * Implemented TracingFeatureArgument.toStringArray() static method that
    converts given TracingArguments object to its ArrayList<String>
    representation.
  * Removed '-t' option.
  * Replaced CliInternals.selectTemplate with selectFeatureList method's stub.
  * Fixed influenced tests.

Note that tracing will be disabled until CliInternals.selectFeatureList is
implemented.

Change-Id: Ibbea76d3f11a08f2e4c242384ac753b62dec8e20

8 years agoSRADA-896: Added CLI options for features selection.
Maria Guseva [Wed, 13 Jul 2016 16:50:11 +0000 (19:50 +0300)]
SRADA-896: Added CLI options for features selection.

Introduced new TracingFeatureArgument class to represent CLI options
for selecting tracing features. Use new options in TracingArgumentsParser.
TODO: Screenshots feature is not fit to new class as it has optional integer
argument, so it should be processed separately.

Change-Id: Ifa2b15550ecf4d886b2c16aadc489aa2d9a88d52

8 years agoSRADA-896 Added field to save list of features in TracingArguments.
Maria Guseva [Tue, 12 Jul 2016 13:56:16 +0000 (16:56 +0300)]
SRADA-896 Added field to save list of features in TracingArguments.

Change-Id: Idd44fa5ae1604458585b791ea40f149099ba795a

8 years agoSRADA-896: Extracted PrimitiveFeature enumeration from FlatFeature.
Maria Guseva [Tue, 12 Jul 2016 17:02:54 +0000 (20:02 +0300)]
SRADA-896: Extracted PrimitiveFeature enumeration from FlatFeature.

New enumeration represents FlatFeatures without resources so it is fully
independent from GUI.

Change-Id: I4c5b6ef0ecdbca044d60a11282bab9d7ff7eead2

8 years agoSRADA-758: Added prepare_dependencies.sh - automatical p2 repo creation
Dmitriy Nikiforov [Wed, 29 Jun 2016 13:58:38 +0000 (16:58 +0300)]
SRADA-758: Added prepare_dependencies.sh - automatical p2 repo creation

Script usage:
$ ./prepare_dependencies.sh /path/to/eclipse /path/to/common-eplugin

Example for ubuntu build:
$ ./prepare_dependencies.sh \
    ~/temp/default/eclipse-pde_3.0.2_ubuntu-64/data/eclipse-pde/eclipse \
    ~/temp/default/ide

Also, updated build.linux to use this script.

Change-Id: Iadf7ec13fc0deba2b79bd709a625ab474fbc86eb

8 years agoSRADA-758: Removed Mars dependency from Maven build
Dmitriy Nikiforov [Thu, 23 Jun 2016 14:26:04 +0000 (17:26 +0300)]
SRADA-758: Removed Mars dependency from Maven build

Now all bundle dependencies will reside in local p2-repository repackaged if
necessary into osgi-bundles to avoid packaging them inside plugins.

Creation of local p2-site can be done with p2-maven-plugin: mvn p2:site
It also automatically repackages all mentioned dependencies into osgi-bundles.

Additional artifacts can be published with FeaturesAndBundlesPublisher
application with '-append' option which was added in build.linux script to
publish all Eclipse dependencies and common-eplugin.

Eclipse Mars will be downloaded from 'advux_main' repository no matter which
repository user has specified to pkg-build tool.

Change-Id: Ib2463b512e85ea74895b6efff96713e73b7cd520

8 years agoSRADA-908: Restored CPU_CHART_TITLE value changed after merge.
Maria Guseva [Thu, 14 Jul 2016 14:27:53 +0000 (17:27 +0300)]
SRADA-908: Restored CPU_CHART_TITLE value changed after merge.

It was changed in commit 6f56355356e400e522aefa2247791b509e5b26ef
on ui_e4_migration branch. As a result the CPU Usage chart is not working
anymore for both GUI and CLI tracing.

Change-Id: If83f905a1a8dd7fd91cc36145944a75d000c9074

8 years ago[FIX] Call Unified API, AnalyzerUtil.setPlatformSDK(), to set platform DA on GUI.
Gihun Chang [Tue, 12 Jul 2016 08:09:01 +0000 (17:09 +0900)]
[FIX] Call Unified API, AnalyzerUtil.setPlatformSDK(), to set platform DA on GUI.
+ Resolve merge conflict to http://suprem.sec.samsung.net/gerrit/#/c/81867/

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

Change-Id: Ie5349dc04ea4b60d739738e0f5dbcd779e43ef4c

8 years agoMerge "SRADA-908: Merge remote-tracking branch 'origin/ui_e4_migration' into 'sdk_mer...
Maria Guseva [Thu, 14 Jul 2016 13:36:07 +0000 (22:36 +0900)]
Merge "SRADA-908: Merge remote-tracking branch 'origin/ui_e4_migration' into 'sdk_merge'" into sdk_merge

8 years agoSRADA-756: Fixed DIBS multibuild error
Dmitriy Nikiforov [Wed, 13 Jul 2016 18:29:31 +0000 (21:29 +0300)]
SRADA-756: Fixed DIBS multibuild error

Changed Unicode-specific double quotes to escaped standard double quotes
in one of StartCommand's user messages.

Change-Id: I3dc102fe3beee56dc21eacab0540a44be86587ca
Signed-off-by: Dmitriy Nikiforov <d.nikiforov@partner.samsung.com>
8 years agoSRADA-908: Merge remote-tracking branch 'origin/ui_e4_migration' into 'sdk_merge'
jaeyong lee [Thu, 14 Jul 2016 06:25:45 +0000 (15:25 +0900)]
SRADA-908: Merge remote-tracking branch 'origin/ui_e4_migration' into 'sdk_merge'

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/handlers/UIAction.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/nl/UserErrorWarningLabels.properties
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/shortcut/ShortCutKeyBindingHandler.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/BaseView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/MenuBar.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/setting/SettingDialog.java

Change-Id: I9c779c07cf946a97962e8c7c90e94a60cb626ac8

8 years agoSRADA-863: Fixed saving of page list in CLI mode.
Maria Guseva [Wed, 13 Jul 2016 12:38:30 +0000 (15:38 +0300)]
SRADA-863: Fixed saving of page list in CLI mode.

In CLI mode FlatFeatures are not supported yet. Thus page list must be defined
based on selected Features, not FlatFeatures as in GUI. Also restored
selecting template removed in previous commit.

Change-Id: I9ddcc663c00f68c8e7f997696a21ab0723a52a02

8 years agoSRADA-863 Cli saves in zip now. GUI save\load functions use default file path.
p.privalov [Tue, 5 Jul 2016 11:19:14 +0000 (14:19 +0300)]
SRADA-863 Cli saves in zip now. GUI save\load functions use default file path.

1) Cli saves trace to zip with standart name in standart save folder
 This trace is in same format as GUI trace, it can be opened in GUI.
2) Updated 'feature' configuration file in order to support chart lists.
3) GUI saves dialog and open dialog now opens at default location
tizen-sdk-data/dynamic-analyzer/save.
4) project.save() and DataManagerRegistry.saveData() activity moved to
CommandAction.saveToZip().

Change-Id: I2a3cdd965d25a6d30de977851da37c58004a8da4

8 years ago[SRADA-893] Add shortcut feature
jaeyong lee [Tue, 12 Jul 2016 06:43:51 +0000 (15:43 +0900)]
[SRADA-893] Add shortcut feature

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

Change-Id: Ic0ec8a4c9e42e3646ec87a297df0287b31254d9d

8 years ago[FIX]Fix windows locked long time when Launching from IDE and Duplicated ToolBar...
ggh1933.go [Thu, 7 Jul 2016 02:39:50 +0000 (11:39 +0900)]
[FIX]Fix windows locked long time when Launching from IDE and Duplicated ToolBar updating skip.

Change-Id: If948b9bb5c033ec0325889d7d11942a2ff870533

8 years ago[SRADA-880]Fix : Add jdt.core plugin for debug in mars Eclipse
ggh1933.go [Wed, 6 Jul 2016 00:42:05 +0000 (09:42 +0900)]
[SRADA-880]Fix : Add jdt.core plugin for debug in mars Eclipse

Change-Id: I71edfc2bb24c14e2c8243b323da2f587c64f29c3

8 years agoSRADA-903: Removed '-c custom template' CLI option as not planned to be supported.
Maria Guseva [Tue, 12 Jul 2016 11:02:18 +0000 (14:02 +0300)]
SRADA-903: Removed '-c custom template' CLI option as not planned to be supported.

TracingArgumentsTest and TracingArgumentsParserTest updated correspondingly.
TracingArgumentsTest.isValid_ExclusiveOpts test removed as unrelevant anymore.

Change-Id: Iaa03813be3cee772564738b6925333272f42c910

8 years agoSRADA-903: Disabled '-i tracing duration' CLI option as not supported yet.
Maria Guseva [Tue, 12 Jul 2016 10:00:37 +0000 (13:00 +0300)]
SRADA-903: Disabled '-i tracing duration' CLI option as not supported yet.

TracingArgumentsTest and TracingArgumentsParserTest updated correspondingly.
InvalidDuration tests set as Ignore until option is added.

Change-Id: If80f8c174845c073796b18305c25fe211500f1cf

8 years agoSRADA-784: Added unit test for PageInfoRegistry.convertPageIDtoPageName().
Maria Guseva [Mon, 20 Jun 2016 07:44:54 +0000 (10:44 +0300)]
SRADA-784: Added unit test for PageInfoRegistry.convertPageIDtoPageName().

Change-Id: I0678731e8ef4c311a0dedbf1dfcabe42c0bcd2f3

8 years ago[HOTFIX] enable Platform DA
dongkyu6 lee [Tue, 12 Jul 2016 07:27:57 +0000 (16:27 +0900)]
[HOTFIX] enable Platform DA

 - enable string : Platform Dynamic Analyzer|Y (config/setting)

Change-Id: I3ff2b06d947b014ddb4c3ec4e4db1c33ea2999e9

8 years agoSRADA-848: Restore unit tests sources missed after merge commit.
Maria Guseva [Mon, 11 Jul 2016 16:14:14 +0000 (19:14 +0300)]
SRADA-848: Restore unit tests sources missed after merge commit.

Tests were unintentionally deleted with merge commit:
fdef1eee000746e9eccbe71a80bbf7501407cad0

Change-Id: I8a32bfe857d0ca552b087c94fc3cb57737e862bd

8 years ago[SRADA-801] Add dimension switch button at OpenGL, Thread page and change some image...
jaeyong lee [Tue, 5 Jul 2016 04:14:03 +0000 (13:14 +0900)]
[SRADA-801] Add dimension switch button at OpenGL, Thread page and change some image resources

Change-Id: I56c3acb0bb42229eb7ffe110374c94d27a8f5609

8 years agoSRADA-889: Unified the way to check if DA is in platform mode.
Maria Guseva [Thu, 7 Jul 2016 13:25:21 +0000 (16:25 +0300)]
SRADA-889: Unified the way to check if DA is in platform mode.

* AnalyzerUtil.setPlatformSDK() - new method extracted from AnalyzerPlugin.start()
* CliInternals - use AnalyzerUtil.setPlatformSDK() in static section after
UI mode is set.

Change-Id: Ib168a9051c2a7bdafabaf98a23f242af389fe5c5

8 years agoSRADA-680: Added missing 'flatfeature' configuration in DA tests
Dmitriy [Thu, 7 Jul 2016 17:35:23 +0000 (20:35 +0300)]
SRADA-680: Added missing 'flatfeature' configuration in DA tests

Also, fixed:
  * org.tizen.dynamicanalyzer classpath for Eclipse build
  * SettingDataManagerTest to work in CliMode

Change-Id: I623b4ba090f230304b292ee3967142f9bc4511c7

8 years agoSRADA-759: Removed unnecessary artifacts from Maven build
Dmitriy Nikiforov [Thu, 9 Jun 2016 14:20:57 +0000 (17:20 +0300)]
SRADA-759: Removed unnecessary artifacts from Maven build

Part of files is removed by Maven executing instructions from
dynamicanalyzer.p2.inf file. And other part that cannot be removed by Maven
is deleted by build.linux script in __cleanup function.

Change-Id: I093af51fa48948cb8fd1c920340ca949aff5aba1

8 years agoMerge "SRADA-848: Merge remote-tracking branch 'origin/ui_e4_migration' into HEAD...
Maria Guseva [Fri, 8 Jul 2016 13:50:41 +0000 (22:50 +0900)]
Merge "SRADA-848: Merge remote-tracking branch 'origin/ui_e4_migration' into HEAD" into sdk_merge

8 years agoSRADA-848: Merge remote-tracking branch 'origin/ui_e4_migration' into HEAD
Dmitriy [Thu, 7 Jul 2016 12:18:17 +0000 (15:18 +0300)]
SRADA-848: Merge remote-tracking branch 'origin/ui_e4_migration' into HEAD

Change-Id: Id6da5e718b89f293fdfe45684740e1e37a433696

8 years ago[SRADA-854][SRADA-862] Add a Save popup window and adjust UX guide on DADialog
dongkyu6 lee [Tue, 5 Jul 2016 07:19:22 +0000 (16:19 +0900)]
[SRADA-854][SRADA-862] Add a Save popup window and adjust UX guide on DADialog

 - Refactoring DADialog
 - Change icon, size, color on DADialog
 - Add a dailog when there is unsaved data

Change-Id: Iec991ea9f26b00b921f80a7fcd5d8eac63e4081e

8 years ago[SRADA-853] Apply new string
dongkyu6 lee [Wed, 6 Jul 2016 00:22:36 +0000 (09:22 +0900)]
[SRADA-853] Apply new string

Change-Id: I22c906180523244e388e34e4a0483e57f45db654

8 years agoSRADA-782: Tracing time is calculated by TracingProcess.
p.privalov [Fri, 24 Jun 2016 13:41:21 +0000 (16:41 +0300)]
SRADA-782: Tracing time is calculated by TracingProcess.

Tracing time printed by StopCommand.
TimerClock now works with milliseconds.

Change-Id: I41cb26d7623a9a18887462ff571122dfaa211014

8 years ago[SRADA-869] Add expand button on memory charts
dongkyu6 lee [Wed, 6 Jul 2016 01:56:45 +0000 (10:56 +0900)]
[SRADA-869] Add expand button on memory charts

Change-Id: I6111583e2bd4072cdfaacdaf28f2a0d0aa99dcd5

8 years ago[SRADA-865]Fix : Dlog set range by Analysis clicked between markers, don't scroll...
ggh1933.go [Thu, 30 Jun 2016 07:44:07 +0000 (16:44 +0900)]
[SRADA-865]Fix : Dlog set range by Analysis clicked between markers, don't scroll move shortly.

 - Before, updateTable by super, make setting scroll to Selection Start time. so updated Scroll shortly.
 - fix : return loop when get Set Scroll index, duplicated logics delete.

Change-Id: I1e4dcc89e00bd516284f331b44aebdeb6275d6a7

8 years ago[SRADA-880]FIX : abnormal menubar disabled.
ggh1933.go [Tue, 5 Jul 2016 05:33:27 +0000 (14:33 +0900)]
[SRADA-880]FIX : abnormal menubar disabled.
 - +forced disabled.
Change-Id: Ibe542eaf4231373a7d85ee479e35fa17b604fac4

8 years ago[SRADA-880]FIX : resolve unpack plugins conflict.
ggh1933.go [Tue, 5 Jul 2016 04:48:49 +0000 (13:48 +0900)]
[SRADA-880]FIX : resolve unpack plugins conflict.

Change-Id: Ic1b4146172b74a61e01cafee8216d47f70027c29

8 years ago[HOTFIX] Resolve build error
jaeyong lee [Tue, 5 Jul 2016 03:51:05 +0000 (12:51 +0900)]
[HOTFIX] Resolve build error

Change-Id: Ic5633801813ccbcd12bcb31e50dadd4fcd3d16d4

8 years ago[SRADA-880] Merge MAVEN,RCP4 with Latest ui_e4_migration
ggh1933.go [Tue, 5 Jul 2016 02:00:07 +0000 (11:00 +0900)]
[SRADA-880] Merge MAVEN,RCP4 with Latest ui_e4_migration
 - FIX : macos build, don't reference old version

Change-Id: I74becbf8c6f60937ac2a8812600f9b0dada2989d

8 years agoMerge "Merge remote-tracking branch 'origin/ui_e4_migration' into sdk_merge" into...
Maria Guseva [Mon, 4 Jul 2016 13:32:09 +0000 (22:32 +0900)]
Merge "Merge remote-tracking branch 'origin/ui_e4_migration' into sdk_merge" into sdk_merge

8 years agoMerge remote-tracking branch 'origin/ui_e4_migration' into sdk_merge
Gihun Chang [Fri, 1 Jul 2016 09:51:06 +0000 (18:51 +0900)]
Merge remote-tracking branch 'origin/ui_e4_migration' into sdk_merge

Change-Id: If6764c8f26c818d500744209261c8b0d95376b05

8 years agoSRADA-848: Fix StartTraceManager to work in CLI mode.
Maria Guseva [Thu, 30 Jun 2016 05:21:52 +0000 (08:21 +0300)]
SRADA-848: Fix StartTraceManager to work in CLI mode.

Issue occured after merge with ui_e4_migration branch.

Change-Id: Iad6cb81d83832c6bb3b8744199c2e11f57910a77

8 years ago[FIX] Remove eclipse-indigo dependency
Gihun Chang [Thu, 2 Jun 2016 05:24:38 +0000 (14:24 +0900)]
[FIX] Remove eclipse-indigo dependency

Change-Id: I3e66a748ceea4521bc6e6de7f619d041fcf57c1e

8 years ago[SRADA-680] temporarly disable the unit testing until success tc is prepared
Gihun Chang [Thu, 2 Jun 2016 04:22:13 +0000 (13:22 +0900)]
[SRADA-680] temporarly disable the unit testing until success tc is prepared

Change-Id: I79c2bef6d16363d646099e28443f040e4ad7ab4a

8 years ago[SRADA-680] Move flatfeature file from workbench to workbench.product
Gihun Chang [Thu, 2 Jun 2016 04:06:54 +0000 (13:06 +0900)]
[SRADA-680] Move flatfeature file from workbench to workbench.product

Change-Id: I51f1440a756eb8645823502d9d22dab7bbadbbc5

8 years agoSRADA-680: Maven copies 'config' folder to built product
Dmitriy Nikiforov [Wed, 18 May 2016 15:25:22 +0000 (18:25 +0300)]
SRADA-680: Maven copies 'config' folder to built product

'config' directory contains configuration files that may be used by built
product, so they should be copied to resulting archive.

Moved this directory from 'org.tizen.dynamicanalyzer.workbench' project to
'resources' directory in 'org.tizen.dynamicanalyzer.workbench.product' and
updated product's pom.xml to copy resources.

Change-Id: Idbff6b2548576a45c315e582947c6417b7fb2014

8 years agoSRADA-680: Separated 'org.tizen.dynamicanalyzer.test' project
Dmitriy Nikiforov [Wed, 18 May 2016 15:13:07 +0000 (18:13 +0300)]
SRADA-680: Separated 'org.tizen.dynamicanalyzer.test' project

Moved test sources and libs from org.tizen.dynamicanalyzer to new
org.tizen.dynamicanalyzer.test project. It is necessary to compile tests
with Maven.

Also, moved resources for SettingDataManagerTest to 'resources' folder.

Change-Id: Ia43f0e67598b31fc5d3d781debe9d6ce06265211

8 years agoSRADA-680: Separated 'org.tizen.dynamicanalyzer.common.test' project
Dmitriy Nikiforov [Wed, 18 May 2016 14:42:56 +0000 (17:42 +0300)]
SRADA-680: Separated 'org.tizen.dynamicanalyzer.common.test' project

Moved test sources and libs from org.tizen.dynamicanalyzer.common to new
org.tizen.dynamicanalyzer.common.test project. It is necessary to compile
tests with Maven.

Change-Id: Ia8e134a59a6e49671a3dbe3c63bd5cf6764c6b09

8 years agoSRADA-680: Updated DIBS build script to use maven
Dmitriy Nikiforov [Fri, 13 May 2016 18:17:56 +0000 (21:17 +0300)]
SRADA-680: Updated DIBS build script to use maven

Changes:
 * updated some build paths
 * removed no more necessary functions:
   - __copy_build_sources
   - __copy_dependency_plugins
   - __make_ant_properties_files
   - __copy_necessary_binaries
   - __unzip_plugin_pack
 * added backup of product information files in __set_product_about_info
 * added restoration of product information files in __restore_product_info
 * modified __clean_build_environment to remove only built project
 * removed copying of 'config' directory from 'packaging_bfiles'

Change-Id: I1a3fde0816c73b7bed14ae607b8b88f5fda03925

8 years agoSRADA-680: Port Dynamic Analyzer to Maven build
Dmitriy Nikiforov [Tue, 12 Apr 2016 18:13:01 +0000 (21:13 +0300)]
SRADA-680: Port Dynamic Analyzer to Maven build

Maven uses Tycho plugins to build and test eclipse plugins, features and
products and tycho-pomless extension automaticaly generates configurations
for subprojects based on parent pom.

Target OS, WS and architecture can be set via 'envOs', 'envWs' and 'envArch'
properties.

Build example: mvn -DenvOs=linux -DenvWs=gtk -DenvArch=x86_64 package

Changes:

 * dynamicanalyzer.product with its resources was moved to separate project
   'org.tizen.dynamicanalyzer.workbench.product'

 * non-exsitent dependecies were removed from 'build.properties' files

 * maven build configurations (pom.xml) for parent and product projects were
   created

 * maven extensions configuration file (.mvn/extensions.xml) was created

 * modified org.tizen.dynamicanalyzer.cli/build.xml to use new product
   directory

Used Tycho version:     0.24.0
Required Maven version: 3.3.+
Required Java version:  1.7.0

Note: If you have Java 8 installed Maven will use it instead of 7 without
explicitly defined JAVA_HOME.

Change-Id: Iad884b0ab7916f2905d08e3bf241f3afa5f91764

8 years agoSRADA-374: Changed Powermock and Mockito libraries to newer versions.
Dmitriy Nikiforov [Thu, 12 May 2016 10:21:18 +0000 (13:21 +0300)]
SRADA-374: Changed Powermock and Mockito libraries to newer versions.

powermock-mockito-1.6.3 which was added in earlier commit to
org.tizen.dynamicanalyzer depends on mockito versions 1.10.8-1.10.X.

Also, updated mockito and powermock in org.tizen.dynamicanalyzer.common to
keep consistency.

Change-Id: I143a22c124f39e28e21bb72cc5f315975a1331b0

8 years agoSRADA-374: Fixed errors in Dynamic Analyzer unit tests sources.
Dmitriy Nikiforov [Thu, 28 Apr 2016 17:45:56 +0000 (20:45 +0300)]
SRADA-374: Fixed errors in Dynamic Analyzer unit tests sources.

1) Added @Ignore annotation to AnalyzerUtil tests.

These test now all fail as tested functionality is not yet implemented so
they must be ignored.

2) Fixed org.tizen.dynamicanalyzer.ui.file.data tests

Changed hardcoded pathes to Tizen-SDK to current directory with following
deletion of all created files in cleanup. For that purpose Apache Commons IO
library was added to 'test/lib' (same version as in org.tizen.common).

Added calls of SqlConnectionManager.releaseResultSet() to FileApiDBTest.
Without it test hung on SqlConnectionManager.closeConnection().

3) Fixed FileChartBoardTest from org.tizen.dynamicanalyzer.ui.file

Injected FileDataMaker mock object into FileChartBoard object to avoid
NullPointerException.

Marked test with @Ignore as it does not test anything now.

4) Fixed ExecutionCallbackManagerTest

This test relied on tests execution order which was changed in later JUnit
versions.

Tests verified number of executions of methods from the same objects. This
resulted in doubled numbers in the second test.

5) Fixed FileDataMakerTest

Changed database path to relative to current directory with cleanup after
all tests.

Change-Id: I0ffb803f1e12fdd799aa7494a99335dd27d4970c

8 years ago[FIX] Remove test package build
Gihun Chang [Thu, 2 Jun 2016 03:02:10 +0000 (12:02 +0900)]
[FIX] Remove test package build

Change-Id: I56def2ee2d06438571dd648d5c578060de2d6fa8

8 years ago[HOTFIX] Resolve compile error
jaeyong lee [Mon, 4 Jul 2016 04:31:29 +0000 (13:31 +0900)]
[HOTFIX] Resolve compile error

Change-Id: Ib657c8673170326a5e2f3adf32e5b393f1f97318

8 years ago[SRADA-850]FIX : when new trace, report menu items reset.
ggh1933.go [Tue, 28 Jun 2016 06:20:50 +0000 (15:20 +0900)]
[SRADA-850]FIX : when new trace, report menu items reset.

 - + when feature setting OK, ReportMenu items reset.

Change-Id: Ia1b7b1cf847937cbb71306c31a31e244f2a29582

8 years agoSRADA-688: divide TimelineChartManager
Vladislav Eliseev [Tue, 21 Jun 2016 15:59:24 +0000 (18:59 +0300)]
SRADA-688: divide TimelineChartManager

* All tracing data create/get activity was moved
  to the newly created TimelineDataManager, which
  was created based on TimelineChartManager.
* Register TimelineDataManager in PageInfoRegistry for TimelinePage.
* Log parsing in LifecycleLogParser turned off in non-GUI mode.
* CleanChartManager only in GUI mode.

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/info/screenshot/ScreenshotView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/TimelinePage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/common/TimelineChartManager.java

Change-Id: I92ad9b35f49a316b9a7490fb766d02e6459d644b

8 years agoSRADA-688: removed CustomData charts and related functionality
Vladislav Eliseev [Fri, 17 Jun 2016 13:43:00 +0000 (16:43 +0300)]
SRADA-688: removed CustomData charts and related functionality

These charts already deprecated and not supported
by latest SWAP and protocol versions and not planned to be.

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/logparser/CustomLogParser.java

Change-Id: Idbeaf62a6a72fe600700c9b17eef025c7836a4f5

8 years agoSRADA-821: Added check for device existance in ProcessManager.
p.privalov [Tue, 21 Jun 2016 13:45:15 +0000 (16:45 +0300)]
SRADA-821: Added check for device existance in ProcessManager.

Added test for isDeviceExist() into ProcessManagerTest.
isDeviceExist implemented to CliInternals.
Initialization of DeviceManager now called automatically.

Change-Id: If433065094e971be8a2b9765ed834e12a7ffbb53

8 years agoSRADA-101: remove unnecessary dot in debug message
Vladislav Eliseev [Tue, 21 Jun 2016 15:58:43 +0000 (18:58 +0300)]
SRADA-101: remove unnecessary dot in debug message

Change-Id: I2e066a451c7c3a4252ec41a346c770e373cda99a

8 years agoSRADA-785: Register AppStartupDataManager in CLI mode
Maria Guseva [Sun, 19 Jun 2016 14:16:26 +0000 (17:16 +0300)]
SRADA-785: Register AppStartupDataManager in CLI mode

Change-Id: Ia5c38472750ff44e6dc83e4ce93eb58b0de964d1

8 years agoSRADA-815: Fixed GLDataManager to be initialized properly in CLI mode.
Maria Guseva [Mon, 20 Jun 2016 11:14:37 +0000 (14:14 +0300)]
SRADA-815: Fixed GLDataManager to be initialized properly in CLI mode.

Also enlarged TRACING_PROCESS_STOP_TIMEOUT twice which is enough to stop
tracing for OpenGL template, measured on Tizen_2.4 mobile emulator.

Change-Id: Ic76ff5ae7e8a12603cf6e71277e00d8c528c46fe

8 years agoSRADA-784: Get rid of switch in PageInfoRegistry.convertPageIDtoPageName().
Maria Guseva [Sun, 19 Jun 2016 15:09:40 +0000 (18:09 +0300)]
SRADA-784: Get rid of switch in PageInfoRegistry.convertPageIDtoPageName().

* PageInfo.pageID, .getPageID() - new field and corresponding getter.
* PageInfo - constructor changed to init pageID value.
* PageInfoRegistry.pagesMapByID - new field.
* PageInfoRegistry - static section changed to init pagesMapByID.

Change-Id: I10c77dc6d682449348c8c5fe5b898de30b5fc420

8 years agoSRADA-784: Save list of pages for trace collected in CLI.
Maria Guseva [Thu, 16 Jun 2016 16:37:18 +0000 (19:37 +0300)]
SRADA-784: Save list of pages for trace collected in CLI.

For this CLIAction.getPageNames() has to be implemented properly as it is used
in Project.savePrimitive().

* CLIAction.getPageNames() - implemented.
* CLIAction.getCurrentTargetName() - new private method.
* CLIAction.setPageBySetting() - use new private method.
* UIAction.convertPageIDtoPageName() - removed from interface.
* PageInfoRegistry.convertPageIDtoPageName() - new method,
moved from GUIAction.convertPageIDtoPageName().

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/handlers/GUIAction.java

Change-Id: I43386c26c0981c0b9c4c989dd9c388148bcb32a9

8 years agoSRADA-216: Add dependency libraries for org.tizen.dynamicanalyzer.cli project.
Maria Guseva [Thu, 26 May 2016 08:13:47 +0000 (11:13 +0300)]
SRADA-216: Add dependency libraries for org.tizen.dynamicanalyzer.cli project.

Change-Id: Ie59d011fff7868c57dcf32d305f910535191dfd7

8 years agoSRADA-781: Create temp directory before start tracing in DA CLI.
Maria Guseva [Thu, 9 Jun 2016 09:10:08 +0000 (12:10 +0300)]
SRADA-781: Create temp directory before start tracing in DA CLI.

* CliInternals.startTracing() - create temp directory firstly.
* PathManager.createDATempDir() - new static method extracted from
AnalyzerPlugin.start().

Change-Id: I36773eb44032a3f2fc819e1c7bc7fb7907993ef2

8 years agoSRADA-772: Fixed NullPointerException in PathManager.getTizenSdkInstallPath().
Maria Guseva [Wed, 8 Jun 2016 11:22:17 +0000 (14:22 +0300)]
SRADA-772: Fixed NullPointerException in PathManager.getTizenSdkInstallPath().

The exception occured in unit tests for CLI after changes applied
in previous commit. When SDK installation is not found the
InstallPathConfig.getSDKPath() returns null but it isn't checked properly
in PathManager.getTizenSdkInstallPath(). In that case it should also return
null.

Change-Id: Ic503d836318ad2f2bbd02d5df9eaa187d79c15ba

8 years agoSRADA-772: Implemented save trace functionality in DA CLI.
Maria Guseva [Tue, 7 Jun 2016 16:40:07 +0000 (19:40 +0300)]
SRADA-772: Implemented save trace functionality in DA CLI.

* CliInternals.saveTrace() - new method.
* StopCommand.processCommandInternal() - fixed to print correct output path.
* TracingProcessManager.createTracingProcess() - set output file name as an
argument for starting new tracing process.
* TracingProcess.saveTrace() - new method.
* TracingProcess.performAllTasks() - do saving trace and check its result
before return.
* Project.init() - extracted the filename construction to the separate
public static method constructSaveName() to be reusable in CLI.
* TracingProcessCommunicationTest.interruptCommunication() - test fixed to
stub saveTrace with true result.

Change-Id: I6e940ca97caf137bd74ca8efaf54904384a357c8

8 years agoSRADA-216: Wait for start tracing finished before process stop in DA CLI.
Maria Guseva [Tue, 7 Jun 2016 17:00:48 +0000 (20:00 +0300)]
SRADA-216: Wait for start tracing finished before process stop in DA CLI.

DA is not able to stop tracing correctly while DAState is in PREPARE_START.
Due to that the blocking until the preparation finished is needed in
TracingProcess.startTrace() before return.

* ProcessManager.TRACING_PROCESS_STOP_TIMEOUT - changed to 8sec, time measured
on Tizen_2.4 mobile emulator, enough to start tracing before process stop.
* ProcessManagerTest.BASE_TIMEOUT_MS - updated correspondingly to
TRACING_PROCESS_STOP_TIMEOUT value.
* TracingProcess.startTrace() - added blocking until tracing preparation
finished.

Change-Id: I7c176e0458999b85439edfa5e855c959f6fff66c

8 years agoSRADA-737: Added wait/notify on DAState for a preparation phase finished.
Maria Guseva [Tue, 7 Jun 2016 16:49:19 +0000 (19:49 +0300)]
SRADA-737: Added wait/notify on DAState for a preparation phase finished.

Now DAState notifies all waiters that are waiting for DAState to be changed
to INIT, RUNNING or DONE which means that a preparation phase is finished.

Change-Id: I79c78e8886538a82007764f73c76217bf9b23521

8 years agoSRADA-511: Fix incorrect remove of start rows in FileApiListTable.
Maria Guseva [Fri, 27 May 2016 12:17:19 +0000 (15:17 +0300)]
SRADA-511: Fix incorrect remove of start rows in FileApiListTable.

Change-Id: I0dc97d42181c846ce663af515ec3fb9801d27de1

8 years agoSRADA-214: implement TracingProcess#waitForCompletion method
Vladislav Eliseev [Wed, 1 Jun 2016 16:26:45 +0000 (19:26 +0300)]
SRADA-214: implement TracingProcess#waitForCompletion method

Now TracingProcess uses DAState wait/notify mechanism

Change-Id: I7c836df674f8bfc7b5227105d92e62dc0d1922ea

8 years agoSRADA-737: added wait/notify mechanism for DAState
Vladislav Eliseev [Tue, 7 Jun 2016 08:50:33 +0000 (11:50 +0300)]
SRADA-737: added wait/notify mechanism for DAState

Now DAState notifies all waiters that are waiting
for DAState.DONE state change.

Change-Id: I43d23468de62472650bf5fbeb77e80cf77d109eb

8 years agoSRADA-736: fix synchronization issues in StopTraceManager
Vladislav Eliseev [Tue, 31 May 2016 13:58:05 +0000 (16:58 +0300)]
SRADA-736: fix synchronization issues in StopTraceManager

Now DAState will not be updated after stop trace request
until actual tracing process will not be completely finished.

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/control/StopTraceManager.java

Change-Id: I0b29fe7ed51781951edc0bd07ee71b8ffb79550e

8 years agoSRADA-445: implemented devices -u command for tracing devices.
Vladislav Eliseev [Wed, 18 May 2016 08:50:52 +0000 (11:50 +0300)]
SRADA-445: implemented devices -u command for tracing devices.

Added command option parser in DeviceCommand.
Added getCurrentlyTracingDevices() method in CliInternals.

Change-Id: I5e5fabcfd879a85ce35dc0948197d592c855a688

8 years agoSRADA-445: moved TracingArgumentsParser#printHelp() in cli.utils.Help
Vladislav Eliseev [Thu, 28 Apr 2016 17:46:32 +0000 (20:46 +0300)]
SRADA-445: moved TracingArgumentsParser#printHelp() in cli.utils.Help

Change-Id: Id25ecfdf7c4f3ccfe9efdb3d6c9cf2c61dc00604

8 years agoSRADA-395: add sleep time in tests before assert
Vladislav Eliseev [Tue, 31 May 2016 14:02:43 +0000 (17:02 +0300)]
SRADA-395: add sleep time in tests before assert

Unstable synchronization causes to fail some unit tests.

Change-Id: I02dd6fd35b5f4ef6a367c14da05944baf1802bc4

8 years agoSRADA-395: fixed synchronization issue in TracingProcessManager#stopTracing()
Vladislav Eliseev [Mon, 23 May 2016 18:45:57 +0000 (21:45 +0300)]
SRADA-395: fixed synchronization issue in TracingProcessManager#stopTracing()

Issue was caused by blocking for indefinite time in
synchronized TracingProcessManager's method by calling
blocking #waitForCompletion().

Change-Id: If88ebb5c848a6a595bf21dbb116fa94faa65e8ce

8 years agoSRADA-395: added new unit test for TracingProcessManager
Vladislav Eliseev [Mon, 23 May 2016 18:21:23 +0000 (21:21 +0300)]
SRADA-395: added new unit test for TracingProcessManager

This test check situation when forceStopTracing is called
from one thread while another thread is blocked by
TracingProcessManager#stopTracing(long) call.

Change-Id: I4755a007ea271fdaf9d165a5df5910061defed89

8 years agoSRADA-395: use AtomicInteger for atomic increment in tests
Vladislav Eliseev [Mon, 30 May 2016 08:32:46 +0000 (11:32 +0300)]
SRADA-395: use AtomicInteger for atomic increment in tests

Before was used volatile integer which is non-threadsafe
for increment operation without extra lock.

Change-Id: I0679fdb12402271ad1643486f6064a5c8d559812

8 years agoSRADA-395: added new unit tests for TracingProcessManager
Vladislav Eliseev [Tue, 24 May 2016 15:03:30 +0000 (18:03 +0300)]
SRADA-395: added new unit tests for TracingProcessManager

These tests check situation when stopTracing and forceStopTracing
are called for process with finished=true in context.

Change-Id: I3226faa7b619c0d991a15dd80b7e89aea057144d

8 years agoSRADA-216: Create data managers before starting trace threads in CLI mode.
Maria Guseva [Thu, 26 May 2016 07:30:30 +0000 (10:30 +0300)]
SRADA-216: Create data managers before starting trace threads in CLI mode.

* CliInternals.startTracing() - invoke setUIElementsBySetting() before
start DA tracing threads.
* CLIAction.setUIElementsBySetting() - add creation of CallStackInserter().
* PageInfoRegistry - disable the InteractiveDataManager as not supported for CLI
and the TimelineChartManager with FIXME comment.

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

Change-Id: I3766344edba3353a78da9070d2091a1f2b4a4ea4

8 years agoSRADA-216: Implemented CliInternal startTracing() and stopTracing().
Maria Guseva [Tue, 24 May 2016 13:24:34 +0000 (16:24 +0300)]
SRADA-216: Implemented CliInternal startTracing() and stopTracing().

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/handlers/CommandAction.java

Change-Id: Iac4150b9e17c93a56c59767627d55d1c9ba64630

8 years agoSRADA-216: TracingProcess.stopTrace() stub implementation added.
Maria Guseva [Wed, 25 May 2016 08:41:03 +0000 (11:41 +0300)]
SRADA-216: TracingProcess.stopTrace() stub implementation added.

Change-Id: I105a7f6c211dbbf3a6da5694786aba7970585679

8 years agoSRADA-656: StopTraceManager.run() fixed to work in CLI mode.
Maria Guseva [Tue, 24 May 2016 07:44:02 +0000 (10:44 +0300)]
SRADA-656: StopTraceManager.run() fixed to work in CLI mode.

Wraped UI-related parts with Global.isGUIMode() checks.
Also fixed ReplayManager.resetStopAlarm() the same way as it is called in
StopTraceManager.run().

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/control/StopTraceManager.java

Change-Id: Ia9c6c73fe28b05bca4a8c9060ec478e26ab4f2e6

8 years agoSRADA-820: Applied refactoring done while merging dev_cli with upstream branch.
Maria Guseva [Mon, 20 Jun 2016 13:47:30 +0000 (16:47 +0300)]
SRADA-820: Applied refactoring done while merging dev_cli with upstream branch.

These changes were applied in commit 12367c4b485f96597fc038624634b6c73c86f053

Change-Id: I155c3d7be96ddc393df5050f1d26a10bc445e755

8 years agoSRADA-216: TracingProcess.startTrace() stub implementation added.
Maria Guseva [Sun, 22 May 2016 13:59:48 +0000 (16:59 +0300)]
SRADA-216: TracingProcess.startTrace() stub implementation added.

* CliInternals - set Logger to debug mode for now while on active
implementation stage.
* CliInternals.loadConnectedDevices(), .selectApp(), .selectTemplate() - new
helper methods.
* CliInternals.startTracing(), .stopTracing()  -renamed to
startTracingProcess() and stopTracingProcess().
* CliInternals.startTracing() - new method. Setting of selected device,
application and template implemented.

Change-Id: I7730d04889b5c133642c2a5b2dc915060bdd1e73

8 years agoSRADA-629: Communicator40.serializeApplicationInst() fixed to work in CLI mode.
Maria Guseva [Mon, 23 May 2016 11:32:37 +0000 (14:32 +0300)]
SRADA-629: Communicator40.serializeApplicationInst() fixed to work in CLI mode.

* Communicator40.addCheckpointsToInstList() - new private method extracted from
serializeApplicationInst().
* Communicator40.serializeApplicationInst() - call addCheckpointsToInstList() only
in GUI mode.

Change-Id: I497d7ad3253c171e3eefb2c8b1133eaadd9d3568

8 years agoSRADA-216: Extracted general functionality from Toolbar.onAppSelected() method.
Maria Guseva [Sun, 22 May 2016 13:01:45 +0000 (16:01 +0300)]
SRADA-216: Extracted general functionality from Toolbar.onAppSelected() method.

Exctracted funtionality is not related to the Toolbar and is supposed to be
used in both CLI and GUI modes. The extracted methods are moved to PackageInfo
class as funtionality relates to processing of PackageInfo instances.

* PackageInfo.getProcessInformation(), .getBinaryInformation() - new methods.

Change-Id: I8ce9f33448679956226697bc669f7bc0ed4d045f

8 years agoSRADA-629: AnalyzerManager.clear() fixed to work in CLI mode.
Maria Guseva [Fri, 20 May 2016 17:17:46 +0000 (20:17 +0300)]
SRADA-629: AnalyzerManager.clear() fixed to work in CLI mode.

This method is called from StartTraceManager.run().
Wraped UI-related part with Global.isGUIMode() check.

Change-Id: I6ab3a6a876c61d2a91ffe3d40ceabcc55597335f

8 years agoSRADA-629: CommonAction.clear() fixed to work in CLI mode.
Maria Guseva [Fri, 20 May 2016 17:12:49 +0000 (20:12 +0300)]
SRADA-629: CommonAction.clear() fixed to work in CLI mode.

This method is called from StartTraceManager.run().

* CommonAction.resetGUIElements() - new private method extracted from clear().
* CommonAction.clear - call resetGUIElements() only in GUI mode.

Change-Id: I821dc75e4c52160f235dce4e814b7177ad2a2971

8 years agoSRADA-629: StartTraceManager.run() fixed to work in CLI mode.
Maria Guseva [Fri, 20 May 2016 17:02:07 +0000 (20:02 +0300)]
SRADA-629: StartTraceManager.run() fixed to work in CLI mode.

Wraped UI-related parts with Global.isGUIMode() checks.
Also added debug print in StartTraceManager.setStageComplete().

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/control/StartTraceManager.java

Change-Id: Ie592d8874cc50cce64e42d0928d4c69795407f90

8 years agoSRADA-629: StartTraceManager constructor fixed to work in CLI mode.
Maria Guseva [Fri, 20 May 2016 14:15:05 +0000 (17:15 +0300)]
SRADA-629: StartTraceManager constructor fixed to work in CLI mode.

* StartTraceManager.createProgressDialog() - new private method extracted
from constructor.
* StartTraceManager - call createProgressDialog() only in GUI mode.
* StartTraceManagerTest - new JUnit test for StartTraceManager class.
For now it has one test for constructor in CLI mode.

Change-Id: I2f2614a39b3b659667050fd5f9960801d7a5aaf2

8 years agoSRADA-395: added unit test for ProcessManager#stopAll
Vladislav Eliseev [Tue, 24 May 2016 13:12:15 +0000 (16:12 +0300)]
SRADA-395: added unit test for ProcessManager#stopAll

Change-Id: Ifdc00663e93f26dae77678bd2f5156f4a54b3546

8 years agoSRADA-395: added unit tests for ProcessManager#stopTracing
Vladislav Eliseev [Tue, 24 May 2016 13:11:35 +0000 (16:11 +0300)]
SRADA-395: added unit tests for ProcessManager#stopTracing

Change-Id: I57c8d32fd147f1f575e54b147dfc2491ee6a68d4

8 years agoSRADA-583: fix ant junit task to fail in case of failure
Vladislav Eliseev [Tue, 24 May 2016 08:26:25 +0000 (11:26 +0300)]
SRADA-583: fix ant junit task to fail in case of failure

Ant junit task returned zero exit code in case
of failure earlier. Now it still runs all tests
but returns non-zero exit code if any test was failed.

Change-Id: I086a6d98a091dfeadc1c70e73707146f75bca045

8 years agoSRADA-407: Use DataManagerRegistry.createDataManagers() in GUI mode.
Maria Guseva [Wed, 18 May 2016 14:16:30 +0000 (17:16 +0300)]
SRADA-407: Use DataManagerRegistry.createDataManagers() in GUI mode.

Now data managers are registered separately from GUI objects creation.

* BaseView.compositePages() - register needed data managers for each succesfully
created page via DataManagerRegistry.createDataManagers().
* Removed data managers registration from corresponding DAPageComposite constructors.

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/FilePage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/MemoryPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/network/NetworkPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/GLPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/summary/SummaryPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/thread/ThreadPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/TimelinePage.java
Updated:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java

Change-Id: Ib6d89309279878ff34a988a3fab3302b0ec25e3e

8 years agoSRADA-407: Introduce createDataManagers*() methods and use them for CLI.
Maria Guseva [Mon, 16 May 2016 11:31:16 +0000 (14:31 +0300)]
SRADA-407: Introduce createDataManagers*() methods and use them for CLI.

Introduce new methods createDataManagers*() in DataManagerRegistry class and
use them for implementation of setUIElements* methods of CLIAction.

* DataManagerRegistry.createDataManagers(), .createDataManagersByTarget() - new
methods.
* CLIAction.setUIElements(), .setUIElementsBySetting(), .setPageBySetting() -
implemented.

Change-Id: I7cae4fdec33c4411d1dff825ce9e9e512f67ac41