[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.rt.riena] Re: MasterDetailComposite
|
gabe schrieb:
Can I customize MasterDetailComposite?
* Hide or remove "New", "Remove", and "Apply" buttons?
* Have master table updated as I type in the detail widgets (instead of
when "Apply" is clicked)?
MasterDetailComposite is relativly new. So there is currently no way to customize itself. You can subclass it and then
write your own widget (or at least the part that you like to be changed). This only requires you then to define a new
mapping between the widget to the original ridget. (http://wiki.eclipse.org/Riena_Custom_Ridgets)
And while you are add it, this can possibly mean that also need to subclass, rewrite the ridget code.
If you like to contribute or what to document your requirements in more detail, a bugzilla with that as a content is
always a good help. That is also a good place after a few discussion rounds to think about contributing a patch.
What we do have actually now that I think of it, is the option to have a different look for the buttons. If you look in
the example there under playground (subapplication) under playground (module) there is MasterDetail 2 (actually probably
not in 1.1.0.M6 but its in 1.1.0.M7 which we do next week or you can also checkout the sourcecode)
does that help ?
christian