* IBM Corporation - initial API and implementation
* Anton Leherbauer (Wind River Systems) - adaptations for Common Navigator
*******************************************************************************/
+/* 2016-08-24 Yoonki Park <yoonki.park@samsung.com>
+ * Modifications by S-Core Co., Ltd.
+ * 1. Added command id to build clean action
+ */
package org.eclipse.cdt.internal.ui.navigator;
import java.util.Iterator;
// Menu tags for the build
final String BUILD_GROUP_MARKER= "buildGroup"; //$NON-NLS-1$
final String BUILD_GROUP_MARKER_END= "end-buildGroup"; //$NON-NLS-1$
-
+ /* Tizen */
+ final String BUILD_CLEAN_ID = "org.tizen.common.ui.command.buildclean.action";
+ /* ===== */
/**
* Create action group associated with given view part.
* @param viewPart
public void fillActionBars(IActionBars actionBars) {
// register a CDT Build project action which prevents projects with refs from being built twice
actionBars.setGlobalActionHandler(IDEActionFactory.BUILD_PROJECT.getId(), fBuildAction);
+ /* Tizen */
+ actionBars.setGlobalActionHandler(BUILD_CLEAN_ID, fCleanAction);
+ /* ===== */
updateActionBars();
}
protected void makeActions() {
fBuildAction = new BuildGroup.CDTBuildAction(getViewPart().getSite(), IncrementalProjectBuilder.INCREMENTAL_BUILD);
fCleanAction= new BuildGroup.CDTBuildAction(getViewPart().getSite(), IncrementalProjectBuilder.CLEAN_BUILD);
+ /* Tizen */
+ fCleanAction.setActionDefinitionId(BUILD_CLEAN_ID);
+ /* ===== */
fCleanAction.setText(CViewMessages.CleanAction_label);
}