getApplication().getBindingFactory(),
this);
builder.bindToAction(view.getGenerationMode(), "updateModeAction()");
CayenneProjectPreferences cayPrPref = application.getCayenneProjectPreferences();
this.preferences = (PreferenceDetail) cayPrPref.getProjectDetailObject(
PreferenceDetail.class,
getViewPreferences().node("controller"));
if (Util.isEmptyString(preferences.getProperty("mode"))) {
preferences.setProperty("mode", STANDARD_OBJECTS_MODE);