Examples of bindToComboSelection()


Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

        subTemplate = builder.bindToComboSelection(
                view.getSubclassTemplate(),
                "preferences.subclassTemplate");

        superTemplate = builder.bindToComboSelection(
                view.getSuperclassTemplate(),
                "preferences.superclassTemplate");

        builder.bindToTextField(
                view.getOutputPattern(),
View Full Code Here

Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

        BindingBuilder builder = new BindingBuilder(
                getApplication().getBindingFactory(),
                this);

        localDataSourceBinding = builder.bindToComboSelection(
                view.getLocalDataSources(),
                "parent.dataNodePreferences.localDataSource",
                NO_LOCAL_DATA_SOURCE);

        // use delegate for the rest of them
View Full Code Here

Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

        builder.setDelegate(nodeChangeProcessor);

        bindings = new ObjectBinding[2];
        bindings[0] = builder.bindToTextField(view.getDataNodeName(), "nodeName");
        bindings[1] = builder.bindToComboSelection(view.getFactories(), "factoryName");

        // one way bindings
        builder
                .bindToAction(
                        view.getConfigLocalDataSources(),
View Full Code Here

Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

        if (Util.isEmptyString(preferences.getProperty("mode"))) {
            preferences.setProperty("mode", STANDARD_OBJECTS_MODE);
        }

        builder.bindToComboSelection(
                view.getGenerationMode(),
                "preferences.property['mode']").updateView();

        updateModeAction();
    }
View Full Code Here

Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

        BindingBuilder builder = new BindingBuilder(
                getApplication().getBindingFactory(),
                this);

        localDataSourceBinding = builder.bindToComboSelection(
                view.getLocalDataSources(),
                "parent.dataNodePreferences.localDataSource",
                NO_LOCAL_DATA_SOURCE);

        // use delegate for the rest of them
View Full Code Here

Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

        builder.setDelegate(nodeChangeProcessor);

        bindings = new ObjectBinding[3];
        bindings[0] = builder.bindToTextField(view.getDataNodeName(), "nodeName");
        bindings[1] = builder.bindToComboSelection(view.getFactories(), "factoryName");
        bindings[2] = builder.bindToComboSelection(
                view.getSchemaUpdateStrategy(),
                "schemaUpdateStrategy");

        // one way bindings
View Full Code Here

Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

        builder.setDelegate(nodeChangeProcessor);

        bindings = new ObjectBinding[3];
        bindings[0] = builder.bindToTextField(view.getDataNodeName(), "nodeName");
        bindings[1] = builder.bindToComboSelection(view.getFactories(), "factoryName");
        bindings[2] = builder.bindToComboSelection(
                view.getSchemaUpdateStrategy(),
                "schemaUpdateStrategy");

        // one way bindings
        builder
View Full Code Here

Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

        builder.bindToTextField(
                view.getSuperclassPackage(),
                "preferences.superclassPackage").updateView();

        builder.bindToComboSelection(
                view.getGenerationMode(),
                "preferences.property['mode']").updateView();

        builder.bindToComboSelection(
                view.getGeneratorVersion(),
View Full Code Here

Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

        builder.bindToComboSelection(
                view.getGenerationMode(),
                "preferences.property['mode']").updateView();

        builder.bindToComboSelection(
                view.getGeneratorVersion(),
                "preferences.property['version']").updateView();

        builder.bindToStateChange(
                view.getOverwrite(),
View Full Code Here

Examples of org.apache.cayenne.swing.BindingBuilder.bindToComboSelection()

                        view.getDuplicateDataSource(),
                        "duplicateDataSourceAction()");
        builder.bindToAction(view.getRemoveDataSource(), "removeDataSourceAction()");
        builder.bindToAction(view.getTestDataSource(), "testDataSourceAction()");

        builder.bindToComboSelection(view.getDataSources(), "dataSourceKey");
    }

    public Domain getDataSourceDomain() {
        return editor.editableInstance(getApplication().getPreferenceDomain());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.