Return-Path: Received: from linuxmail.bmw-carit.de (mail.bmw-carit.de [62.245.222.98]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 95F77E01528 for ; Thu, 13 Jun 2013 06:30:31 -0700 (PDT) Received: from localhost (mysterion.bmw-carit.intra [192.168.101.105]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: timo.mueller) by linuxmail.bmw-carit.de (Postfix) with ESMTPSA id F147740084; Thu, 13 Jun 2013 14:34:44 +0200 (CEST) From: Timo Mueller To: yocto@yoctoproject.org Date: Thu, 13 Jun 2013 15:30:21 +0200 Message-Id: X-Mailer: git-send-email 1.8.1.4 Cc: Timo Mueller Subject: [PATCH 0/7][eclipse-poky] Add target profile quick switch X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 13:30:35 -0000 From: Timo Mueller Hi, if a user wants to change the used target profile of a project he currently has to open the project preferences. This can be tedious if he has to switch the profile often. This is a small addition which allows the user to quickly switch the used target profile of a project. Instead of having to open the project preferences the user can select the project in the navigator and then choose the desired target profile from a drop-down menu in the toolbar or from the project menu. 01: Small i18n fix 02..04: Refactoring the project specific utils 05..06: Introduce the target profile toolbar switch 07: Adds the target profile switch to the project menu Best regards, Timo Timo Mueller (7): plugins/sdk.ide: Use an internationalized dialog title plugins/sdk.ide: Extract project specific util methods plugins/sdk.ide: Move project specific util methods plugins/sdk.ide: Remove project context from method names plugins/sdk.ide: Add command to switch the target profile plugins/sdk.ide: Add profile switch menu to the toolbar plugins/sdk.ide: Add profile switch menu to the project menu .../OSGI-INF/l10n/bundle.properties | 5 + plugins/org.yocto.sdk.ide/plugin.xml | 105 +++++++++ .../sdk/ide/TargetProfileContributionItem.java | 121 +++++++++++ .../org/yocto/sdk/ide/YoctoSDKMessages.properties | 3 + .../src/org/yocto/sdk/ide/YoctoUISetting.java | 3 +- .../sdk/ide/actions/ProfileSwitchHandler.java | 154 +++++++++++++ .../natures/YoctoSDKAutotoolsProjectNature.java | 3 +- .../ide/preferences/YoctoSDKPreferencePage.java | 11 +- .../preferences/YoctoSDKProjectPropertyPage.java | 130 ++--------- .../sdk/ide/utils/ProjectPreferenceUtils.java | 240 +++++++++++++++++++++ .../src/org/yocto/sdk/ide/utils/YoctoSDKUtils.java | 118 ---------- .../ide/wizard/NewYoctoProjectTemplateProcess.java | 3 +- 12 files changed, 651 insertions(+), 245 deletions(-) create mode 100644 plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/TargetProfileContributionItem.java create mode 100644 plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/actions/ProfileSwitchHandler.java create mode 100644 plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/utils/ProjectPreferenceUtils.java -- 1.8.1.4