* textbox, no buttons though), a DataObject's JavaBean Property,
* or class member.
*/
private void makeDataAware() {
//page 1
new ListModelBinder(lstLoadSettings, settings.cp_SavedSessions);
//page 2 : document properties
docListDA = (UnoDataAware) UnoDataAware.attachListBox(this, "SelectedDoc", lstDocuments, null, false);
docListDA.disableControls(new Object[] {
/*btnDocDown, btnDocUp, */
lnDocsInfo, btnRemoveDoc, lblDocTitle, txtDocTitle, lblDocInfo, txtDocInfo, lblDocAuthor, txtDocAuthor, lblDocExportFormat, lstDocTargetType });
docListDA.updateUI();
CGDocument doc = new CGDocument(); //dummy
docsBinder = new ListModelBinder(lstDocuments, settings.cp_DefaultSession.cp_Content.cp_Documents);
docAware.add(UnoDataAware.attachEditControl(doc, "cp_Title", txtDocTitle, refresh, true ));
docAware.add(UnoDataAware.attachEditControl(doc, "cp_Description", txtDocInfo, refresh, true));
docAware.add(UnoDataAware.attachEditControl(doc, "cp_Author", txtDocAuthor, refresh, true));
docAware.add(UnoDataAware.attachListBox(doc, "Exporter", lstDocTargetType, refresh, false));