sdk/emulator/emulator-manager.git
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 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>
8 years agotable: add composite to table item cell
jihye424.kim [Wed, 18 Nov 2015 10:41:47 +0000 (19:41 +0900)]
table: add composite to table item cell

- old: add image, text to table item cell
- new: add (image, text) or (composite, text) to table item cell
-- can not add image and composite together to same item cell

Change-Id: I17edb31aa4fbcb59175b0946ad49704093ba887a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable viewer: make 'back to emulator list' button for table viewer
jihye424.kim [Wed, 18 Nov 2015 09:54:22 +0000 (18:54 +0900)]
table viewer: make 'back to emulator list' button for table viewer

- old: each table viewer make 'back ...' button
- new: make 'back ...' button at 'TableViewerHelper' class

Change-Id: I48ee8a82452ec678bb584a6bcc79e0c7550bea5c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm list table: launch emulator when input 'enter' key
jihye424.kim [Wed, 18 Nov 2015 09:52:55 +0000 (18:52 +0900)]
vm list table: launch emulator when input 'enter' key

Change-Id: Ie0b6623cf5f13c25f274ac837f6c3215b2523f12
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoimage resources: add new image resources
jihye424.kim [Wed, 18 Nov 2015 04:39:14 +0000 (13:39 +0900)]
image resources: add new image resources

- add new image resources
-- disable check box, radio button, text delete button ...

Change-Id: Ieac47eab8e69c67f9df11fe7b4998b55605ac48c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm list table: enable 'Detail' menu
jihye424.kim [Tue, 17 Nov 2015 10:51:01 +0000 (19:51 +0900)]
vm list table: enable 'Detail' menu

- select 'Detail' in context menu of vm list table
-- open dialog that show detail information of vm

Change-Id: I06ee6a128d69c79a12c943e01a95e8a538a1b6cd
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable: seperate check routine column width and item width
jihye424.kim [Tue, 17 Nov 2015 02:21:09 +0000 (11:21 +0900)]
table: seperate check routine column width and item width

- if item width has been changed, need to resize table item

Change-Id: Ifae1231f33508b8df2e246222f2644533a2bd884
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm create table: handle status that profile is null
jihye424.kim [Mon, 16 Nov 2015 08:39:18 +0000 (17:39 +0900)]
vm create table: handle status that profile is null

- if profile is null, emulator manager is not killed
- if profile is null, vm create table view is empty view

Change-Id: I79fda730e71cddbcfcbeace7698a9644c06b9600
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agotable viewer: apply life cycle to table viewer
jihye424.kim [Mon, 16 Nov 2015 08:22:31 +0000 (17:22 +0900)]
table viewer: apply life cycle to table viewer

- life cycle
-- make(create) -> show -> pause -> show(resume) -> pause -> show(resume) ...-> destroy

Change-Id: If5fc0f6402d7554875a19756315d6018614afd70
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agocreate vm combo: delete routine of saving selected profile
jihye424.kim [Mon, 16 Nov 2015 07:32:35 +0000 (16:32 +0900)]
create vm combo: delete routine of saving selected profile

- old: if selected profile, show create emulator view in place of pop up view
- new: always show pop up view
- reason: need to improve UX

Change-Id: I6d9409f6158b6b02318a2de01565df7037676e41
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agowidget: set focus widget when down mouse button
jihye424.kim [Mon, 16 Nov 2015 07:12:59 +0000 (16:12 +0900)]
widget: set focus widget when down mouse button

- add 'setFocus' to dialog title bar and check box button

Change-Id: I6152f74016c8c2954c50b30037065c219956f84e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoresolution: fix resolution combo
minkee.lee [Mon, 16 Nov 2015 07:20:12 +0000 (16:20 +0900)]
resolution: fix resolution combo

- change combo-box parent.

Change-Id: Ibb3b4fc78d13d50ea4bc240694f0a4cdb45b49e7
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agovm-modify: add network option
minkee.lee [Mon, 16 Nov 2015 07:09:40 +0000 (16:09 +0900)]
vm-modify: add network option

Change-Id: Ic4c319150fe6bc367ceeddf2f2083e11e560c0cf
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agodevice template: move setting device template value rotine
jihye424.kim [Mon, 16 Nov 2015 05:29:47 +0000 (14:29 +0900)]
device template: move setting device template value rotine

- move setting device template value rotine to 'DeviceTemplate' from 'DeviceTemplateValue'
-- 'DeviceTemplateValue' does not use xml class
- select default device template in create vm view

Change-Id: Idbb1fa406a22cd2fcd1b725c3c6053cb79213273
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobase image dialog: add detail mode and modify mode
jihye424.kim [Fri, 13 Nov 2015 11:23:48 +0000 (20:23 +0900)]
base image dialog: add detail mode and modify mode

- click modify button -> open detail mode or modfiy mode dialog
- detail mode: emulator exist that use base image instance
-- you can modify only description item
- modify mode: emulator does not exist that use base image instance
-- you can modify all item except profile item

Change-Id: Ia44a44efec46a6d37c0158ee2e0c54ec7c05ea7a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoVM-create: add advanced option view
minkee.lee [Fri, 13 Nov 2015 08:32:48 +0000 (17:32 +0900)]
VM-create: add advanced option view

Change-Id: I43c3817e6aa982ede3531e4e90952efb64751aaa
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotable: fix scroll bar of table error
jihye424.kim [Thu, 12 Nov 2015 10:37:44 +0000 (19:37 +0900)]
table: fix scroll bar of table error

- scroll bar error
-- not show scroll bar when chaged table size
-- not scroll to last item
-- not change scroll bar location when reduced table size

Change-Id: I985a1a0c5143e0b94bb4d08b7341a091d3e973c2
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agopackage: version up (2.4.164)
minkee.lee [Thu, 12 Nov 2015 06:02:21 +0000 (15:02 +0900)]
package: version up (2.4.164)

Change-Id: I01da59dd2a29becdc256bab01f0ff347515270a9
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agooption: modify sensor option.
minkee.lee [Thu, 12 Nov 2015 05:58:17 +0000 (14:58 +0900)]
option: modify sensor option.

(from 3.0)  : "virtio-maru-sensor-pci"
(under 3.0) : "virtio-sensor-pci"

Change-Id: Id936207ece333e69bc4b5b39a39537abf8b5d510
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agodialog: refactoring item-list in dialog.
minkee.lee [Thu, 12 Nov 2015 05:43:37 +0000 (14:43 +0900)]
dialog: refactoring item-list in dialog.

Add new class (ItemListComp) and move item-list in dialog
to new class.
This is preparing for advanced setting in create VM.

Change-Id: Idfc94f592eada8e357037edba5c352e3bd618432
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agotemplate: rename some template classes.
minkee.lee [Wed, 11 Nov 2015 06:05:04 +0000 (15:05 +0900)]
template: rename some template classes.

Vm... --> VM...

Change-Id: Ia4475f066b945694d34d740eb00d05667b85af35
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agotemplate: fix default template file path.
minkee.lee [Wed, 11 Nov 2015 05:03:01 +0000 (14:03 +0900)]
template: fix default template file path.

Change path of default template for VM dialog.

Change-Id: If6cbb88f547d6effe79a8c9c58dc772915938d52
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoVM-create: change setting device-template.
minkee.lee [Wed, 11 Nov 2015 02:30:44 +0000 (11:30 +0900)]
VM-create: change setting device-template.

When template's value (SubDevice) is copied to VMProperty (VMOption),
value should be exist in item-list.
If value is not exist in item-list, it is not copied.

Change-Id: I616c5607203df8d8bbf2462f3de3a30264649f61
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.163)
minkee.lee [Tue, 10 Nov 2015 10:47:52 +0000 (19:47 +0900)]
package: version up (2.4.163)

Change-Id: Ie96c1bfcfd9e9a09a48eefa42bb5e28ec30e1e11
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoCLI: enable -p option when to create custom emulator
jihye424.kim [Tue, 10 Nov 2015 08:06:46 +0000 (17:06 +0900)]
CLI: enable -p option when to create custom emulator

- old: create custom emulator using latest platform
- new: create custom emulator using seleted platform from -p option
- add checking architecture routine for 3.0 platform

Change-Id: Ie552e6d4bb13460eeec0fb67c5bbf55200be70fc
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agolaunch option: change key type to 'String' of variable map
jihye424.kim [Tue, 10 Nov 2015 05:56:32 +0000 (14:56 +0900)]
launch option: change key type to 'String' of variable map

- key type: OPTION_KEY -> String
-- OPTION_KEY is enum type, so resources package can not add new variable key
-- if variable key type is string, resources package can add new variable key

Change-Id: Ib2e32d50547d4b00bc4629c08e5e231b80dbf3e8
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agovm property: change deprecated function call to other function call
jihye424.kim [Tue, 10 Nov 2015 05:21:04 +0000 (14:21 +0900)]
vm property: change deprecated function call to other function call

- deprecate function that return instance of class generated from jaxb
- only class of vms package can use jaxb class about vm property

Change-Id: I0d05acde9843c6af51b8a9788b0327281ce2678d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoVM property: create 'VMPropertyConfiguration' class
jihye424.kim [Tue, 10 Nov 2015 05:00:05 +0000 (14:00 +0900)]
VM property: create 'VMPropertyConfiguration' class

- 'VMPropertyConfiguration' class replace 'EmulatorConfiguration' class
-- other class can not access 'EmualtorConfiguration' class that is auto generated class from jaxb.
- 'VMOption' and 'VMSubOption' class replace 'OptionType' and 'SubOptionType'
-- 'OptionType' and 'SubOptionType' class are auto generated from jaxb

Change-Id: I9a63e27c2cc8e5688b2bcbaeac3662597698ae97
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agopackage: version up (2.4.162)
minkee.lee [Tue, 10 Nov 2015 03:47:50 +0000 (12:47 +0900)]
package: version up (2.4.162)

Change-Id: I4060e6ab937ad8c5e4473ae5b789e70c3fd08691
Signed-off-by: minkee.lee <minkee.lee@samsung.com>