sdk/ide/eclipse-platform-swt.git
7 years agoCCOMBO: adjust the position of the text widget tizen_studio
HyunJong Park [Tue, 3 Jan 2017 02:16:04 +0000 (11:16 +0900)]
CCOMBO: adjust the position of the text widget

Adjust the position of the text widget according to the font height.

JIRA: SDKRM-1207

Change-Id: I0979740ece54d440257e2b6eb216939782574cbc
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
7 years agoCOMBO: fix bug that popup list disappears when the text is pressed
HyunJong Park [Wed, 28 Dec 2016 04:56:56 +0000 (13:56 +0900)]
COMBO: fix bug that popup list disappears when the text is pressed

jira: SDKRM-1203
related gerrit: 122504, 149037, 149259

Change-Id: Ib81b511ff37a71418fab495c963e6bcafb18c496
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
7 years agoCOMBO: fix bug that the popup list not disappears on macos
HyunJong Park [Wed, 28 Dec 2016 01:38:09 +0000 (10:38 +0900)]
COMBO: fix bug that the popup list not disappears on macos

The popup list not disappears when click the text widget.
The cause of this bug is the side effect of the previous code(122504).
So, roll back the previous code.

jira: SDKRM-1203
gerrit rollback: 122504, 149037

Change-Id: Iab692b6cfaf1e062376bba8ba3468e680a7eee19
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
7 years agoMerge "COMBO: fix bug that the popup list not disappears on macos" into develop
JaeSung Jeong [Mon, 26 Dec 2016 02:54:07 +0000 (11:54 +0900)]
Merge "COMBO: fix bug that the popup list not disappears on macos" into develop

7 years agoCOMBO: fix bug that the popup list not disappears on macos
HyunJong Park [Fri, 23 Dec 2016 06:46:04 +0000 (15:46 +0900)]
COMBO: fix bug that the popup list not disappears on macos

the popup list not disappears when parent composite not activate staus.

Change-Id: I16368f5d981945d52c75f59267f3822c5ed1e8e2
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
7 years agoLIST: add a unit test cases #6
HyunJong Park [Fri, 18 Nov 2016 02:28:35 +0000 (11:28 +0900)]
LIST: add a unit test cases #6

- change setSelection()
- change setTopIndex()
- change getTopIndex()

Change-Id: Ifa5f8b55a51b3437a9454b614a77a64010cf95af
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: fix bug that selection index
HyunJong Park [Fri, 4 Nov 2016 01:28:57 +0000 (10:28 +0900)]
LIST: fix bug that selection index

selection index maintain when click an empty area

Change-Id: I4ab986b75b45bf4157edb536bf99b8163051340c
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: fix bug that not enable scrollbar
HyunJong Park [Fri, 28 Oct 2016 05:56:22 +0000 (14:56 +0900)]
TEXT: fix bug that not enable scrollbar

It is a side effect of the previous path(gerrit/#/c/138449/)
ICON_CANCEL has the same value as H_SCROLL and ICON_SEARCH has the same value as V_SCROLL.
so if this style is used as the SWT.SEARCH, delete this style value
because Tizen design does not support this style.

Change-Id: Iedbaa6507b8331e828a4dc5379d34c6c311dbfda
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: bug fix that set to the size of the checkbox button
HyunJong Park [Thu, 27 Oct 2016 01:22:58 +0000 (10:22 +0900)]
BUTTON: bug fix that set to the size of the checkbox button

If the size smaller than the image of the checkbox image, set to the size of the checkbox image.

Change-Id: I021a056b74cbd7e4a0065f3cf54db4c15ad54f9c
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: check null point exception about scroll bar
HyunJong Park [Wed, 19 Oct 2016 07:07:44 +0000 (16:07 +0900)]
LIST: check null point exception about scroll bar

JIRA: SPTSDKUX-2329

Change-Id: Ie5f0346e50cfb61366d22cea3d3d3f47d5c272fa
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTREE COLUMN: change The value of the single column
HyunJong Park [Mon, 17 Oct 2016 07:25:22 +0000 (16:25 +0900)]
TREE COLUMN: change The value of the single column

If the value of the single column is greater than the width of the monitor
The value of the single column is set the the width of the monitor.
JIRA: SPTSDKUX-2286

Change-Id: Ie70e0db518a5f618e7a94011e0d4bff21865e732
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: the text color is to clarify when the disable state
HyunJong Park [Mon, 17 Oct 2016 02:30:20 +0000 (11:30 +0900)]
BUTTON: the text color is to clarify when the disable state

JIRA: SPTSDKUX-2285

Change-Id: Ic873091fd570d855b24f208ef502ff6b603582de
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: If create the combo in the tree, not apply the Tizen design
HyunJong Park [Wed, 12 Oct 2016 09:51:12 +0000 (18:51 +0900)]
COMBO: If create the combo in the tree, not apply the Tizen design

JIRA: SPTSDKUX-2268

Change-Id: Idb7d09314e56428062f5ce9afe5742fcaa8a3ff4
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: fix bug that show seleciton item
HyunJong Park [Tue, 11 Oct 2016 09:39:19 +0000 (18:39 +0900)]
LIST: fix bug that show seleciton item

Change-Id: Ib74275c02c60de28f5f463d9068d14400041a023
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: remove design style that not support tizen guide
HyunJong Park [Tue, 11 Oct 2016 09:31:00 +0000 (18:31 +0900)]
TEXT: remove design style that not support tizen guide

JIRA: SPTSDKUX-2254

Change-Id: I0786a56f3036f1c55d7120311fbe4ec1cc36fe29
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: changed the height of list when items is zero.
HyunJong Park [Tue, 11 Oct 2016 08:53:31 +0000 (17:53 +0900)]
COMBO: changed the height of list when items is zero.

Change-Id: Ic0c35e58338355e3dda645f42a24e14571a1859f
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: delete unnecessary background color
HyunJong Park [Fri, 7 Oct 2016 09:03:49 +0000 (18:03 +0900)]
COMBO: delete unnecessary background color

Change-Id: I762ac11f3d24789ba83b76bc0ca41230df56b49a
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: fix bug that the width of combo
HyunJong Park [Fri, 30 Sep 2016 01:48:03 +0000 (10:48 +0900)]
COMBO: fix bug that the width of combo

The width of combo is determined by the item.

Change-Id: I9fa60bed90e4494ea32ea60810bda438cf550825
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: fix bug that send selection event of the raido button
HyunJong Park [Thu, 29 Sep 2016 05:26:09 +0000 (14:26 +0900)]
BUTTON: fix bug that send selection event of the raido button

Send the seleciton event when selected the another radio button of the same group.

Change-Id: I47118a1d951a46dca9b0b5c3051d1b306d28bea8
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: change the selection listener of the list widget
HyunJong Park [Wed, 21 Sep 2016 08:15:33 +0000 (17:15 +0900)]
COMBO: change the selection listener of the list widget

the selection listener of the list widget will always be invoked in the UI thread.
It is possible to process the pending event in a multi-task environment.

Change-Id: I527330b594264ad00247d2c1d1e0add792d36b3c
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: update push button state when focus out
HyunJong Park [Tue, 20 Sep 2016 03:33:53 +0000 (12:33 +0900)]
BUTTON: update push button state when focus out

Change-Id: If4ae5e8e98b0e09078ce712982dc3a1af2424a28
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: fix bug that the position of the image to drawing
HyunJong Park [Tue, 20 Sep 2016 02:14:45 +0000 (11:14 +0900)]
BUTTON: fix bug that the position of the image to drawing

Chagned the position in which the image is drawn.

Change-Id: Ifbd3cfa2b3b5bb016ca61a1b40ad994f191632a6
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: fix but that editable the text after called enable(true)
HyunJong Park [Mon, 29 Aug 2016 02:42:01 +0000 (11:42 +0900)]
COMBO: fix but that editable the text after called enable(true)

fixed a mistake

Change-Id: Iebf05c276f8b9e3c1029f4285253719adb849ddd
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: update the pressed state when mouse exit
HyunJong Park [Tue, 30 Aug 2016 04:15:40 +0000 (13:15 +0900)]
BUTTON: update the pressed state when mouse exit

Change-Id: Ibcfc497b8f9fea929c1f82dc860279d945149d48
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: fix bug that not send the select event
HyunJong Park [Mon, 29 Aug 2016 04:34:40 +0000 (13:34 +0900)]
LIST: fix bug that not send the select event

The select event is not send to the user when pressed the key input(Down/UP)

Change-Id: I0ff2a64f1629c414bf277fd9e36f307557d9113e
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: forces the paint request listener
HyunJong Park [Wed, 24 Aug 2016 04:29:52 +0000 (13:29 +0900)]
BUTTON: forces the paint request listener

Forces the paint request listener for the widget te bo processed before this method returns.

Change-Id: Id48c75924c56af0c87d24c83b54f084013537a4f
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: fix bug that get the state of the text widget
HyunJong Park [Mon, 22 Aug 2016 06:52:13 +0000 (15:52 +0900)]
TEXT: fix bug that get the state of the text widget

Return the state of the original text widget.

Change-Id: I8ba62992f95c46d7f5227ca663ad65dd98e9b74a
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: send focusIn/Out listener
HyunJong Park [Sat, 20 Aug 2016 08:46:28 +0000 (17:46 +0900)]
TEXT: send focusIn/Out listener

Change-Id: I5fb8a18fb931d161cc60afc3bf9528c2515be4ec
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: check the NPE
HyunJong Park [Sat, 20 Aug 2016 03:04:18 +0000 (12:04 +0900)]
COMBO: check the NPE

- The popup instance check that is disposed.
- the control instance do not use.

Change-Id: I1a4d9f3f5dd8763c0fd01a3d36d4c69393ad1deb
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: fix bug that duplicate focus listener
HyunJong Park [Sat, 20 Aug 2016 02:58:42 +0000 (11:58 +0900)]
TEXT: fix bug that duplicate focus listener

When add listeners of focus, the TizenText class filter this listeners.

Change-Id: I3bff9347f93a746ed2bfcd3502c5bc43927b345b
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: redraw that the mouse hover selection
HyunJong Park [Fri, 19 Aug 2016 00:49:00 +0000 (09:49 +0900)]
LIST: redraw that the mouse hover selection

the mouse hover selection disappear when the mouse out of the list area.

Change-Id: Ie94d0b9259f673cbf5fb1115a3c3f61a81c34cd8
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON, LIST: Modified to operate key input(Tab + Shift)
HyunJong Park [Thu, 18 Aug 2016 09:46:08 +0000 (18:46 +0900)]
BUTTON, LIST: Modified to operate key input(Tab + Shift)

Change-Id: I7e3b96e40bd9e3cb2485867f8a161ddcbe7bd905
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix bug that checkbox is selected using keyboard spacebar
HyunJong Park [Thu, 18 Aug 2016 09:34:23 +0000 (18:34 +0900)]
BUTTON: Fix bug that checkbox is selected using keyboard spacebar

the space pressed and the mouse click are be operated in the same routine.

Change-Id: I6cd0bfb800a98b16179b06014a88d6752729d4ab
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Fix a function that completed the unitest #7
HyunJong Park [Thu, 18 Aug 2016 09:17:10 +0000 (18:17 +0900)]
LIST: Fix a function that completed the unitest #7

Change-Id: Id02fb3bb9ce59e90f928a2dabcb4c0808e44d8e9
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix a function that completed the unittest #1
HyunJong Park [Thu, 18 Aug 2016 06:06:23 +0000 (15:06 +0900)]
BUTTON: Fix a function that completed the unittest #1

Change-Id: I0debbcc02c6c39327202f465058796cf954126d6
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Fix a funtion that completed the unitest #6
HyunJong Park [Thu, 18 Aug 2016 04:28:19 +0000 (13:28 +0900)]
LIST: Fix a funtion that completed the unitest #6

Change-Id: I2563fa0dac21567dc87dadb5edf820eefcd6ed64
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: Fix bug that the select function is not apply
HyunJong Park [Wed, 17 Aug 2016 08:01:56 +0000 (17:01 +0900)]
COMBO: Fix bug that the select function is not apply

When user call the select(), the select() is calling the setText()
and, the setText() is calling the listener(SWT.Modify) of the user because change text.
but, when the user call getSelectionIndex() in the listener(SWT.Modify) of user,
the selection index has not yet been reflected.
So, first call to select() before the setText() is called.

Change-Id: Ib1f8762d13d4fb09ccae2ee76ad0689f901cb6a6
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: code refactoring
HyunJong Park [Wed, 17 Aug 2016 02:26:31 +0000 (11:26 +0900)]
LIST: code refactoring

Change "(originalStyle & SWT.SINGLE) != 0" to "!isMultiSelectionStyle()"

Change-Id: Icbd4cdf5b991b485cbe7659b7fc53976047b37fb
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: fix bug that duplicate listener
HyunJong Park [Tue, 16 Aug 2016 09:51:19 +0000 (18:51 +0900)]
TEXT: fix bug that duplicate listener

the listener of OriginalText class filter the listener of text class.
the listener will be twice callback.

Change-Id: Id80d61e826258d40ae776d93cf58ff14469a3e31
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: set default background color
HyunJong Park [Tue, 16 Aug 2016 09:48:58 +0000 (18:48 +0900)]
LIST: set default background color

Change-Id: Icae33bf6d2fcd2c152f64cbca1c3f7b592799458
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: add traverse listener for key(tab, esc)
HyunJong Park [Tue, 16 Aug 2016 02:39:53 +0000 (11:39 +0900)]
LIST: add traverse listener for key(tab, esc)

This listener process on the tab key or esc key when this widget is the focused.

Change-Id: I738e263de048bee36c030d7f0700c6bcbe11e2e6
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Add function that set color
HyunJong Park [Fri, 12 Aug 2016 06:26:04 +0000 (15:26 +0900)]
TEXT: Add function that set color

Add setBackground and setForeground

Change-Id: I65a4ddd51ec9c7ade0ec13f683d74e503dc53328
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: rollback code
HyunJong Park [Fri, 12 Aug 2016 08:16:34 +0000 (17:16 +0900)]
TEXT: rollback code

the listener send event the event of OriginalText.java.

Change-Id: Ie529ecaa82215b01102514853da6eaa1f0859312
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Fix a function that completed the unitest#1
HyunJong Park [Thu, 11 Aug 2016 07:16:52 +0000 (16:16 +0900)]
TEXT: Fix a function that completed the unitest#1

Change-Id: I6fa63ce6996e9f6f47637f85bd57fcd7ab8106bf
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Fix a funtion that completed the unitest#5
HyunJong Park [Thu, 11 Aug 2016 07:15:36 +0000 (16:15 +0900)]
LIST: Fix a funtion that completed the unitest#5

Change-Id: If6c6f9a8e7d6ad20d4eb4f9c8aa9cf683bcbd9cb
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: Fix a function that completed the unitest#1
HyunJong Park [Thu, 11 Aug 2016 07:13:28 +0000 (16:13 +0900)]
COMBO: Fix a function that completed the unitest#1

Change-Id: Iac1bb15f6efcac823da9d373149ada5febd667ab
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Change the way to drawing a border
HyunJong Park [Thu, 11 Aug 2016 00:47:22 +0000 (09:47 +0900)]
LIST: Change the way to drawing a border

Draw with the exception of the boreder area when called redraw().

Change-Id: I39dd77ffe2398696b8665714ca7662dadab4f30c
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Change list widget to the tizen custom list
HyunJong Park [Wed, 10 Aug 2016 05:13:00 +0000 (14:13 +0900)]
LIST: Change list widget to the tizen custom list

Change-Id: I1362d7c2981beddc3d1fcd0928cb2dc25ff85856
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: Fix bug that apply the design guide
HyunJong Park [Wed, 10 Aug 2016 03:50:14 +0000 (12:50 +0900)]
COMBO: Fix bug that apply the design guide

- More than one combo is highlight.
- The color of border is not changed when the unfold state.

Change-Id: I56538f4f21d6634f40b3ee502b262c2335686125
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix bug that close Dialog(wizard) when pressed ESC key
HyunJong Park [Wed, 10 Aug 2016 04:45:40 +0000 (13:45 +0900)]
BUTTON: Fix bug that close Dialog(wizard) when pressed ESC key

The ESC key was processed at wrong listener.

Change-Id: I060b81b33ced5c45ae1e001cb83b398a1921f898
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Add a function after the operation test
HyunJong Park [Fri, 5 Aug 2016 06:07:46 +0000 (15:07 +0900)]
LIST: Add a function after the operation test

-Selection items that were out of the visible area when the v_scrollbar instance does not create.
-Not click item with the right mouse button.
-Draw a border in the canvas because the border of SWT.BORDER is frequently flicker.

Change-Id: Ie322b788af31972c22958832ba9ce2602f2218ff
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: add a function that completed the unitest #4
HyunJong Park [Tue, 2 Aug 2016 09:15:13 +0000 (18:15 +0900)]
LIST: add a function that completed the unitest #4

public Point computeSize(int wHint, int hHint, boolean changed)
public void deselect(int[] indices)
public void deselect(int index)
public void deselect(int start, int end)
public int getItemHeight()
public String[] getItems()
public String[] getSelection()
public int getSelectionCount()
public int[] getSelectionIndices()
public void select(int start, int end)
public void selectAll()
public void setItem(int index, String string)
public void setSelection(String[] items)

Change-Id: I36d4290b3b6aab1d5806ec6b380c77bb07314622
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: Fix bug that change color of widgets in combo
HyunJong Park [Tue, 2 Aug 2016 06:38:39 +0000 (15:38 +0900)]
COMBO: Fix bug that change color of widgets in combo

When call setEnable function, the widets in combo not change color.
To Apply the color to wdiget before called the paint listener.

Change-Id: I453e5ccf9cc529e9df2c2fb197f84b07d329c2d4
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Fix bug that not display all items
HyunJong Park [Tue, 2 Aug 2016 03:55:11 +0000 (12:55 +0900)]
LIST: Fix bug that not display all items

When the height of the list area than the height of the item is small,
The last item not display in the list area.
To change the height of the list area so that all of the items are display.

Change-Id: I19576099b78870af3d9d4e508480ca8222bc16a1
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoMerge "COMBO: disable event listener" into sdk
Ahn Hyocheol [Fri, 29 Jul 2016 00:10:00 +0000 (09:10 +0900)]
Merge "COMBO: disable event listener" into sdk

8 years agoCOMBO: disable event listener
HyunJong Park [Thu, 28 Jul 2016 23:48:49 +0000 (08:48 +0900)]
COMBO: disable event listener

When setting disable widget by user, disable all event listener.

Change-Id: I79bb9bd16fe9017cba432bf7b8422f60ca6e08e3
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoMerge "BUTTON: Fix but that apply color" into sdk
Yoonki Park [Thu, 28 Jul 2016 06:03:33 +0000 (15:03 +0900)]
Merge "BUTTON: Fix but that apply color" into sdk

8 years agoBUTTON: Fix but that apply color
HyunJong Park [Thu, 28 Jul 2016 05:58:09 +0000 (14:58 +0900)]
BUTTON: Fix but that apply color

When input color by user, this color apply to only nomal state color in push button.

Change-Id: Id79e7227982c0e2d20d2fb365fadc4cbe69e81a8
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoMerge "LIST: Fix but that clean item when setItmes()" into sdk
Yoonki Park [Thu, 28 Jul 2016 04:40:34 +0000 (13:40 +0900)]
Merge "LIST: Fix but that clean item when setItmes()" into sdk

8 years agoMerge changes Ie5f1f512,I52205eaa into sdk
Yoonki Park [Thu, 28 Jul 2016 04:40:21 +0000 (13:40 +0900)]
Merge changes Ie5f1f512,I52205eaa into sdk

* changes:
  LIST: remove unnecessary margin
  LIST: Hide v_scrollbar

8 years agoLIST: Fix but that clean item when setItmes()
HyunJong Park [Thu, 28 Jul 2016 02:46:42 +0000 (11:46 +0900)]
LIST: Fix but that clean item when setItmes()

When call setItems, delete all items.

Change-Id: I4bf062bf5f4d694c0c28c0ddf7208218f61a9304
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: remove unnecessary margin
HyunJong Park [Thu, 28 Jul 2016 01:35:20 +0000 (10:35 +0900)]
LIST: remove unnecessary margin

Change-Id: Ie5f1f512996bbc23fe3d666611242177e2b70007
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Hide v_scrollbar
HyunJong Park [Thu, 28 Jul 2016 00:57:42 +0000 (09:57 +0900)]
LIST: Hide v_scrollbar

When the height of the composite is smaller than the items count * item height, the v_scrollbar is visible.

Change-Id: I52205eaaa5c95511be9143500aa2830569607272
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoMerge "LIST: Fix bug that visible the h_scrollbar" into sdk
Yoonki Park [Thu, 28 Jul 2016 00:13:58 +0000 (09:13 +0900)]
Merge "LIST: Fix bug that visible the h_scrollbar" into sdk

8 years agoLIST: Fix bug that visible the h_scrollbar
HyunJong Park [Wed, 27 Jul 2016 12:24:10 +0000 (21:24 +0900)]
LIST: Fix bug that visible the h_scrollbar

If the width of the composite is smaller than the maximum character size, the h_scrollbar is visible.
When change items, update the maximum character size.

Change-Id: I298d7b4eaf9988839ba20df87f285c5500c03e03
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: modify getForeground function
GiWoong Kim [Wed, 27 Jul 2016 05:27:07 +0000 (14:27 +0900)]
BUTTON: modify getForeground function

do not return null at getForeground()

Change-Id: I5c38c4d770a637423c87312ab578e3803b44ada1
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoPROGRESSBAR: Applied to design guide and change code for the unit test
HyunJong Park [Tue, 26 Jul 2016 08:05:06 +0000 (17:05 +0900)]
PROGRESSBAR: Applied to design guide and change code for the unit test

Change code for the unit test
-public void setSelection(int value)
-public void setMaximum(int value)
-public void setMinimum(int value)

Applied to design guide
-Increase the width of the line.
-Increase the speed of the animation.

Change-Id: Ied0f4b5feade427a6d4788fcc985ea4ab273d07e
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoPROGRESSBAR: Move native source to OriginalProgressBar.java
HyunJong Park [Tue, 26 Jul 2016 08:00:34 +0000 (17:00 +0900)]
PROGRESSBAR: Move native source to OriginalProgressBar.java

Change-Id: Ib908cd895c56c193db3ac03404ca426b3f2afb05
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Fix bug that get default selection index
HyunJong Park [Tue, 26 Jul 2016 07:02:57 +0000 (16:02 +0900)]
LIST: Fix bug that get default selection index

If the index of the selected item does not exist,
return the default selection index(-1).

Change-Id: Ie72ea4f27290c0b2d766c4f2217d689c4ae0e247
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix bug that click event when the right mouse button
HyunJong Park [Tue, 26 Jul 2016 00:23:00 +0000 (09:23 +0900)]
BUTTON: Fix bug that click event when the right mouse button

When the right mouse button, set foucs the button.

Change-Id: I46e127be9a40703e1e45001781ed42676afe97d1
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoCOMBO: Apply the tizen custom list widget in the combo widget
HyunJong Park [Tue, 26 Jul 2016 00:20:20 +0000 (09:20 +0900)]
COMBO: Apply the tizen custom list widget in the combo widget

Change-Id: Icb542640d41f825376a024e08cb4cfecae5d0d00
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Remove unwanted selection behavior
HyunJong Park [Tue, 26 Jul 2016 00:18:29 +0000 (09:18 +0900)]
LIST: Remove unwanted selection behavior

Remove unwanted behavior that scrolled until the selection item is visible
when called functions of the selection type.

Change-Id: I079004eaaa4c4622a63dec25abd749c5b8aab4d6
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoMerge "RENDERER: set bold font to text of selected tab" into sdk
Yoonki Park [Mon, 25 Jul 2016 07:16:21 +0000 (16:16 +0900)]
Merge "RENDERER: set bold font to text of selected tab" into sdk

8 years agoRevert "VIEW: modify access level of getChevron() in CTabFolder"
GiWoong Kim [Mon, 25 Jul 2016 06:41:13 +0000 (15:41 +0900)]
Revert "VIEW: modify access level of getChevron() in CTabFolder"

This reverts commit 7e7cfd8145ed22fbc1ec278585535ffa5f55a3c9.

Change-Id: I68cfbb8ea33b440cb626597015b55dcb0caf0737
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoRENDERER: set bold font to text of selected tab
GiWoong Kim [Mon, 25 Jul 2016 06:22:14 +0000 (15:22 +0900)]
RENDERER: set bold font to text of selected tab

Change-Id: I38954009d9dd44ebae2afcf1b26842c7f965162a
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoLIST: Add a function that completed the unittest #3
HyunJong Park [Mon, 25 Jul 2016 02:42:55 +0000 (11:42 +0900)]
LIST: Add a function that completed the unittest #3

public void showSelection()
public void setTopIndex(int index)

Change-Id: I06181c6928b6f3d21edd451db9793a92c2fc117e
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Add a function that completed the unittest #2
HyunJong Park [Wed, 20 Jul 2016 06:30:23 +0000 (15:30 +0900)]
LIST: Add a function that completed the unittest #2

public void addSelectionListener(SelectionListener listener)
public void removeSelectionListener(SelectionListener listener)
getFocusIndex()
public void remove(int[] indices)
public void remove(int index)
public void remove(int start, int end)
public void remove(String string)
public void removeAll()
public void select(int index)

Change-Id: I48c83e7fb043e7c256f68c2ae3da7fc13a2ef033
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Add a function that completed the unittest #1
HyunJong Park [Tue, 19 Jul 2016 06:08:51 +0000 (15:08 +0900)]
LIST: Add a function that completed the unittest #1

public String getItem(int index)
public String[] getItems()
public int getSelectionIndex()
public boolean isSelected(int index)
public void select(int[] indices)
public void setSelection(int[] indices)
public void setSelection(int start, int end)

Change-Id: I868d0430a5f43ba3c286620af2990ee76ff006be
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoLIST: Add TizenList
HyunJong Park [Mon, 11 Jul 2016 00:49:43 +0000 (09:49 +0900)]
LIST: Add TizenList

This path is the draft source of tizen list widget.
When all of the public api completed the unittest, Tizen List rename to org.eclipse.swt.widgets.List

Change-Id: Ifcc79d5311edecc397d85dfb31f00444920202ad
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Fix bug that apply background
HyunJong Park [Mon, 11 Jul 2016 06:36:35 +0000 (15:36 +0900)]
TEXT: Fix bug that apply background

If not SWT.BORDER style, the native text widget diplay in full size.
So, the paint listener is not called because there is no draw part.

Change-Id: I451ff4eba5c3123b55b1df737752723b29ed1032
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: change button resources
HyunJong Park [Fri, 8 Jul 2016 07:14:39 +0000 (16:14 +0900)]
BUTTON: change button resources

Change-Id: I9b9ed9bb1a7a323c2c0c39b8026cf61b7f9ddfc6
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix bug that not callback listener
HyunJong Park [Wed, 6 Jul 2016 06:53:43 +0000 (15:53 +0900)]
BUTTON: Fix bug that not callback listener

Not callback listener that move the focus when pressed the tab key on windows.

Change-Id: Ia009965543820bcb539ac8e78430c99e9ef3a14e
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: do not set selection to push or arrow button
GiWoong Kim [Wed, 6 Jul 2016 04:10:21 +0000 (13:10 +0900)]
BUTTON: do not set selection to push or arrow button

Change-Id: Ibe21842087977a9be253425619355fb7d2d7e3ff
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoBUTTON: remove unnecessary functions
GiWoong Kim [Tue, 5 Jul 2016 07:08:44 +0000 (16:08 +0900)]
BUTTON: remove unnecessary functions

Change-Id: I248b01eb055c2eaffd846b3db8a21b530999217b
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoBUTTON: check style bits
GiWoong Kim [Mon, 4 Jul 2016 09:35:38 +0000 (18:35 +0900)]
BUTTON: check style bits

Change-Id: I628a1c08ea002d478b9e819ea5da71a020f593ce
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoBUTTON: Fix bug that the focus button
HyunJong Park [Mon, 4 Jul 2016 01:54:38 +0000 (10:54 +0900)]
BUTTON: Fix bug that the focus button

Before the focus the default button, to check the current window is activated.
when the current window is not activated, the widets of this window can not focused.
This case is cause to wait until the focus.

Change-Id: I93745189729bbff8385bc5afab2698bac15254d3
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: The native text widget display in full size.
HyunJong Park [Fri, 1 Jul 2016 07:39:53 +0000 (16:39 +0900)]
TEXT: The native text widget display in full size.

If not SWT.BORER style, the native text widget display in full size.
the grid layout is required vertical and horizontal margins.
This margin is cause to hide the some of the native text widget.

Change-Id: I903366b6de38acadd409d7c6e3c681f3d6e72713
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoVIEW: fix default color problem of view menu toolbars
GiWoong Kim [Thu, 30 Jun 2016 05:24:32 +0000 (14:24 +0900)]
VIEW: fix default color problem of view menu toolbars

In custom CTabFolder widget, wrapping rule for view menu toolbars
had been changed. All of view's toolbars should always be on top-left
of client area. Not the header area. Accordingly, there is no need to
reassign the background color like tab header color to view menu toolbar
anymore.

Change-Id: Idb592a2bd8eec05ed3dcd5092f7767938bfd96c4
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoCOMBO: Apply to the design of the loading status of bar type
HyunJong Park [Wed, 29 Jun 2016 08:44:46 +0000 (17:44 +0900)]
COMBO: Apply to the design of the loading status of bar type

Change the design diagonally from a straight line.

Change-Id: Iabde7398b4723713004ab2aaf21980f3bebe4375
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Apply to the design of push button (focused, default)
HyunJong Park [Tue, 28 Jun 2016 06:52:16 +0000 (15:52 +0900)]
BUTTON: Apply to the design of push button (focused, default)

- Remove the focused state of the button state,
and only draw a rectangle when the focused.
- Focused button and default button can be shown as a single window.

Change-Id: If8b353b179e5a284063e264c47fbef545223980b
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Delete unnecessary focus code
HyunJong Park [Mon, 27 Jun 2016 02:15:45 +0000 (11:15 +0900)]
BUTTON: Delete unnecessary focus code

This code will cause an infinite loop.
It give the focus in the function that release the focus.

Change-Id: Iaa211a71475cf57905bde6ff0f6ff021120313ce
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix bug that color of push button when pressed
HyunJong Park [Mon, 27 Jun 2016 00:42:37 +0000 (09:42 +0900)]
BUTTON: Fix bug that color of push button when pressed

Delete unnecessary code.
The color of the pressed state has already been set.

Change-Id: Ie2fdf49e50e762a715bf097ad95d8b968cc7abd9
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Fix bug that check border style
HyunJong Park [Thu, 23 Jun 2016 07:56:19 +0000 (16:56 +0900)]
TEXT: Fix bug that check border style

Returns the boolean value true if either or both style(SWT.BORDER, SWT.SEARHC) is exist.

Change-Id: Id0b1a2371d4ea24684b21bc69171d17519d04fbf
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoTEXT: Filtering the unnecessary design style
HyunJong Park [Thu, 23 Jun 2016 05:52:21 +0000 (14:52 +0900)]
TEXT: Filtering the unnecessary design style

The design concept of the text widget is to use only one.
Other style that gives the other design is filtering.

Change-Id: I70c0c0332a1eee2810d3a11af62ce9d4b06f3154
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoVIEW: modify access level of getChevron() in CTabFolder
GiWoong Kim [Wed, 22 Jun 2016 09:05:32 +0000 (18:05 +0900)]
VIEW: modify access level of getChevron() in CTabFolder

org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer class
should know about the chevron tool bar's size or location.

Change-Id: I3412d8f8ea7967d64d72ca36e69aa2445f9f68df
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoBUTTON: Fix bug that set the color of the radio button
HyunJong Park [Wed, 22 Jun 2016 08:04:37 +0000 (17:04 +0900)]
BUTTON: Fix bug that set the color of the radio button

Show the background color when a user set background color.

Change-Id: Icf9f3b34cc8050b6c2ca088e77a412878178e0e4
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoBUTTON: Fix bug related to the keyboard input
HyunJong Park [Fri, 17 Jun 2016 06:53:42 +0000 (15:53 +0900)]
BUTTON: Fix bug related to the keyboard input

This patch is a modification to the keyboard input(enter, space, esc).
When focused state, Button can receive a space key input.
If there is no focused button in the current window, Default button is activated.
Default button can receive a enter key input.

Change-Id: Ie7e6dcaa92a752a5c51ce5c8ed18b54ebcc20f09
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoVIEW: display view tool-tip on narrow presentation mode
GiWoong Kim [Tue, 21 Jun 2016 07:44:25 +0000 (16:44 +0900)]
VIEW: display view tool-tip on narrow presentation mode

Change-Id: I767dea67a32ea0a158e471b82495bd92b2dfeca9
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
8 years agoCOMBO: Apply gui guide
HyunJong Park [Tue, 21 Jun 2016 06:14:58 +0000 (15:14 +0900)]
COMBO: Apply gui guide

- Change color(font, line, arrow) when unfold state.
- Remove effect that selects all the text in the text widget.

Change-Id: Ida48fa774c822817c24716e1ae5cb369ca0a34a3
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
8 years agoRENDERER: modify some spacing sizes on view tab
GiWoong Kim [Tue, 21 Jun 2016 05:55:47 +0000 (14:55 +0900)]
RENDERER: modify some spacing sizes on view tab

Change-Id: I81c1ccf712c0e1801b02f9e9ac9f79df00fc65f0
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>