sdk/emulator/emulator-manager.git
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 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 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 years agobuild: add copying files for device-template.
minkee.lee [Mon, 2 Nov 2015 05:09:22 +0000 (14:09 +0900)]
build: add copying files for device-template.

- copy device-template definition files to 'tools/emulator/devices'.
- copy UI template files to 'tools/emulator/data'.

Conflicts:

package/build.common
package/build.windows

Change-Id: I81cc22fbf800604985c36374fe814009c681b6c8
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoMerge branch 'develop' into features/new_ui
minkee.lee [Tue, 10 Nov 2015 03:36:57 +0000 (12:36 +0900)]
Merge branch 'develop' into features/new_ui

Conflicts:
package/build.common
package/build.linux
package/build.windows

Change-Id: I854469910bb360e3b5c971b8fa40baa15fc45710
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agonew-UI: support new-ui mode with --debug option
minkee.lee [Sat, 7 Nov 2015 07:41:31 +0000 (16:41 +0900)]
new-UI: support new-ui mode with --debug option

- remove launch disable code.

Change-Id: I3337402f5259a602c1a85404e71b73ab2697e78d
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agooption: change platform condition for some option.
minkee.lee [Mon, 9 Nov 2015 06:58:15 +0000 (15:58 +0900)]
option: change platform condition for some option.

Remote option is available from 2.3.2.
Following launch variable is available from 2.3.2
 - display_resolution
 - display_pixel_density

Change-Id: I31c23c7781568602235dd1f0fd66cfebfb000a62
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agopackage: version up (2.4.161)
minkee.lee [Mon, 9 Nov 2015 04:48:52 +0000 (13:48 +0900)]
package: version up (2.4.161)

Change-Id: I5e18b2ea6b80cbce9f8db1579c66bb27eb6e7cfb
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agoskin: fix resetting skin.
minkee.lee [Mon, 9 Nov 2015 04:39:56 +0000 (13:39 +0900)]
skin: fix resetting skin.

If base image is changed, new skin have to be selected.
If variable 'skinPath' is not set to null, prior skin is used.

Change-Id: Idb3ea0166a19dd98348c5d2c9907a7ce755f7d35
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agotemplate: use common object for UI template.
minkee.lee [Sat, 7 Nov 2015 06:25:39 +0000 (15:25 +0900)]
template: use common object for UI template.

Load ItemList (XML object) and convert to VMTemplate (common object).
And following plugin interfaces are changed to use common object.
- IItemListFactory, IOptionFactory

Conflicts:

src/org/tizen/emulator/manager/platform/Platform.java

Change-Id: I20afef56c4f7644e06b78904ff214c024d5b3195
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
8 years agovm property: delete Resolution class
jihye424.kim [Sat, 7 Nov 2015 02:50:41 +0000 (11:50 +0900)]
vm property: delete Resolution class

- delete Resolution class <- auto generate class from xml (xsd) file

Change-Id: Ia549ff475529366b4dc99f4a4c75d80ed0583b77
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agovm property: setting sensor value from device template
jihye424.kim [Sat, 7 Nov 2015 02:43:27 +0000 (11:43 +0900)]
vm property: setting sensor value from device template

Change-Id: Ia485a8a32a614e035d2a3c96b2daa53096bb09ca
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodevice template table: add error icon when does not exist skin
jihye424.kim [Sat, 7 Nov 2015 01:50:43 +0000 (10:50 +0900)]
device template table: add error icon when does not exist skin

- if skin is deleted, notify error status using icon and tooltip

Change-Id: Ia9f3fae63c31500808a1c183dfe330b3ec7f743e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobase image table: show information of selected base image
jihye424.kim [Sat, 7 Nov 2015 00:05:31 +0000 (09:05 +0900)]
base image table: show information of selected base image

- base image information: version, architecture, skin shape(only wearable)
- add delete button to text box for base image name

Change-Id: I5a95362b594fd1533bdc98c63f7bae33bfc27e31
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agopackage: update version (2.4.160)
jihye424.kim [Fri, 6 Nov 2015 07:35:08 +0000 (16:35 +0900)]
package: update version (2.4.160)

Change-Id: Ie5286767c057654707ecd5d1af62e38f6e7d8cb5
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agocreate vm: fix problem to create custom vm with cli
jihye424.kim [Fri, 6 Nov 2015 06:52:12 +0000 (15:52 +0900)]
create vm: fix problem to create custom vm with cli

- bug
-- input custom base iamge path change to standard base image path
-- can not find proper skin for resolution
-- custom resolution dpi set 0
-- -d, --dpi option does not work

- fix
-- set custom base image path to vm property
-- find skin using resolution
-- delete -d, --dpi option (will support after 3.0 version)

Change-Id: Idecbe2116124bf9d0d7f61415ded3027599c66d2
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodialog: check default device template is null or not
jihye424.kim [Fri, 6 Nov 2015 13:20:58 +0000 (22:20 +0900)]
dialog: check default device template is null or not

- change default device tempalte name
-- mobile(x) -> mobile-x

Change-Id: I77272c921be5ee62fb865f5572c3ba7d90c29a27
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodevice template: set skin value
jihye424.kim [Fri, 6 Nov 2015 13:15:40 +0000 (22:15 +0900)]
device template: set skin value

- add tool tip text

Change-Id: I0bf2055cade63fe49b927f0ffc013ccf145c35e7
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agodevice template: add skin item to device template dialog
jihye424.kim [Fri, 6 Nov 2015 13:06:59 +0000 (22:06 +0900)]
device template: add skin item to device template dialog

- select skin when to create, modify, clone device template
- make static directory dialog filter path

Change-Id: I607e3f2f16e01c2fc72222b4fef94387b93e5e50
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobase image dialog: add radio button for choose architecture
jihye424.kim [Fri, 6 Nov 2015 10:44:00 +0000 (19:44 +0900)]
base image dialog: add radio button for choose architecture

Change-Id: I05e9d80469c354676b4f63213e98362493ce46de
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agobase image: add architecture type for custom base image
jihye424.kim [Fri, 6 Nov 2015 10:42:05 +0000 (19:42 +0900)]
base image: add architecture type for custom base image

- choose 32bit or 64bit kernel

Change-Id: If147695addbe07248ca506ef4835543cef21733a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
8 years agoimage button: enable radio button
jihye424.kim [Fri, 6 Nov 2015 10:40:28 +0000 (19:40 +0900)]
image button: enable radio button

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