| Summary: | SharedHeaderFormEditor needs services for header | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Christof Marti <christof_marti> |
| Component: | UI | Assignee: | Paul Webster <pwebster> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | agarcher, andre_weinand, curtispd |
| Version: | 3.3 | ||
| Target Milestone: | 3.4 M4 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 184074 | ||
| Bug Blocks: | |||
|
Description
Christof Marti
Adam, Christof, I was thinking of adding a new API to MultiPageEditorPart, something like: IServiceLocator getPageSite(int index) It will work under the same restrictions as setActivePage(int). For an editor page, it will return the editor site (as an IServiceLocator). For a control page, it will lazily create and return an IServiceLocator. Changing pages will continue to activate/deactivate the new service locators as well as the editor sites. I'll provide a constant for the page container site that can be used for the shared header site: protected static final int PAGE_CONTAINER_SITE = 65535; Then I'll enhance the API in Bug 184074 so that you have the option of activating the page container site when deactivating the page site. PW Released to HEAD >20071130 PW In I20071211-0010 PW |