Bug 282650

Summary: Impossible to install other pane switcher for QueriesComposite
Product: [WebTools] Dali JPA Tools Reporter: Dmitry Geraskov <geraskov>
Component: GeneralAssignee: Neil Hauge <neil.hauge>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: neil.hauge
Version: 2.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dmitry Geraskov CLA 2009-07-07 06:35:20 EDT
Steps To Reproduce:
1. buildPaneTransformer() marked as private
2. installPaneSwitcher() marked as private
3. initializeLayout() marked as protected, but impossible to override because of fields marked as private and they initialized in the method.


buildPaneTransformer() should be marked as protected.
Comment 1 Dmitry Geraskov CLA 2009-07-07 07:11:19 EDT
As pane switcher needs to show 1 pane of the set of panes depending on the selected object I need to provide different one pane switcher as I have object which you don't have on the composite.
Comment 2 Neil Hauge CLA 2009-07-07 15:51:41 EDT
The behavior you are describing is "As Designed", as the Dali UI is not meant to be extensible at this level.  Dali provides only high-level extension of the UI, which is consistent and in some cases beyond what other Eclipse projects provide.  Providing this level of extension for Dali adopters would be a very large task and something that is currently not in our plans.

Marking as an Enhancement.
Comment 3 Dmitry Geraskov CLA 2009-07-28 07:36:06 EDT
If you simply mark methods build<Something> and other which is called from initializeLayout() as *proteckted* this would help me a lot(and decrease the amount of copy/pasted code).