|WB Databinding Tab - Information about the "code generation pattern" [message #735642]
||Wed, 12 October 2011 09:17
| Daniel iCanHasLastName
Registered: May 2011
as stated in the $topic i would like to humbly ask for hints and advice concerning the "code generation pattern" that is used to generate/populate the entries shown in the "Bindings"-Tab in the graphical editor for a WorkbenchPart.
I would like to ask this, because i had defined roundabout 25 Bindings via the gui and after i manually changed something (i changed the data-object whose property is to be observed by an ObservableValue) there are only 6 of the 25 bindings displayed. Also the following raised my awareness:
Via searching google with google.com/search?hl=en&q=windowbuilder+databinding+%22code+generation+pattern%22 the first results all pointed out WB documentation pages which contained following phrase:
Warning: do not edit the initDataBinding() method by hand (without carefully matching the code generation pattern used by the tool) as it will be regenerated in its entirety any time the tool needs to add, remove or update a data binding.
I would be very happy if someone could maybe point me to some helpful searchphrases or URLs or might be able to describe what pitfalls i have to watch out for when manually editing the generated code as i really would like to be able to carefully match the code generation pattern
Thank you in advance!
Powered by FUDForum
. Page generated in 0.02461 seconds