sdk/emulator/emulator-manager.git
8 years agoinput-device: add input device item
minkee.lee [Tue, 22 Dec 2015 12:04:04 +0000 (21:04 +0900)]
input-device: add input device item

Change-Id: Ifab73fcf1413fa40e141cbd31867184119d5945c
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoGL-version: set default value
minkee.lee [Tue, 22 Dec 2015 11:14:34 +0000 (20:14 +0900)]
GL-version: set default value

Default value is applied when create VM.

Change-Id: If94598efa1c114703add581c18acd17a28c77db4
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agocamera-item: change checking webcam support
minkee.lee [Wed, 23 Dec 2015 05:49:21 +0000 (14:49 +0900)]
camera-item: change checking webcam support

Executing check-cam is moved to background thread.
So, cameraItem just use the result.

Change-Id: Iaa37621e42abf48c8980d0ee3b89180fcf0255a2
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoMerge branch 'develop' into features/new_ui
minkee.lee [Wed, 23 Dec 2015 05:28:18 +0000 (14:28 +0900)]
Merge branch 'develop' into features/new_ui

Conflicts:
src/org/tizen/emulator/manager/ui/dialog/AboutDialog.java

Change-Id: I3924dddfb46e1a4b69b64afa5ec9c4709f195a07
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.173)
minkee.lee [Wed, 23 Dec 2015 04:54:45 +0000 (13:54 +0900)]
package: update version (2.4.173)

Change-Id: Id12ec43a7305283ac189ec64e8d81ecfed9d94d0
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoAbout: move about-dialog job into main thread
minkee.lee [Wed, 23 Dec 2015 04:27:16 +0000 (13:27 +0900)]
About: move about-dialog job into main thread

Thread for initializing about-dialog content is unnecessary.

Change-Id: I5725b1e008c5fd89e2b926e05cdc399762126ec8
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agocheck-process: changed to run as background
minkee.lee [Tue, 22 Dec 2015 10:11:29 +0000 (19:11 +0900)]
check-process: changed to run as background

- In initializing stage, main thread has changed not to wait until
checking job such as check VT, check GPU is finished.
- Add job for check webcam.

Change-Id: Ib6aeeb6778c6fc7d2a53ce2d3d613c9ecf13b795
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoexport-image: remove additional cancel popup
minkee.lee [Tue, 22 Dec 2015 07:39:23 +0000 (16:39 +0900)]
export-image: remove additional cancel popup

If user cancels job, additional popup that shows message
such as "User canceled" is unnecessary.

Change-Id: Ic7aa0f367aaa25229aa6aec395b254cd60fc3264
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoexport image: add compress option to 'Export as' menu
jihye424.kim [Tue, 22 Dec 2015 10:24:28 +0000 (19:24 +0900)]
export image: add compress option to 'Export as' menu

- add compress option to new ui
- 'export as' job separate to thread

Change-Id: Ib6a0bb2bf22649f62e0a5412d6bde0d6228f9c09
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotap: change ip setting if use DHCP ip on Windows
Munkyu Im [Tue, 22 Dec 2015 09:16:54 +0000 (18:16 +0900)]
tap: change ip setting if use DHCP ip on Windows

If physical network gets ip address from DHCP server,
remove it.
If bridged network ues DHCP server,
change registry key to get host ip address.

Change-Id: I6ea0a7b3cb1bedff2b3f661db9a97de3ee905883
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agolink menu: delete top link menu
jihye424.kim [Tue, 22 Dec 2015 07:20:06 +0000 (16:20 +0900)]
link menu: delete top link menu

- use link menu only in emulator list view
- delete top link menu from base image, template view
- old: emulator list view -> base image view -> template list view
- new: emulator list view -> base image view -> emulator list view -> template list view

Change-Id: Ie4a8bb03550dfe2b31c9c9c8e22d7ef38008673a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoviewer layout: adjust layout of top buttons
jihye424.kim [Tue, 22 Dec 2015 06:53:48 +0000 (15:53 +0900)]
viewer layout: adjust layout of top buttons

- move 'back' button to right side
- move 'create', 'clone', 'confirm' button to left side
- move 'modify' 'delete' button to left side of 'back' button

Change-Id: I34fb412236af92b3cd776a2ce5ff71d8ca0cf470
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoback button: change back button to use new images
jihye424.kim [Tue, 22 Dec 2015 06:43:04 +0000 (15:43 +0900)]
back button: change back button to use new images

- delete 3 patch button resources
- add new 'back' button images

Change-Id: I809caeca924d3465bafad360498f92bec116a165
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoMerge branch 'develop' into features/new_ui
jihye424.kim [Tue, 22 Dec 2015 06:35:17 +0000 (15:35 +0900)]
Merge branch 'develop' into features/new_ui

Conflicts:
        src/org/tizen/emulator/manager/ui/widgets/CommonVMButtonPainter.java
        src/org/tizen/emulator/manager/ui/widgets/VMButton.java
        src/org/tizen/emulator/manager/vms/VMWorkerCommon.java
        src/org/tizen/emulator/manager/vms/helper/CheckingRunningEmulator.java

Change-Id: Ie263280cb0e57decadc20bf8fdcd1795505ec342
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.172)
minkee.lee [Tue, 22 Dec 2015 04:57:22 +0000 (13:57 +0900)]
package: update version (2.4.172)

Change-Id: Iebc85e05ed803423a2c0da551a1d4a3ffbf00655
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotap: fix message box
Munkyu Im [Mon, 21 Dec 2015 10:48:15 +0000 (19:48 +0900)]
tap: fix message box

")" was in wrong position.

Change-Id: If2bd4c5ea25cee8930cc7053d6258204394c0085
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agomain view: change to redraw main view from refresh list
jihye424.kim [Mon, 21 Dec 2015 10:38:19 +0000 (19:38 +0900)]
main view: change to redraw main view from refresh list

- change to redraw main view after to create or modify emulator property
- problem: select first vm -> modify property -> confirm -> vm(button) move to last location
- why: 'refresh vm list' -> sorting vm list by modified date
- fix: to redraw main view replace to refresh vm list

Change-Id: Ifaced9e6d287de4150ed1c0265a39e4cbd80159e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoexport as: disable launch button during 'export as' job
jihye424.kim [Mon, 21 Dec 2015 09:12:54 +0000 (18:12 +0900)]
export as: disable launch button during 'export as' job

- set 'running' state is true when start 'export as' job
- set 'running' state is false when finish 'export as' job
- this value is kept while emulator manager is alive
- if to restart emulator manager, this value will be set false

Change-Id: Icd02aaf119d47d7a7c50f4c960371cf021e88f3a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoworker lock: consider that multi thereads use same file lock
jihye424.kim [Mon, 21 Dec 2015 07:24:07 +0000 (16:24 +0900)]
worker lock: consider that multi thereads use same file lock

- worker lock: use lock file to prevent conflict between emulator manager processes (ui and cli)
- 'create base image' job  will take long time(30 ~ 60 seconds), so spearate this job to other thread
- problem1: this job has lock file during long time, other job will be wait...
--> use property-name.lock file for this job
--> release worker lock after to create property-name.lock file
- problem2: if multi threads use same lock file,
  java throw OverlappingFileLockException when already locked file by other thread (by same JVM)
-> wait for release lock

Change-Id: I1cb43ff3631be005208d86979c837032d6029fd8
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomain view: add 'EmulatorStatusListener' to VMsMainView
jihye424.kim [Mon, 21 Dec 2015 06:32:48 +0000 (15:32 +0900)]
main view: add 'EmulatorStatusListener' to VMsMainView

- modify status of image button when receive 'changeEmulatorRunningStatus' event

Change-Id: I8e2a45d2edd790fe9e6ceea3671d7fc9b702f50c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoEmulator Status: add 'EmulatorStatusListener'
jihye424.kim [Thu, 3 Sep 2015 05:59:49 +0000 (14:59 +0900)]
Emulator Status: add 'EmulatorStatusListener'

- receive event when emulator launched or terminated.
- CheckingRunningEmulator send event

Conflicts:
src/org/tizen/emulator/manager/ui/renewal/MainDialog.java
src/org/tizen/emulator/manager/ui/renewal/tableviewer/ProfileButtonMaker.java
src/org/tizen/emulator/manager/ui/renewal/tableviewer/VMListTable.java

Change-Id: Ideba358f5fa7a4e97dc35f717cbaf86ed60940e5
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
(cherry picked from commit 69cf10df5e297d390c2bb2a947e12bc9334b15b0)

8 years agopackage: update version (2.4.171)
minkee.lee [Mon, 21 Dec 2015 09:32:14 +0000 (18:32 +0900)]
package: update version (2.4.171)

Change-Id: I701d3e127449eed2606c0f0ae73050e1a0eb70cc
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoexport-image: add cancel button to dialog
minkee.lee [Mon, 21 Dec 2015 05:37:30 +0000 (14:37 +0900)]
export-image: add cancel button to dialog

Add cancel button to dialog for compress.
( No | Cancel | Yes )

Change-Id: Icc7f24850a21cbb5f4e251b610ada1c19df21ffb
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotap: fix bridge network setting
Munkyu Im [Thu, 17 Dec 2015 04:03:57 +0000 (13:03 +0900)]
tap: fix bridge network setting

- change the way to configure TCP/IP
- fix inifinite while loop
- add logs
- change getting registry value

Change-Id: I0d494566c49723e053501644680d10cc69dd9ab4
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agonet: support bridge network for Windows 10 OS
Munkyu Im [Fri, 11 Dec 2015 09:24:13 +0000 (18:24 +0900)]
net: support bridge network for Windows 10 OS

Because Windows 8 and above need manual bridge network,
the way to detect OS supported is changed.
environment veriable "os.version" is used for it.

Change-Id: Iba36478572a434e869a4933dbe6e5a5484508dca
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
8 years agovm button: check launch button status
jihye424.kim [Fri, 18 Dec 2015 02:19:58 +0000 (11:19 +0900)]
vm button: check launch button status

- bug: can not click launch button
- why: vm button painter always reset launch button status is normal
so, remove push status of launch button
- fix: check launch button status, and change launch button status

Change-Id: I95c838790e7ede6090214929030d730b3db33757
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobuild: remove sdk-manager.jar build dependency
jihye424.kim [Mon, 14 Dec 2015 07:20:38 +0000 (16:20 +0900)]
build: remove sdk-manager.jar build dependency

Change-Id: I67a36680efec9e80f7f01274c505facb45b9057e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agosdk update: dynamic load SDKManager class
jihye424.kim [Mon, 14 Dec 2015 07:19:02 +0000 (16:19 +0900)]
sdk update: dynamic load SDKManager class

- remove SDKManager class reference
-- can not use sdk-manager.jar in build time
- find class, method in run time
-- need sdk-manager.jar in run time

Change-Id: I515d282642eedf7199afd01d16cf0785ce8b26e6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable viewer: change viewer button to image button
jihye424.kim [Wed, 16 Dec 2015 04:53:57 +0000 (13:53 +0900)]
table viewer: change viewer button to image button

- change viewer button to image button from hyper link text
- change title image

Change-Id: I7c01a3b52e4476bcf3debf3219cfb9c64d05ec63
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoGPU-option: apply warning state
minkee.lee [Wed, 16 Dec 2015 05:43:41 +0000 (14:43 +0900)]
GPU-option: apply warning state

- Show warning icon in following case.
  : use Gallium driver & GPU on
- Refactoring: add new GPU, CPU item

Change-Id: I78eb18458b4f7a45047531768693a588b6555ce5
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agodialog: add warning state for user input
minkee.lee [Wed, 16 Dec 2015 03:00:20 +0000 (12:00 +0900)]
dialog: add warning state for user input

- Show warning icon if some value is not proper.
- This is applied to processor item.
  : Show warning if (nonUG-platform && cpu > 1).

Change-Id: Ibab0f5ce450df4559cb558ee1a4cca84fff8bb72
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agodialog: add essential mark ("*") for user input
minkee.lee [Tue, 15 Dec 2015 11:21:08 +0000 (20:21 +0900)]
dialog: add essential mark ("*") for user input

- Show mark ("*") when mandatory option is empty or not selected.
- In New base image dialog, apply highlight box to image file
  text box.

Change-Id: I9c49ec8db0d959c223e31f32befa585a66383d62
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agocombo-box: fix combo-box corner color
minkee.lee [Fri, 11 Dec 2015 10:17:29 +0000 (19:17 +0900)]
combo-box: fix combo-box corner color

In windows, color of some combobox's right corner is
not same with parent's background.
To solve this issue, set parentBackground to comboBox and use it when
draw 9 patch image.

Change-Id: I7830c8b3b4a4cf9547dbe369f51a004d85f6bbcc
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agovm-modify: change sub-item's background color
minkee.lee [Fri, 11 Dec 2015 09:39:23 +0000 (18:39 +0900)]
vm-modify: change sub-item's background color

For visibility, change sub-item's background color
in vm modify dialog.

Change-Id: Ib7209eb0d31a6587a91466a40c676742e48a9527
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoexport-image: add compress option to "Export as"
minkee.lee [Fri, 11 Dec 2015 06:38:43 +0000 (15:38 +0900)]
export-image: add compress option to "Export as"

Add compress option when create new base image.
User can select yes or no after select file to be saved in dialog.
In CLI, add -c option to create-image command.

Change-Id: I918caf35578c69cf1e24c5e210e426868f7a1060
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoMerge branch 'develop' into features/new_ui
jihye424.kim [Thu, 10 Dec 2015 06:01:31 +0000 (15:01 +0900)]
Merge branch 'develop' into features/new_ui

Conflicts:
        package/changelog
        package/pkginfo.manifest

Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
Change-Id: I09d2c305d6e2795b6b02a681fa6fa3fb7587ba96

8 years agobuild: use same build script on DIBS and local
SeokYeon Hwang [Tue, 1 Dec 2015 05:03:09 +0000 (14:03 +0900)]
build: use same build script on DIBS and local

Conflicts:
        build.xml
        package/build.common

Change-Id: Ide8c0cc66d6d87cadf6e7da5655ed185df7bb9d9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
(cherry picked from commit ba797fea43cd6e4c0530fecf4b7fa04d0c7d55ce)

8 years agopackage: update version (2.4.169)
jihye424.kim [Thu, 10 Dec 2015 04:17:31 +0000 (13:17 +0900)]
package: update version (2.4.169)

Change-Id: Ib943f869d7ec8d0b64ec5f6622fdf74d956bb851
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobutton: add highlight button
minkee.lee [Thu, 10 Dec 2015 02:04:28 +0000 (11:04 +0900)]
button: add highlight button

Add highlight button for confirm, ok
and applied to dialog.

Change-Id: I2377ff115a68c2c4acf961e645753b69bceda4a9
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agomodify: check if value is changed
minkee.lee [Wed, 9 Dec 2015 10:52:30 +0000 (19:52 +0900)]
modify: check if value is changed

In modify dialog, do check value is changed and
enable confirm button.
(Device-template is not applied yet)

ItemListComp receive value and clone it.
Received value is old-value, cloned value is new-value.
So it doesn't need to clone before create dialog.

Change-Id: I825530f50aacd67c4210f10083cadda47d9860d5
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotemplate-skin: add skin shape option
minkee.lee [Mon, 7 Dec 2015 13:05:26 +0000 (22:05 +0900)]
template-skin: add skin shape option

It's for wearable device-template.

Change-Id: I7709c760289a3f3d5afeedda4fa3e5a78ed45513
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agodevice template: not make table item for template that already exist
jihye424.kim [Sat, 5 Dec 2015 09:27:39 +0000 (18:27 +0900)]
device template: not make table item for template that already exist

- create device template when profile button is off status
- bug: profile button is changed on status -> exist two table item for same template
- fix: does not make table item for template that already table item exist

Change-Id: Ia8ef8b1bedea42f7960c5a9fa391e5ea42bd3dd0
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodevice template: seperate make table and set value of table
jihye424.kim [Sat, 5 Dec 2015 08:52:35 +0000 (17:52 +0900)]
device template: seperate make table and set value of table

- for redraw table, set value of table item (does not make table item)
- make tablePack() funtion
-- set table column width
-- need to compute column width after action (create, modify, delete)

Change-Id: I066666be811cf9815ccefa6550c1b8ed5a20260c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agocustom widget: ignore unpaired 'mouse up' event
jihye424.kim [Wed, 9 Dec 2015 05:41:01 +0000 (14:41 +0900)]
custom widget: ignore unpaired 'mouse up' event

- bug: if select file with double click from file dialog, unexpected button will be clicked of emulator manager
-- after double click event, mouse up event occurred in windows
-- custom widget raise selection event when received mouse up event
-- ubuntu, mac os does not happen

- fix: match mouse down event with mouse up event
-- if does not receive mouse down event, mouse up event will be thrown out

Change-Id: Ie7b1f5f5feac227cfc0f3d62fc179d748e5ec14c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomodify-item: set PropertyValue to sub items
minkee.lee [Fri, 4 Dec 2015 10:27:59 +0000 (19:27 +0900)]
modify-item: set PropertyValue to sub items

When PropertyValue is changed, sub items's PropertyValue
must be changed too.

Change-Id: I9b1552bfa67068d118edfdc1f74f72ae58c136b7
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoprofile: remove emulator from base image
jihye424.kim [Fri, 4 Dec 2015 06:13:10 +0000 (15:13 +0900)]
profile: remove emulator from base image

- base image has emulator list
- need to remove emulator from base image when delete emulator

Change-Id: I35c71592cf6cb767731bc033a7899b01edbbe47c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable viewer: set redraw, data immediately
jihye424.kim [Fri, 4 Dec 2015 06:08:26 +0000 (15:08 +0900)]
table viewer: set redraw, data immediately

- old: set redraw, data ohter table viewer when change table viewer
- new: set redraw, data other table viewer when status is modified

Change-Id: I25f643ec9a92d77e93c54bd0d2010dcdf6a1d202
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable viewer: make table viewer name variable
jihye424.kim [Fri, 4 Dec 2015 05:51:28 +0000 (14:51 +0900)]
table viewer: make table viewer name variable

Change-Id: I173fc5b7ce291d94fbdec17f5b316fcf39abad83
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomodify dialog: set visible status before item created
jihye424.kim [Fri, 4 Dec 2015 09:25:20 +0000 (18:25 +0900)]
modify dialog: set visible status before item created

- old: does not set visible status before item created
- bug: display all item in first time
-- only installed tv profile -> display all item

Change-Id: I8dfb30e70e55d4f1cb666a6362a25fd30f84a57d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agomodify-item: remove unnecessary function argument
minkee.lee [Fri, 4 Dec 2015 05:59:53 +0000 (14:59 +0900)]
modify-item: remove unnecessary function argument

Remove argument 'PropertyValue' at below functions in
ModifyDialogItem class.
- setInitialValue()
- changeItemValue()
- setValue()

Change-Id: I61ac2288694416607a6828a29d2b89a6c7d5aa74
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agonet-option: add validation for tap device option
minkee.lee [Thu, 3 Dec 2015 09:14:36 +0000 (18:14 +0900)]
net-option: add validation for tap device option

Change-Id: I1ac1700adb39da20e178d727e1a55e9d148ee05f
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agodevice-template: fix applying selected device-template
minkee.lee [Fri, 4 Dec 2015 05:09:45 +0000 (14:09 +0900)]
device-template: fix applying selected device-template

Fix applying selected device-template value
- to VMProperty when create.
- to modify dialog.

Change-Id: Ic8c8be88d0d4906385ccc18050387204486fe858
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoplatform item: add detail mode item
jihye424.kim [Thu, 3 Dec 2015 05:05:37 +0000 (14:05 +0900)]
platform item: add detail mode item

- detail mode: display platform name, not make combo box

Change-Id: I34e336a8a094b2c7e03fc3076e5e4e4166a1781a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm property: fix null pointer exception
jihye424.kim [Thu, 3 Dec 2015 02:21:50 +0000 (11:21 +0900)]
vm property: fix null pointer exception

- bug: if child image path or sawp image path is null, throw null pointer exception
- fix: check this value is null or not

Change-Id: Ifdfc961b7181bccb0e73d8308fdf66840c9d84fb
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobase image item: change 'DescriptionItem' width
jihye424.kim [Thu, 3 Dec 2015 02:24:06 +0000 (11:24 +0900)]
base image item: change 'DescriptionItem' width

Change-Id: I08634704e5f3b73445755113dcb3f7ed96ed5643
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agofile dialog item: add text label for detail mode
jihye424.kim [Thu, 3 Dec 2015 02:02:46 +0000 (11:02 +0900)]
file dialog item: add text label for detail mode

- detail mode: only display text that can not modified

Change-Id: Ie2d772d87dc491ea9deba2955cb3c57a6bcc8f95
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotuner-option: add tuner option
minkee.lee [Wed, 2 Dec 2015 12:34:56 +0000 (21:34 +0900)]
tuner-option: add tuner option

Add tuner option.
- Move some common function to CategoryItem.

Change-Id: I8994b26fbdda6e4b49e1ecced5fcc251bd81212f
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoOCI-option: add OCI option
minkee.lee [Wed, 2 Dec 2015 08:28:20 +0000 (17:28 +0900)]
OCI-option: add OCI option

This option should be moved to tv plug-in.
(EnumerationOCI.java, OCIDeviceItem.java should be removed)

Change-Id: I8640dd7f41f6677575d19a77ebb23d9b408fd254
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoGL-option: add GL-version option
minkee.lee [Wed, 2 Dec 2015 05:43:24 +0000 (14:43 +0900)]
GL-option: add GL-version option

- Add GL-version option for Mac OS and
  change ItemTitle for no-icon title.
- GL-version is available when GPU acceleration is ON.

Change-Id: I3ef0912e99bab9fa4528b1d93c3caa3627c102a1
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.168)
minkee.lee [Thu, 3 Dec 2015 06:29:24 +0000 (15:29 +0900)]
package: update version (2.4.168)

Change-Id: Iacf6ce2ae516902caab6526496a0867f1d35ee97
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoVM-property: fix finding default VM-property
minkee.lee [Thu, 3 Dec 2015 03:11:52 +0000 (12:11 +0900)]
VM-property: fix finding default VM-property

Default property file name for each image is {image-name}.xml.
So, if only image-name is used for finding default property file,
wrong file may be found.

Change-Id: I641f22498b1ce6b36de5905c67cb37d72c69eea6
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agobase image: not make table item for base image that already exist
jihye424.kim [Wed, 2 Dec 2015 07:58:35 +0000 (16:58 +0900)]
base image: not make table item for base image that already exist

- create base image when profile button is off status
- bug: profile button is on status -> exist two table item of same base image
- fix: does not make table item for base image that already exist table item

Change-Id: I34c8361a77c3ccedda74934be45cded5f53bf8e4
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobase image: seperate make table and set value of table
jihye424.kim [Wed, 2 Dec 2015 07:29:27 +0000 (16:29 +0900)]
base image: seperate make table and set value of table

- when redraw table, set value of table item (does not make table item)
- make tablePack() function
-- set table column width
-- need to compute column width after action (create, modify, delete)

Change-Id: I6a4b164e10be5bc784d3f319d1c899e28f2ddac6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.167)
jihye424.kim [Tue, 1 Dec 2015 10:34:42 +0000 (19:34 +0900)]
package: update version (2.4.167)

Change-Id: Ide5bfd78296254aead2554540e380d747745166b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoabout: change to form layout from grid layout
jihye424.kim [Tue, 1 Dec 2015 05:03:31 +0000 (14:03 +0900)]
about: change to form layout from grid layout

- bug: text box is cropped in windows
- fix: change to form layout and set proper width

Change-Id: I0728c56142ef0cd663b84b8bf1a7ef66fd744180
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm property: copy child base image path and swap image path
jihye424.kim [Tue, 1 Dec 2015 10:27:28 +0000 (19:27 +0900)]
vm property: copy child base image path and swap image path

- bug:
-- miss initialize child base image path and swap image path variable

Change-Id: I7e0057fe12e2dfebef07604d7f3b71bfba826c20
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoproxy-option: set default value
minkee.lee [Mon, 30 Nov 2015 05:54:00 +0000 (14:54 +0900)]
proxy-option: set default value

Set default value (auto) for proxy mode.

Change-Id: Ibff3aba7f184cb8f14d99e25b32bf634422517f8
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agopackage: update version (2.4.167)
minkee.lee [Tue, 1 Dec 2015 04:53:07 +0000 (13:53 +0900)]
package: update version (2.4.167)

Change-Id: Ic1e359dfc847b64aca7a4a8676f8b225e6549ffe
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agowidget: replace function that use SWT with a new function that not use SWT.
jihye424.kim [Mon, 30 Nov 2015 07:21:11 +0000 (16:21 +0900)]
widget: replace function that use SWT with a new function that not use SWT.

- for success to build emulator manager resources without swt library
-- remove Canvas, GC, Color, PaintListener, SelectionListner...
-- replace wrapper class, other function that not use SWT

Change-Id: I9964fdb9dd79e6873429281cbe78973142aa1cc6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm-modify: fix mouse scroll in windows OS.
minkee.lee [Mon, 30 Nov 2015 05:16:32 +0000 (14:16 +0900)]
vm-modify: fix mouse scroll in windows OS.

- Item-list gets focus when advance option is shown
or item is clicked.

Change-Id: I8cf45709fbf2caca8aa85238d80275f324e3d4c1
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotemplate: change default template for dialog
minkee.lee [Fri, 27 Nov 2015 08:46:08 +0000 (17:46 +0900)]
template: change default template for dialog

- vmName -> name
- re-arrange and remove some items.

Change-Id: I927c9432c75843c1c53bdcf0b3b23c0119d35582
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoMerge branch 'develop' into features/new_ui
jihye424.kim [Mon, 30 Nov 2015 01:31:23 +0000 (10:31 +0900)]
Merge branch 'develop' into features/new_ui

Conflicts:
package/changelog
package/pkginfo.manifest
src/org/tizen/emulator/manager/platform/Platform.java
src/org/tizen/emulator/manager/vms/VMWorkerCommon.java

Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
Change-Id: I2e39f503e39121c9d9b211f6d0b39e59c414c57e

8 years agobase image: clear emulator list of base image
jihye424.kim [Fri, 27 Nov 2015 09:04:45 +0000 (18:04 +0900)]
base image: clear emulator list of base image

- clear emulator list of base image when reloading emulator list
- bug: add emulator to base image each time when reloading emulator list
- fix: clear emulator list when reloading emulator list

Change-Id: I4e3798844a21e3a5421c3b04ac23ef9f2b901096
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobase image list: add reloading base image function
jihye424.kim [Fri, 27 Nov 2015 08:57:32 +0000 (17:57 +0900)]
base image list: add reloading base image function

- reloading base image list from base image list configure

Change-Id: I7d70d74d7d7679ff83af6e42fe87625e1e7e4ced
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm list table: add warning and error status
jihye424.kim [Fri, 27 Nov 2015 08:48:57 +0000 (17:48 +0900)]
vm list table: add warning and error status

- warning status
-- original template has been deleted
-- original template has been modified
-- this status can not effect emulator action(launch, reset, export as etc)
-- in modify dialog can update device template

- error status
-- base image has been deleted
-- emulator can not launch, export as, reset
-- need to delete emulator

Change-Id: Ibfe6cd6db74e6c60b74ccfac5d5549d19a04b72e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.166)
minkee.lee [Fri, 27 Nov 2015 07:22:37 +0000 (16:22 +0900)]
package: update version (2.4.166)

Change-Id: I26ebd0391961576b1b7ee4b10c6816d5cc9f7c9e
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agooption: fix option name for name item
minkee.lee [Fri, 27 Nov 2015 07:19:22 +0000 (16:19 +0900)]
option: fix option name for name item

vmName -> name

Change-Id: I362a35d95d8d414138977559deb5928f43241b6c
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agodialog: improve detail & modify view
minkee.lee [Fri, 27 Nov 2015 01:12:09 +0000 (10:12 +0900)]
dialog: improve detail & modify view

In detail view, remove widget and use text.
In modify view, apply disable widget image.

Change-Id: Ifccfed57af982592b92ade77777534010da9963c
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agovm worker: remove worker thread from vm worker
jihye424.kim [Mon, 23 Nov 2015 07:59:41 +0000 (16:59 +0900)]
vm worker: remove worker thread from vm worker

- fix: remove worker thread from vm worker
-- we need worker thread to prevent ui blocking beacuse to create base image job take long time
-- UI module use worker thread, beacuse UI module need to prevent blocking
-- vm worker not use thread, vm worker need not to know blocking issue

- bug: thread timing issue
-- thread1: wait to thread2 (check isAlive)
(error status)
-- thread2: notify to thread1
-- thread1: wake up -> check isAlive() -> thread2 isAlive -> thread1 wait forever
-- thread2: terminate
(normal status)
-- thread2: notify to thread1 -> terminate
-- thread1: wake up -> check isAlive() -> next step

- can not control thread terminate time

Change-Id: I9b2528d2b0effccd975c58580542682054d299b4
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm-create: add skin option
minkee.lee [Wed, 25 Nov 2015 12:01:56 +0000 (21:01 +0900)]
vm-create: add skin option

Skin is added in advanced option.

Change-Id: If9b96b4f5f0b5199479c4e568aa5ac91cac7cf79
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agocustom-image: setting CPU type for custom base image
minkee.lee [Wed, 25 Nov 2015 07:53:57 +0000 (16:53 +0900)]
custom-image: setting CPU type for custom base image

Setting CPU type is needed to create launch config file.
(image_arch=xxx)

Change-Id: I5de59006e7b93a075657cd4e2abe986cf25b11c2
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agovm list table: seperate make table item and draw table item
jihye424.kim [Wed, 25 Nov 2015 09:54:14 +0000 (18:54 +0900)]
vm list table: seperate make table item and draw table item

- initialize and refresh: make table item
- create vm, modify template, modify base image ...: redraw table item

Change-Id: Ie42f9a03ed724e0d6cd59f48e2e68542cfc80548
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable viewer: add redraw function
jihye424.kim [Wed, 25 Nov 2015 08:49:50 +0000 (17:49 +0900)]
table viewer: add redraw function

- if need to redraw table viewer, set 'isNeedRedraw' variable
- table viewer will be check 'isNeedRedraw' value and redraw or not

Change-Id: I903c3aadcab4644d2173e712f1b44420560a4020
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodevice template item: set deivce template value
jihye424.kim [Wed, 25 Nov 2015 08:39:12 +0000 (17:39 +0900)]
device template item: set deivce template value

- set device template value when selected combo item
- device template value
-- set device template information(name, path, version)
-- set display property
-- set ram size, cpu
-- set sensor, camera ...

Change-Id: I67e1966983da8a85316c720b27748e712008b309
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm property value: add device name, path, version property
jihye424.kim [Wed, 25 Nov 2015 07:56:21 +0000 (16:56 +0900)]
vm property value: add device name, path, version property

- device name, path, version are set from vm property xml
-- device name, path, version are static information
- device object is set from device template list in runtime
-- device object is dynamic information

Change-Id: I9b6baf4c997ca0b51badbbccf26646c8448a9810
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodevice template: fix add double value error
jihye424.kim [Wed, 25 Nov 2015 07:40:20 +0000 (16:40 +0900)]
device template: fix add double value error

- 1.0 + 0.1 + 0.1 + 0.1 is not 1.3
-- 1.30000000000001 (???)
- there are some solution (using BigDecimal, using % ...)
- need version value to check whether template is updated or not
-- so, simply change to use one digit of double value

Change-Id: Ib7f7b8030f1ff2d0cf60b1352d5e8cd543e9c81d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm property: copy child base image path when clone
jihye424.kim [Mon, 23 Nov 2015 08:53:35 +0000 (17:53 +0900)]
vm property: copy child base image path when clone

- copy child base image and swap image path when clone 'VMPropertyValue'

Change-Id: I04eda3083e67e882c92515e5b465e83e63d8c47e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm-modify: add camera item
minkee.lee [Mon, 23 Nov 2015 07:32:24 +0000 (16:32 +0900)]
vm-modify: add camera item

Change-Id: I48565d120a3444a172ffea0d6c5425fb191818d9
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotable: redraw table item view background
jihye424.kim [Mon, 23 Nov 2015 02:25:04 +0000 (11:25 +0900)]
table: redraw table item view background

- redraw table item view background when changed table item height

Change-Id: I3eeae3b1977adcc398a90d5cf932e2d71a606b96
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodialog: show package version information
jihye424.kim [Fri, 20 Nov 2015 06:45:35 +0000 (15:45 +0900)]
dialog: show package version information

- about dialog
-- emulator manager's package version
-- installed plugin's package version
- main dialog
-- show package version on title bar

Change-Id: I49a1ac4df3e1eec765002b075ac4029ec6d9a165
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoem plugin: add package version attribute
jihye424.kim [Fri, 20 Nov 2015 06:44:57 +0000 (15:44 +0900)]
em plugin: add package version attribute

Change-Id: Ib697dab348e0efda41a375b491e72b0cf88d48c7
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoabout: add package version property
jihye424.kim [Fri, 20 Nov 2015 06:44:25 +0000 (15:44 +0900)]
about: add package version property

Change-Id: I1b10197585c137aa51bfc256406b8f09bc6936a7
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: add package version to about.properties file
jihye424.kim [Wed, 18 Nov 2015 12:29:56 +0000 (21:29 +0900)]
package: add package version to about.properties file

Change-Id: I2da30151fa4a5693319157cf6b9221451c937ae1
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.165)
jihye424.kim [Wed, 18 Nov 2015 12:03:12 +0000 (21:03 +0900)]
package: update version (2.4.165)

Change-Id: Id37c6e5c74780d30a284391012455a8547f0a221
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agooption: fix skin option, combobox.
minkee.lee [Thu, 19 Nov 2015 02:35:38 +0000 (11:35 +0900)]
option: fix skin option, combobox.

- fix issue that skin is not selected.
- fix issue that ComboBoxPopup is already disposed.

Change-Id: I7456640ef3a7e6efca3730fd12a52c6f54384343
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agonetwork-item: fix network-item bug
minkee.lee [Thu, 19 Nov 2015 02:22:54 +0000 (11:22 +0900)]
network-item: fix network-item bug

- add checking item index.
- fix clone function.

Change-Id: Ifd1bcf40ae5648c1fc11e90b2148be87d3e932a4
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotable viewer helper: modify 'back to emulator list' button text
jihye424.kim [Wed, 18 Nov 2015 12:01:50 +0000 (21:01 +0900)]
table viewer helper: modify 'back to emulator list' button text

Change-Id: Id51f433c07a6094fd876e32eae304857a9fdd3b1
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm list table viewer: if profile does not exist, not add to combo box
jihye424.kim [Wed, 18 Nov 2015 12:00:02 +0000 (21:00 +0900)]
vm list table viewer: if profile does not exist, not add to combo box

- 'Create New Emualtor' combo box has profile list
-- old: combo box has all profile (mobile, tv, wearable..)
-- new: combo box has only exist profile

Change-Id: I61e8c54a81543c7a507b34326fe1ebf9b389d25b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoimage button: fix the bug (disable radio button status)
jihye424.kim [Wed, 18 Nov 2015 11:55:13 +0000 (20:55 +0900)]
image button: fix the bug (disable radio button status)

- bug: set disable radio button (not select) and set selection to false
--> radio button enabled

Change-Id: I35a23df7dd055ca8c278a8ca1ac5e1b37226c50e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable item: set font when compute text width
jihye424.kim [Wed, 18 Nov 2015 11:52:41 +0000 (20:52 +0900)]
table item: set font when compute text width

Change-Id: Ie30bc7d5d9359c7949007ba4ea2dff828680ddbf
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>