sdk/emulator/emulator-manager.git
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 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agoBase Image: add cpu, skin shape property to xml file
jihye424.kim [Thu, 5 Nov 2015 05:13:15 +0000 (14:13 +0900)]
Base Image: add cpu, skin shape property to xml file

- cpu type: x86, i386, x86-64
- skin shape: circle, square, (rectangle)

Change-Id: Ia33a08a35e018e5c4f91d5cf23eba88a714ed04a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agobuild: add common build script file.
minkee.lee [Mon, 2 Nov 2015 05:09:22 +0000 (14:09 +0900)]
build: add common build script file.

- build.common file provides common clean, build, install function.
- Merge ubuntu-32/64 build host to ubuntu-32.

Change-Id: I81cc22fbf800604985c36374fe814009c681b6c8
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up. (2.4.159)
minkee.lee [Tue, 3 Nov 2015 08:57:46 +0000 (17:57 +0900)]
package: version up. (2.4.159)

Change-Id: I190d10eb3e90d34471891f2d5e8488a2c02e4ee6
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agocheck-net: set check-net process working directory
minkee.lee [Thu, 5 Nov 2015 01:47:47 +0000 (10:47 +0900)]
check-net: set check-net process working directory

- If it is not set, check-net could be run at unauthorized
  directory and it would fail when try creating new file.
  And this causes network failure in VM with host-proxy.

Change-Id: Ie98ecdbcc143693fb3082f6fda9fbceb8ac6968b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agovm-modify: add net-proxy option.
minkee.lee [Wed, 4 Nov 2015 11:39:37 +0000 (20:39 +0900)]
vm-modify: add net-proxy option.

- Add net-proxy option. And add new CommonOptionFactory.

Conflicts:

src/org/tizen/emulator/manager/ui/renewal/item/modify/common/TextInputBoxItem.java

Change-Id: I7ae31959fab29b1a9e835cc53836b26fdb4ce8ef
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoTable: change function to calcurate string size
jihye424.kim [Wed, 4 Nov 2015 11:02:14 +0000 (20:02 +0900)]
Table: change function to calcurate string size

- remove textExtend function
-- use only stringExtend function
- set max width to table column

Change-Id: I45c564e3003bd51e1f642a5bb4d477202c36db95
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBase Image Table: set table height for description
jihye424.kim [Wed, 4 Nov 2015 10:59:20 +0000 (19:59 +0900)]
Base Image Table: set table height for description

- table item height is set to max description string height.

Change-Id: I0aff0463a87e0e785b99068df9cac5842d37f38d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDescription Item: add description item for base image
jihye424.kim [Wed, 4 Nov 2015 02:51:00 +0000 (11:51 +0900)]
Description Item: add description item for base image

- add clear button to text input box

Change-Id: Idc7fc2c6cf038e5df548624f59e7333eeb2b9e78
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoMerge branch 'develop' into features/new_ui
jihye424.kim [Wed, 4 Nov 2015 02:27:55 +0000 (11:27 +0900)]
Merge branch 'develop' into features/new_ui

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

9 years agoCreate VM: add advance setting composite
jihye424.kim [Tue, 3 Nov 2015 05:47:24 +0000 (14:47 +0900)]
Create VM: add advance setting composite

- click advance button -> open advance setting composite

Change-Id: I267a84a6d7bc14e9fcf4e50577224b7a855e45d0
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoCreate VM: modify setting default skin routine
jihye424.kim [Tue, 3 Nov 2015 03:39:57 +0000 (12:39 +0900)]
Create VM: modify setting default skin routine

- default skin -> high priority skin of platform's skin list

Change-Id: I136241847421f6853209d1373ac71a49f3d746b8
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agotemplate: load XML and draw VM-modify dialog.
minkee.lee [Mon, 2 Nov 2015 12:04:55 +0000 (21:04 +0900)]
template: load XML and draw VM-modify dialog.

Change-Id: I51aba4508c5c84765676b925f9e9b80f43d4430e
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agonetwork: add check-net result to log.
minkee.lee [Tue, 3 Nov 2015 08:56:01 +0000 (17:56 +0900)]
network: add check-net result to log.

Change-Id: I612373b3d58e23854fc1bbcedd89a8bec2ecf017
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoBase Image: checking selected base image file
jihye424.kim [Mon, 2 Nov 2015 08:20:04 +0000 (17:20 +0900)]
Base Image: checking selected base image file

- checking selected base image file is standard base image file
- you can select any file for custom base image
-- file format: qcow2

Change-Id: Id3b2373d0b5ea04f9863bfda22025d434e7a568d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBase Image: modify delete function
jihye424.kim [Mon, 2 Nov 2015 07:33:55 +0000 (16:33 +0900)]
Base Image: modify delete function

- can not delete base image object if vm using base image exist
- can not delete base image file if other base image using base image file exist
- add error font color to table

Change-Id: I55c88ddcf22a585b81bc63d1841032644552e393
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBase Image Table: add context menu and tool tip about base image
jihye424.kim [Mon, 2 Nov 2015 07:13:14 +0000 (16:13 +0900)]
Base Image Table: add context menu and tool tip about base image

Change-Id: If4ce7fd0ebd0ee407843dc18aa35d6bcc2883950
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoVM List: add custom profile icon to table
jihye424.kim [Mon, 2 Nov 2015 07:01:24 +0000 (16:01 +0900)]
VM List: add custom profile icon to table

- set custom profile icon to custom vm item
- set create time to vm property

Change-Id: I7b7ee5fae5aef2935888a581d161d534bb059fc7
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBaseImageDialog: seperate modify dialog
jihye424.kim [Sun, 1 Nov 2015 09:04:18 +0000 (18:04 +0900)]
BaseImageDialog: seperate modify dialog

- if exist emulator using selected base image
-- you can modify only description
- if not exist emulator using selected base image
-- you can modify all properties except profile (name, platform, base image, description)

Change-Id: Ic1035d99626b41ee2d40ebc755ec310515666d31
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoCreate Emulator: add create emulator viewer
jihye424.kim [Sun, 1 Nov 2015 09:03:25 +0000 (18:03 +0900)]
Create Emulator: add create emulator viewer

- select base image from base image combo box
- select template from template list table
- can not use custom base image
- can not modify advanced option

Change-Id: Ie1d4294f2fd724a366599c7e7e921784ce187368
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoVM List Table: move function buttons to 'VMListTableViewer'
jihye424.kim [Sun, 1 Nov 2015 08:49:54 +0000 (17:49 +0900)]
VM List Table: move function buttons to 'VMListTableViewer'

- move function buttons to 'VMListTableViewer' from 'VMListTable'
- VMListTableViewer
-- template list, base image list button
-- create, modify, delete, launch button
-- profile button

- VMListTable
-- vm table
-- modify, delete, laucnh, reset, export as function

Change-Id: I6709eb6aa84bbe101551139ec8f256fb2e6db4f0
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoerror-icon: use drawImage() for icon.
minkee.lee [Fri, 30 Oct 2015 06:19:17 +0000 (15:19 +0900)]
error-icon: use drawImage() for icon.

In windows, setBackgroundImage() looks that it fills all canvas with image.
So I changed it with drawImage().

Change-Id: I4a53caad1957a23b7f95c4a9824fd164fd05b586
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoBase Image Table: add 'modify' and 'delete' function
jihye424.kim [Thu, 29 Oct 2015 06:46:36 +0000 (15:46 +0900)]
Base Image Table: add 'modify' and 'delete' function

Change-Id: I5ac6da8df2d54b41bf791eb405d3a62cea6004ae
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDialog: make new message box for delete base image
jihye424.kim [Thu, 29 Oct 2015 06:45:38 +0000 (15:45 +0900)]
Dialog: make new message box for delete base image

- you can delete base image file when delete base image object

Change-Id: I102d591f37fd70d53ccedbd5bde5b77748bfff30
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoprofile-item: do not change item at first time.
minkee.lee [Thu, 29 Oct 2015 11:20:26 +0000 (20:20 +0900)]
profile-item: do not change item at first time.

In device template dialog, profile selection makes item changed.
But when dialog is created, this should be ignored.

Change-Id: I63a15e3c48c6b88ce2c66d00790f7fcf732c08b8
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoBaseImageDialog: make modify dialog
jihye424.kim [Tue, 27 Oct 2015 04:11:28 +0000 (13:11 +0900)]
BaseImageDialog: make modify dialog

Change-Id: I0748c8fd677d3d08c5af99f80bdc8893ab15fab6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBase Image: add checking base iamge name routine
jihye424.kim [Mon, 26 Oct 2015 06:07:53 +0000 (15:07 +0900)]
Base Image: add checking base iamge name routine

- check base image name
-- max length of name is 30
-- duplicate name is not allowed

Change-Id: I77faecf4813471c2850f7c1718e2e4f8462f8c32
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBase Image: add checking data is available or not
jihye424.kim [Mon, 26 Oct 2015 06:04:55 +0000 (15:04 +0900)]
Base Image: add checking data is available or not

- show error icon when base image path is empty
- disable 'confirm' button when error status (image path is empty)

Change-Id: Iadd02cdcc514ebbe8695d5e1d0c3cb37406e1925
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBase Image: add checking routine (custom base image path)
jihye424.kim [Mon, 26 Oct 2015 04:26:42 +0000 (13:26 +0900)]
Base Image: add checking routine (custom base image path)

- check point
-- file format is qcow2
-- file is child image or not
-- job making custom base image is completed

Change-Id: I70165e32e368dd85400d9bf47c13f0459da96d04
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBaseImageDialog: add 'BaseImageFile' and 'Platform' item
jihye424.kim [Sun, 25 Oct 2015 02:23:16 +0000 (11:23 +0900)]
BaseImageDialog: add 'BaseImageFile' and 'Platform' item

- base iamge file item
-- select custom base imgae file from file dialog
-- if name item is empty, base image file name will be set to name item
- platform item
-- select platform among platform list of selected profile
-- this value determine emulator version

Change-Id: Iead56d6e812bac23f761e3d4fcdd913d72492e2f
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBaseImage: make base image create dialog
jihye424.kim [Sun, 25 Oct 2015 01:38:39 +0000 (10:38 +0900)]
BaseImage: make base image create dialog

- you can make custom base image using 'BaseImageCreateDialog'

Change-Id: Ieb89701bd013a5f2326e466ce841e6d68e08bd3d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoBaseImageTableViewer: create base image table viewer
jihye424.kim [Sun, 25 Oct 2015 01:26:57 +0000 (10:26 +0900)]
BaseImageTableViewer: create base image table viewer

- list up base images (standard and custom type)
- does not work create and delete function

Change-Id: I84386540694f378856aed2242d3babdf4faeffe6
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoCustomBaseImage: add custom base image loader
jihye424.kim [Sun, 25 Oct 2015 01:16:56 +0000 (10:16 +0900)]
CustomBaseImage: add custom base image loader

- make custom bsae image list from base image xml file
- profile has standard and custom base image list
- priority: standard > custom

Change-Id: I11dad06371439da54bbc420dc916f80c7b5a9b84
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agorunning-vm: change image path decoding charset.
minkee.lee [Wed, 28 Oct 2015 06:24:06 +0000 (15:24 +0900)]
running-vm: change image path decoding charset.

Emulator-manager had used UTF-8 to decode image path from ECS.
But it's wrong because ECS send image path using system default charset.
So I changed Emulator-manager to use system default charset.

This resolves issue that running-VM's launch button is enabled.

Change-Id: I0237859dc92d8edc79575fb493f8b6c7f505c748
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoCustomBaseImage: add base image xsd file
jihye424.kim [Sun, 25 Oct 2015 01:14:11 +0000 (10:14 +0900)]
CustomBaseImage: add base image xsd file

- add base-image.xsd file
- add java files for xml schema

Change-Id: I1406d7121477fd756c805a3929be7fd0dbd5f81a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agodialog: do name checking & auto-generation.
minkee.lee [Thu, 22 Oct 2015 08:13:03 +0000 (17:13 +0900)]
dialog: do name checking & auto-generation.

- show error if name is invalid.
- generate name when create/clone device-template.

Change-Id: Ie92257a95ede57fb69050baca776b9af61796ff8
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoVMListTable: delete 'reset' and 'export as' button
jihye424.kim [Thu, 22 Oct 2015 02:06:16 +0000 (11:06 +0900)]
VMListTable: delete 'reset' and 'export as' button

- you can see 'reset' and 'export as' menu in context menu
- add normal state arrow button to combo box

Change-Id: I3e84a2b0d8e23df71894d1ebf5cbd3b64ff14931
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agovm-modify: check device-template item.
minkee.lee [Thu, 22 Oct 2015 05:46:15 +0000 (14:46 +0900)]
vm-modify: check device-template item.

- Show error if device-template is not selected.
  (use default tooltip)

Change-Id: Ie24b234e5a9a5b3c9ec3c68530dd4f71aec0ac9b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agovm-modify: add skin-list.
minkee.lee [Wed, 21 Oct 2015 09:02:51 +0000 (18:02 +0900)]
vm-modify: add skin-list.

- User can select skin.
- Skin-list is depend on resolution.
- Only general skin is available if user use custom resolution.

Change-Id: Icf7660ecf7941ee29835a2f5ebcc4b78aea47d47
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agovm-modify: apply device-template value.
minkee.lee [Wed, 21 Oct 2015 05:10:12 +0000 (14:10 +0900)]
vm-modify: apply device-template value.

If user select device-template,
- some vm-property values are changed according to template.
- user cannot modify display resolution & size.

Change-Id: Id8a6bc0f880ba686e739009f408f10dc656b4fad
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoMerge "vm-modify: add H/W support item." into features/new_ui
SeokYeon Hwang [Wed, 21 Oct 2015 09:37:33 +0000 (18:37 +0900)]
Merge "vm-modify: add H/W support item." into features/new_ui

9 years agovm-modify: add H/W support item.
minkee.lee [Tue, 20 Oct 2015 09:25:31 +0000 (18:25 +0900)]
vm-modify: add H/W support item.

Change-Id: I1a8203fe7245c00a172d6aee5250217a08cd6ebd
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoTable: modify to select table item function
jihye424.kim [Wed, 21 Oct 2015 08:08:58 +0000 (17:08 +0900)]
Table: modify to select table item function

- click table item using mouse
-- right button: select item
-- left button: select item after checking ctrl key, shift key state

Change-Id: If0669117875b85997fc1210a59c41630b5588126
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoTable: fixed bug
jihye424.kim [Wed, 21 Oct 2015 03:55:20 +0000 (12:55 +0900)]
Table: fixed bug

- fixed insert error
-- error: if new table item has same index as selected item index,
throw index out of bounds exception when copy selection array
-- cause: table item set item index itself before creaetd by table
so items had same index are two...so throw exception
-- solution: table item does not set index itself, only table set item index

- fixed select table item error
-- error: when select table item..you can see parts that not drawing
-- cause: table item and table have different width
if table width has been changed, table item width has not changed..
-- solution: when table width has been changed, also change table item width

Change-Id: I2e30e145bee5ec0bb2844da91c993fdaee94cb90
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoVM List Table: add tool tip, context menu to vm list table
jihye424.kim [Tue, 20 Oct 2015 05:05:48 +0000 (14:05 +0900)]
VM List Table: add tool tip, context menu to vm list table

- add last launched time to VMProperty

Change-Id: I649ff8eb57a04af8b21152aa2311292021dec224
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agovm-modify: add file-sharing item.
minkee.lee [Mon, 19 Oct 2015 13:30:37 +0000 (22:30 +0900)]
vm-modify: add file-sharing item.

Change-Id: I1167da72b2341d09ed3cab4eb11d024fba2c9cf4
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agodevice-template: install dialog XML files.
minkee.lee [Mon, 19 Oct 2015 05:59:48 +0000 (14:59 +0900)]
device-template: install dialog XML files.

- install dialog XML files to "tools/emulator/data"

Change-Id: I0fbaf1197c2ca065fe84ead3d64608739f5313f4
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agodialog: support custom resolution.
minkee.lee [Fri, 16 Oct 2015 10:07:59 +0000 (19:07 +0900)]
dialog: support custom resolution.

- If user edit display width & height, custom resolution
  is selected.
- If input size(width,height) is in the list, it's not custom.

Conflicts:

src/org/tizen/emulator/manager/ui/renewal/widgets/ComboBox.java

Change-Id: Ieacec52a7acace3a64e417a13e5577f6f00e182b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoModify VM: select device template and save devie template
jihye424.kim [Sun, 18 Oct 2015 06:59:51 +0000 (15:59 +0900)]
Modify VM: select device template and save devie template

- click modify vm button
-- show device template list
-- select device template
-- save device template value to vm property

Change-Id: I170b38ac0fec3e5e9c58b42e81bbc35558c4c011
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoComboBox: add data item
jihye424.kim [Sun, 18 Oct 2015 06:57:43 +0000 (15:57 +0900)]
ComboBox: add data item

- you can add to 'Object' item to combo box

Change-Id: Idcbf1a61edd5344e40e2d1b537a77c90d0deff00
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoVMPropertyValue: add device template and screen size value
jihye424.kim [Sun, 18 Oct 2015 06:42:45 +0000 (15:42 +0900)]
VMPropertyValue: add device template and screen size value

Change-Id: I1fcc7102cfbee401c5961eea1dbb32a5f12806b7
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoVMProperty: add device template value and screen size value
jihye424.kim [Sun, 18 Oct 2015 06:40:14 +0000 (15:40 +0900)]
VMProperty: add device template value and screen size value

Change-Id: Ie0640528bf0182d3e95a76059bae804441b3ddb7
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDeviceTemplate: add priority and type class
jihye424.kim [Fri, 16 Oct 2015 10:33:39 +0000 (19:33 +0900)]
DeviceTemplate: add priority and type class

- priority: default, standard, custom
- type: standard, custom

Change-Id: I1867cfec8a4c3abc70b0e492dcbbb2479a1601fb
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoMessageBox: add 'DragHandler' to message box
jihye424.kim [Fri, 16 Oct 2015 09:52:19 +0000 (18:52 +0900)]
MessageBox: add 'DragHandler' to message box

- change button to swt button from gray button(custom button)
for using focusing and key input('enter' key)
- set focus to next table item after to delete device template item

Change-Id: I550dfbc479417e4cc7d4fe51bf281025739f98fd
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agotemplate-dialog: load item list for each profile.
minkee.lee [Fri, 16 Oct 2015 08:16:10 +0000 (17:16 +0900)]
template-dialog: load item list for each profile.

- Item list is changed when click profile button.

Change-Id: I8d0d29ddb62b73cd1917998dc1a1cca0f42ba93b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoDevice Template: setting default device template
jihye424.kim [Fri, 16 Oct 2015 06:46:33 +0000 (15:46 +0900)]
Device Template: setting default device template

- setting default device template among standard device template list of profile
- find default device template of top priority profile
and send to 'DeviceTemplateModifyDialog' when create device template

Change-Id: I6f5132a7113473d58e6ddae686311ab6c41a793a
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDevice Template: setting device template value using new device configuration
jihye424.kim [Thu, 15 Oct 2015 07:15:51 +0000 (16:15 +0900)]
Device Template: setting device template value using new device configuration

- add setting DPI value routine when calling setting display value function

Change-Id: I2e14a0c80326840d865f255e6aa9931bff9a5b0b
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDevice Template: add sorting routine to device template list
jihye424.kim [Thu, 15 Oct 2015 07:12:11 +0000 (16:12 +0900)]
Device Template: add sorting routine to device template list

- if device template has manufacturer, that will have upper priority than other templates
- add sorting routine using integer, double value to table column

Change-Id: I4405b962a834585c6c1aa696bae4927d1d5caa2d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDevice Template: add standard device templates
jihye424.kim [Thu, 15 Oct 2015 06:30:31 +0000 (15:30 +0900)]
Device Template: add standard device templates

Change-Id: Ie3ad2f310e1ef3c74162fbe88979abf8c0bb01cd
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDevice Template: add 'Delete' key event handler
jihye424.kim [Wed, 14 Oct 2015 10:07:14 +0000 (19:07 +0900)]
Device Template: add 'Delete' key event handler

- add 'Delete' key event handler to Device Template table viewer
- change key event handler to table composite from table item composite

Change-Id: Icb7f59faa42e2684fae236c9c2b5c5a98b14c4ca
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDevice Template Viewer: add tool tip and context menu
jihye424.kim [Wed, 14 Oct 2015 09:14:24 +0000 (18:14 +0900)]
Device Template Viewer: add tool tip and context menu

- context menu: clone, modify, delete, detail(show detail information)

Change-Id: I331fd19a628de02c75e48f04dece82e16b1f4b38
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDialog: create 'DETAIL' mode dialog
jihye424.kim [Wed, 14 Oct 2015 09:12:18 +0000 (18:12 +0900)]
Dialog: create 'DETAIL' mode dialog

Change-Id: Ic2579e448b47a306008b6363bcb246a9a89d405d
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoModify Item: add 'DETAIL' mode
jihye424.kim [Wed, 14 Oct 2015 09:07:57 +0000 (18:07 +0900)]
Modify Item: add 'DETAIL' mode

- 'DETALI' mode: dialog display information of property

Change-Id: Icc383960a16d5a87da802541b72a188fbea2c59e
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agodevice-template: draw device template dialog using XML.
minkee.lee [Wed, 14 Oct 2015 07:55:14 +0000 (16:55 +0900)]
device-template: draw device template dialog using XML.

- Now dialog use sample XML (/xsd/template-ui-mobile.xml)

Change-Id: I60d2eb237873500f21d26109f66f7e4ec6811e72
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoDevice Template: implement create, modify, clone functions
jihye424.kim [Tue, 13 Oct 2015 07:20:23 +0000 (16:20 +0900)]
Device Template: implement create, modify, clone functions

- make create, modify, clone function of device template table viewer
- add 'DIALOG_MODE' type (CREATE, CLONE, MODIFY)

Change-Id: I334f596ed6fa7ae2aaea2f2f6be5f9db61584ba3
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDeviceTemplate: make device template worker
jihye424.kim [Tue, 13 Oct 2015 05:55:36 +0000 (14:55 +0900)]
DeviceTemplate: make device template worker

- device template worker (in DeviceTemplate class)
create(clone), modify, delete device template
- make 'DeviceWorkerException' class
- add skin shape property to 'DeviceTemplateValue'

Change-Id: Idc1e92c4e6f7d93564a37431a006c352e18c4d6c
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoDevice Template: add skin shape property to xsd file
jihye424.kim [Tue, 13 Oct 2015 05:33:26 +0000 (14:33 +0900)]
Device Template: add skin shape property to xsd file

- add skin shape property
- change version type to double from string

Change-Id: I019f8e3be9593bab3aa3a02a9414e0531452a545
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agopackage: version up (2.4.158)
minkee.lee [Tue, 13 Oct 2015 02:08:23 +0000 (11:08 +0900)]
package: version up (2.4.158)

Change-Id: Ia20f369b4a8d887d9357eb83411ce1a7389c6461
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agorunning-vm: exception handling when check running-vm.
minkee.lee [Tue, 13 Oct 2015 01:59:36 +0000 (10:59 +0900)]
running-vm: exception handling when check running-vm.

- Re-try connecting to ecs when NoConnectionPendingException occurs.
- (This resolves issue that play button is not changed to disable
   sometimes in ubuntu.)

Change-Id: Ib0fa9774c6340543e708049e73da6e27953cd3a4
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoTemplate Table: set higher priority of standard template then custom template
jihye424.kim [Mon, 12 Oct 2015 04:50:09 +0000 (13:50 +0900)]
Template Table: set higher priority of standard template then custom template

Change-Id: Ie5c67551e2a31d9385c6d8b4ee6a5679f5d2c853
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoTable: add handling key event routine
jihye424.kim [Mon, 12 Oct 2015 04:38:48 +0000 (13:38 +0900)]
Table: add handling key event routine

- send key event to table from table item cell
- seperate last selected index and index table item arrangement

Change-Id: Ieb93f1016b4394b403c6df09148d7944df8876bb
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agodialog: add device template dialog.
minkee.lee [Thu, 8 Oct 2015 10:49:51 +0000 (19:49 +0900)]
dialog: add device template dialog.

- It support create template.
- It support modify template.(not complete yet)
- Now, UI is fixed. This should be changed to load XML.

Change-Id: Ib81c3019ecc66660c23335fc60ecca4ce700c7b1
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoui: adding device-template item.
minkee.lee [Fri, 2 Oct 2015 10:11:51 +0000 (19:11 +0900)]
ui: adding device-template item.

- Add Display, Ram, Processor, Sensor, Device item.
  (UI only)

Change-Id: Id290c477165b9a1f6f5e3687f7cc1cc082e831bc
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agopackage: version up (2.4.157)
minkee.lee [Thu, 8 Oct 2015 06:13:21 +0000 (15:13 +0900)]
package: version up (2.4.157)

Change-Id: If038f6cb31918f75cb0e354e31f72bd5311c59e0
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agooption: change NetworkOption class for it's subclass.
minkee.lee [Thu, 8 Oct 2015 06:07:22 +0000 (15:07 +0900)]
option: change NetworkOption class for it's subclass.

- change functions' access modified to "protected".

Change-Id: I982d976efb73129bfa5f6668456d85960149815e
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
9 years agoTable: enable table context menu
jihye424.kim [Wed, 7 Oct 2015 00:34:02 +0000 (09:34 +0900)]
Table: enable table context menu

- add mouse listener table item and table item cell

Change-Id: Ie361e8af0e94334cc5922a1b56d0d732c8b62fdb
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
9 years agoTable Item: add tool tip text function to item cell
jihye424.kim [Mon, 5 Oct 2015 01:13:50 +0000 (10:13 +0900)]
Table Item: add tool tip text function to item cell

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