Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 396420 - [ui] Control Install dialog options through preference customization
Summary: [ui] Control Install dialog options through preference customization
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: Kepler M5   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-12 10:45 EST by Pascal Rapicault CLA
Modified: 2013-01-14 12:43 EST (History)
2 users (show)

See Also:


Attachments
Patch to control p2 install checkboxes (18.91 KB, patch)
2012-12-18 02:56 EST, Hamdan Msheik CLA
no flags Details | Diff
Patch to Bug 396420: Control of a number of p2 install checkboxes via (19.81 KB, patch)
2012-12-20 09:27 EST, Hamdan Msheik CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2012-12-12 10:45:57 EST
It is currently not possible to control the default state of the checkboxes contained in the install dialog. 
In an RCP app or product scenario, it is necessary to let the product creator control the initial state of these checkboxes through preference customization.
Comment 1 Hamdan Msheik CLA 2012-12-18 02:56:03 EST
Created attachment 224844 [details]
Patch to control p2 install checkboxes

This contributed patch targets Bug-396420. Using this patch it is possible to control the initial state of the install dialog checkboxes. 

To control the state of checkboxes, initial values must be provided by an overriding preferences file. 

Those inital values will be applied only when a new workspace is created.
Comment 2 Hamdan Msheik CLA 2012-12-20 09:27:23 EST
Created attachment 224952 [details]
Patch to Bug 396420: Control of a number of p2 install checkboxes via
Comment 3 Hamdan Msheik CLA 2012-12-20 09:29:01 EST
A new patch to control p2 install checkboxes. This new patch is produced to fix the failure in p2 UI test cases, specifically in QueryProviderTests#testNestedCategories.
Comment 4 Pascal Rapicault CLA 2013-01-14 12:43:07 EST
Thx. I've reviewed and committed the provided patch - http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=bad1633b394a335e2adeddd617736c1f413d9057