sdk/emulator/emulator-manager.git
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 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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>
8 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>
8 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>