SEARCH VIEW: the action bars also updated when update the toolbar tizen_studio
authorHyunJong Park <paulhj.park@samsung.com>
Thu, 13 Oct 2016 01:11:24 +0000 (10:11 +0900)
committerHyunJong Park <paulhj.park@samsung.com>
Thu, 13 Oct 2016 01:12:37 +0000 (10:12 +0900)
JIRA: SPTSDKUX-2263

Change-Id: Iafdb9da8cb3f95909ca2e2b2d66846df0e9d7b91
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java

index 7dd80a2..b7eac5a 100644 (file)
@@ -8,6 +8,11 @@
  * Contributors:
  *     IBM Corporation - initial API and implementation
  *******************************************************************************/
+/*
+ * 2016-10-13 HyunJong Park paulhj.park@samsung.com
+ * Modification by S-Core Co., Ltd.
+ * 1. the action bars also updated when update the toolbar.
+ */
 package org.eclipse.search.ui.text;
 
 import java.util.ArrayList;
@@ -735,6 +740,12 @@ public abstract class AbstractTextSearchViewPage extends Page implements ISearch
                SearchView.createToolBarGroups(tbm);
                fillToolbar(tbm);
                tbm.update(false);
+               /* Tizen */
+               /* the action bars also updated when update the toolbar.
+                * JIRA: SPTSDKUX-2263
+                */
+               getSite().getActionBars().updateActionBars();
+               /* ===== */
 
                new OpenAndLinkWithEditorHelper(fViewer) {