AbstractMasterDetailsComposite [message #584139] |
Mon, 23 November 2009 10:25 |
|
HI,
is it possible to change the signature of some methods in the AbstractMasterDetailsComposite class to protected. Such as:
->createMaster()
->createTableComposite()
Main reason, i would like to position the buttons in horizontal row at the bottom. May be you have an idea of achieving this without having to overwrite the createMaster and subsequently createTableComposite(since its private) methods.
Thanks in advance.
Another alternative will be to implement a new MasterDetailComposite
|
|
|
Re: AbstractMasterDetailsComposite [message #584165 is a reply to message #584139] |
Mon, 23 November 2009 11:32 |
|
Hi, found a solution to my problem.
In future I will see to it that i take closer look at APIs before complaining.
For those interested, you can reposition the button in the MasterDatetailComposite by overriding the method createButtons(Composite parent) by just returning null. You are then responsible of adding the buttons to the ui where ever you wish(You most add the three compulsory button new, remove and apply).
For more docu take a closer look at the method createButtons(what i should have done).
|
|
|
|
Powered by
FUDForum. Page generated in 0.03337 seconds