Search in sources :

Example 1 with BindingFactory

use of org.apache.cayenne.swing.BindingFactory in project cayenne by apache.

the class Application method startup.

/**
 * Starts the application.
 */
public void startup() {
    // init subsystems
    initPreferences();
    initClassLoader();
    this.bindingFactory = new BindingFactory();
    this.adapterMapping = new AdapterMapping();
    this.undoManager = new CayenneUndoManager(this);
    this.frameController = new CayenneModelerController(this);
    // open up
    frameController.startupAction();
    // After prefs have been loaded, we can now show the console if needed
    LogConsole.getInstance().showConsoleIfNeeded();
    getFrame().setVisible(true);
}
Also used : AdapterMapping(org.apache.cayenne.modeler.util.AdapterMapping) CayenneUndoManager(org.apache.cayenne.modeler.undo.CayenneUndoManager) BindingFactory(org.apache.cayenne.swing.BindingFactory)

Aggregations

CayenneUndoManager (org.apache.cayenne.modeler.undo.CayenneUndoManager)1 AdapterMapping (org.apache.cayenne.modeler.util.AdapterMapping)1 BindingFactory (org.apache.cayenne.swing.BindingFactory)1