All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 00/18][eclipse-poky] Storing yocto settings as target profiles
@ 2013-01-30 13:56 Timo Mueller
  2013-01-30 13:56 ` [RFC v2 01/18] plugins/sdk.ide: Removed unused message Timo Mueller
                   ` (18 more replies)
  0 siblings, 19 replies; 30+ messages in thread
From: Timo Mueller @ 2013-01-30 13:56 UTC (permalink / raw)
  To: yocto; +Cc: Timo Mueller

From: Timo Mueller <timo.mueller@bmw-carit.de>

Hi,

thanks for the feedback, I did some changes to the patch series
accordingly.

First of all I've fixed the issues with the patches (duplicate method,
missing fix for NewYoctoCProjectTemplate.java).

I also changed the functionality of the "new" button according to
Jessica's feedback. The logic is changed to a "Save as ..."
approach. If the button is clicked the current values of the form are
checked. If these are valid, the user can enter a name to store them
as a new profile.

The last patch moves the "Save as ..." button to the bottom of the
preference page alongside with the "perform defaults" and the "apply"
button. I created this patch as a proof of concept because I thought
it would be a good idea to move it. 
I used the contributeButtons hook of the preference page to achieve
this, but this only allows adding the "Save as ..." button left to the
"perform defaults" button. So the order of the buttons is a bit
confusing.
I further checked several other preference pages of eclipse and it
seems like none of them is using this hook to add new buttons. Instead
all have a new button next to the comboboxes (e.g. Formatter for CDT
and JDT).
So I would plead against moving it to the bottom to have a more
consistent and less confusing ui.

From the original cover letter:
<snip>
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.
</snip>

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 (14):
  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
  plugins/sdk.ide: Moved save as button to bottom of preference page

 .../src/org/yocto/sdk/ide/YoctoProfileElement.java | 104 ++++++++++
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java | 211 +++++++++++++++++++++
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  19 +-
 .../src/org/yocto/sdk/ide/YoctoSDKPlugin.java      |   9 +
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   |  10 +-
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java       |  62 ++++--
 .../src/org/yocto/sdk/ide/YoctoUISetting.java      |  60 +++++-
 .../sdk/ide/preferences/PreferenceConstants.java   |   5 +
 .../sdk/ide/preferences/PreferenceInitializer.java |  22 ++-
 .../ide/preferences/ProfileNameInputValidator.java |  63 ++++++
 .../ide/preferences/YoctoSDKPreferencePage.java    | 133 ++++++++++---
 .../preferences/YoctoSDKProjectPropertyPage.java   |   6 +-
 .../sdk/ide/wizard/NewYoctoCProjectTemplate.java   |   7 +-
 13 files changed, 646 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



^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2013-02-04  7:28 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-30 13:56 [RFC v2 00/18][eclipse-poky] Storing yocto settings as target profiles Timo Mueller
2013-01-30 13:56 ` [RFC v2 01/18] plugins/sdk.ide: Removed unused message Timo Mueller
2013-01-30 13:56 ` [RFC v2 02/18] plugins/sdk.ide: Extract labels to private members Timo Mueller
2013-01-30 13:56 ` [RFC v2 03/18] plugins/sdk.ide: Add method to enable and disable form Timo Mueller
2013-01-30 13:56 ` [RFC v2 04/18] plugins/sdk.ide: Set value of target array on input change Timo Mueller
2013-01-30 13:56 ` [RFC v2 05/18] plugins/sdk.ide: Changed method signature to be more consistent Timo Mueller
2013-01-30 13:56 ` [RFC v2 06/18] plugins/sdk.ide: Create UI element for managing target profiles Timo Mueller
2013-01-30 13:56 ` [RFC v2 07/18] plugins/sdk.ide: Modified preferences storage to support profiles Timo Mueller
2013-01-30 13:56 ` [RFC v2 08/18] plugins/sdk.ide: Set profile on selection change Timo Mueller
2013-01-30 13:56 ` [RFC v2 09/18] plugins/sdk.ide: Add method to allow storing the current settings Timo Mueller
2013-01-30 13:56 ` [RFC v2 10/18] plugins/sdk.ide: Add UI method to create a new profile Timo Mueller
     [not found]   ` <cover.1359466765.git.timo.mueller@bmw-carit.de>
2013-01-30 13:56     ` [RFC v2 10/17] plugins/sdk.ide: Add UI method to delete a profile Timo Mueller
2013-01-30 13:59       ` Timo Müller
2013-01-30 13:56     ` [RFC v2 11/17] plugins/sdk.ide: Add UI method to rename " Timo Mueller
2013-01-30 13:56     ` [RFC v2 12/17] plugins/sdk.ide: Add method to change values of the preference page Timo Mueller
2013-01-30 13:56     ` [RFC v2 13/17] plugins/sdk.ide: Add method to rename a profile and its preference store Timo Mueller
2013-01-30 13:56     ` [RFC v2 14/17] plugins/sdk.ide: Add method to delete a profile Timo Mueller
2013-01-30 13:56     ` [RFC v2 15/17] plugins/sdk.ide: Use profiles for the preference page Timo Mueller
2013-01-30 13:56     ` [RFC v2 16/17] plugins/sdk.ide: Added profile UI to " Timo Mueller
2013-01-30 13:56     ` [RFC v2 17/17] plugins/sdk.ide: Moved save as button to bottom of " Timo Mueller
2013-01-30 13:56 ` [RFC v2 11/18] plugins/sdk.ide: Add UI method to delete a profile Timo Mueller
2013-01-30 13:56 ` [RFC v2 12/18] plugins/sdk.ide: Add UI method to rename " Timo Mueller
2013-01-30 13:56 ` [RFC v2 13/18] plugins/sdk.ide: Add method to change values of the preference page Timo Mueller
2013-01-30 13:56 ` [RFC v2 14/18] plugins/sdk.ide: Add method to rename a profile and its preference store Timo Mueller
2013-01-30 13:56 ` [RFC v2 15/18] plugins/sdk.ide: Add method to delete a profile Timo Mueller
2013-01-30 13:56 ` [RFC v2 16/18] plugins/sdk.ide: Use profiles for the preference page Timo Mueller
2013-01-30 13:56 ` [RFC v2 17/18] plugins/sdk.ide: Added profile UI to " Timo Mueller
2013-01-30 13:56 ` [RFC v2 18/18] plugins/sdk.ide: Moved save as button to bottom of " Timo Mueller
2013-01-31 19:28 ` [RFC v2 00/18][eclipse-poky] Storing yocto settings as target profiles Zhang, Jessica
2013-02-04  7:28   ` Timo Müller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.