Bug 282650 - Impossible to install other pane switcher for QueriesComposite
Summary: Impossible to install other pane switcher for QueriesComposite
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.2   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2009-07-07 06:35 EDT by Dmitry Geraskov CLA
Modified: 2009-07-28 07:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).