Community
Participate
Working Groups
Based on discussion in bug 177331. Forms extends MultiPageEditorPart and provides an editor that has a shared header - the same header for all the editor pages. The header allows clients to add fields, e.g. text fields. If the current editor page is a text editor, and the focus is in one of the fields in the header, we want to turn off the key bindings that would apply to the text editor (only those). Currently we are using internal code, doing it the same way as MultiPageEditorPart. We are using: (internal,provisional) org.eclipse.ui.internal.services.INestable (deprecated) org.eclipse.ui.IKeyBindingService (deprecated) org.eclipse.ui.INestableKeyBindingService; Need a way to do this using only non-deprecated API.
Created attachment 83642 [details] MultiPageEditorPart v01 API that allows someone overridding createPageContainer(*) to temporarily suspend the active page site. PW
Created attachment 83643 [details] SharedHeaderFormEditor v01 Matching patch for the MPEPv01 that uses the activateSite/deactivateSite functionality. PW
Created attachment 84012 [details] MultiPageEditorPart v02 API for activating/deactivating sites, with support for Bug 177334 roled into it. PW
Created attachment 84013 [details] SharedHeaderFormEditor v02 The shared header editor uses the new API, plus Bug 210753 PW
(In reply to comment #3) > Created an attachment (id=84012) [details] > MultiPageEditorPart v02 Also includes fix for Bug 204769 PW
(In reply to comment #3) > Created an attachment (id=84012) [details] > MultiPageEditorPart v02 > > API for activating/deactivating sites, with support for Bug 177334 roled into > it. Released to HEAD >20071130 PW
In I20071211-0010 PW