1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/build
mhussein a2cfb6e5cd Bug 365718: Support tree option style in managed build options
Managed build options in tools provide several styles
for option type, for example: string, boolean, libPaths, enumerated, ...
The enumerated type allows the user to select from a pre-defined list of
values.

A usability problem might happen if the list of possible values is Huge,
in this case the simple drop-box wouldn't be sufficient for the user to
properly and easily select the needed option. In most of those cases the
huge list of options can be organized in some hierarchy that allows the
user to easily pick the needed option.

The attached patch attempts to support this by doing the following:

1- Adding support of a new option valueType "tree"
    - Adding schema for treeOption
    - Adding support for tree type similar to enumerated option type
2- Provide UI to easily select items from this tree
    - Provide a field editor with a text box and browse button
    - Provide popup tree picker with filtered search
    - Each item in the tree can optionally provide an icon, and specify
its relative order among its peers.

Updates:
- Expose TreeSelectionDialog and TreeRoot to allow usage in other
contexts
- Remove extra whitespaces.
- Support Double-click to select
- Added unit test

Change-Id: I3e7e8c6e3e9878f7c6dadeb149326b375cd3631d
Reviewed-on: https://git.eclipse.org/r/5558
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2012-05-04 09:55:26 -04:00
..
org.eclipse.cdt.autotools-feature Add org.eclipse.linuxtools.cdt.autotools to autotools feature 2012-03-20 01:16:40 -04:00
org.eclipse.cdt.autotools.core Update org.eclipse.cdt.autotools.core plugin version to 1.1.0. 2012-04-20 16:40:12 -04:00
org.eclipse.cdt.autotools.docs Rewrite Autotools docs to use CDT Autotools User Guide Wiki. 2012-04-26 18:22:49 -04:00
org.eclipse.cdt.autotools.source-feature Bug 368069 - RFE: Contribute Autotools plug-ins to the CDT 2012-03-12 00:39:05 -04:00
org.eclipse.cdt.autotools.tests Upgrade to Tycho 0.14.1 2012-04-23 00:25:47 -04:00
org.eclipse.cdt.autotools.ui Add missing Autotools UI fixes done after initial move. 2012-04-02 12:33:46 -04:00
org.eclipse.cdt.autotools.ui.tests Bug 368069 - RFE: Contribute Autotools plug-ins to the CDT 2012-03-12 00:39:05 -04:00
org.eclipse.cdt.gnu.build-feature Bumped up CDT version from 8.0 to 8.1 to make it easily 2011-10-19 18:06:14 -07:00
org.eclipse.cdt.gnu.build.source-feature Version number changes missed in the previous commit. 2011-10-19 20:53:44 -07:00
org.eclipse.cdt.make.core bug 371797: [sd90] Implement language settings providers in build 2012-04-12 01:01:23 -04:00
org.eclipse.cdt.make.core.tests auto-clean: @Override annotations + organize imports + unnecessary 2011-11-17 17:34:21 -05:00
org.eclipse.cdt.make.ui bug 328007: [sd90] Disablement of property pages depending on preference 2012-05-01 23:05:41 -04:00
org.eclipse.cdt.managedbuilder.core Bug 365718: Support tree option style in managed build options 2012-05-04 09:55:26 -04:00
org.eclipse.cdt.managedbuilder.core.tests Bug 365718: Support tree option style in managed build options 2012-05-04 09:55:26 -04:00
org.eclipse.cdt.managedbuilder.gnu.ui Add real categories for templates. Organize selection in tree. 2012-01-27 13:41:24 -05:00
org.eclipse.cdt.managedbuilder.ui Bug 365718: Support tree option style in managed build options 2012-05-04 09:55:26 -04:00
org.eclipse.cdt.managedbuilder.ui.tests auto-clean: @Override annotations + organize imports + unnecessary 2011-11-17 17:34:21 -05:00
org.eclipse.linuxtools.cdt.autotools.core Add org.eclipse.linuxtools.cdt.autotools to autotools feature 2012-03-20 01:16:40 -04:00