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 DD01DE014DD for ; Thu, 24 Jan 2013 07:12:44 -0800 (PST) Received: from localhost (mysterion.bmw-carit.intra [192.168.101.47]) (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 DC53D40059; Thu, 24 Jan 2013 15:33:23 +0100 (CET) From: Timo Mueller To: yocto@yoctoproject.org Date: Thu, 24 Jan 2013 16:12:24 +0100 Message-Id: X-Mailer: git-send-email 1.7.11.7 Cc: Timo Mueller Subject: [RFC 00/17][eclipse-poky] Storing yocto settings as target profiles X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 15:12:45 -0000 From: Timo Mueller Hi, currently the yocto settings can be changed globally through eclipse's preferences or locally in the project properties. But the standard configuration stored in the global preferences sometimes changes, e.g. if a new version of the toolchain or the sysroot is released. If you change the global settings to the updated toolchain or sysroot your old working configuration is gone. If you want to reuse this configuration at a later point in time you have to (remember and) re-enter everthing. This patch set introduces the possiblity to store a configuration under a unique name, a so called target profile, and be able to select the default target profile that is used for new projects. Building upon this change the target profiles could later also be used in the project settings and be able to quickly build and debug your software for different hard- and software combinations. Best regards, Timo Atanas Gegov (4): plugins/sdk.ide: Extract labels to private members plugins/sdk.ide: Add method to enable and disable form plugins/sdk.ide: Set value of target array on input change plugins/sdk.ide: Create UI element for managing target profiles. Timo Mueller (13): plugins/sdk.ide: Removed unused message plugins/sdk.ide: Changed method signature to be more consistent plugins/sdk.ide: Modified preferences storage to support profiles. plugins/sdk.ide: Set profile on selection change plugins/sdk.ide: Add method to allow storing the current settings plugins/sdk.ide: Add UI method to create a new profile plugins/sdk.ide: Add UI method to delete a profile plugins/sdk.ide: Add UI method to rename a profile plugins/sdk.ide: Add method to change values of the preference page plugins/sdk.ide: Add method to rename a profile and its preference store plugins/sdk.ide: Add method to delete a profile plugins/sdk.ide: Use profiles for the preference page plugins/sdk.ide: Added profile UI to the preference page .../src/org/yocto/sdk/ide/YoctoProfileElement.java | 105 +++++++++ .../src/org/yocto/sdk/ide/YoctoProfileSetting.java | 244 +++++++++++++++++++++ .../org/yocto/sdk/ide/YoctoSDKMessages.properties | 19 +- .../src/org/yocto/sdk/ide/YoctoSDKPlugin.java | 15 ++ .../org/yocto/sdk/ide/YoctoSDKProjectNature.java | 10 +- .../src/org/yocto/sdk/ide/YoctoSDKUtils.java | 62 ++++-- .../src/org/yocto/sdk/ide/YoctoUISetting.java | 61 +++++- .../sdk/ide/preferences/PreferenceConstants.java | 5 + .../sdk/ide/preferences/PreferenceInitializer.java | 22 +- .../ide/preferences/ProfileNameInputValidator.java | 73 ++++++ .../ide/preferences/YoctoSDKPreferencePage.java | 80 ++++--- .../preferences/YoctoSDKProjectPropertyPage.java | 6 +- 12 files changed, 637 insertions(+), 65 deletions(-) create mode 100644 plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java create mode 100644 plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java create mode 100644 plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/ProfileNameInputValidator.java -- 1.7.11.7