Examples of bindToComboSelection()


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

        bindings[2] = builder.bindToTextField(
                view.getDriver(),
                "connectionInfo.jdbcDriver");
        bindings[3] = builder.bindToTextField(view.getUrl(), "connectionInfo.url");

        bindings[4] = builder.bindToComboSelection(
                view.getAdapters(),
                "connectionInfo.dbAdapter", "Automatic");
    }

    public DBConnectionInfo getConnectionInfo() {
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()

                .bindToStateChange(view.getDefaultEncoding(), "defaultEncoding");

        this.otherEncodingBinding = builder.bindToStateChange(view.getOtherEncoding(),
                "otherEncoding");

        this.selectedEncodingBinding = builder.bindToComboSelection(view
                .getEncodingChoices(), "encoding");
    }

    /**
     * Returns default encoding on the current platform.
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.setDelegate(nodeChangeProcessor);

        bindings = new ObjectBinding[4];

        bindings[0] = builder.bindToComboSelection(
                view.getPasswordEncoder(),
                "node.dataSourceDescriptor.passwordEncoderClass");
        bindings[1] = builder.bindToTextField(
                view.getPasswordKey(),
                "node.dataSourceDescriptor.passwordEncoderKey");
View Full Code Here

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

                view.getPasswordEncoder(),
                "node.dataSourceDescriptor.passwordEncoderClass");
        bindings[1] = builder.bindToTextField(
                view.getPasswordKey(),
                "node.dataSourceDescriptor.passwordEncoderKey");
        bindings[2] = builder.bindToComboSelection(
                view.getPasswordLocation(),
                "node.dataSourceDescriptor.passwordLocation");
        bindings[3] = builder.bindToTextField(
                view.getPasswordSource(),
                "node.dataSourceDescriptor.passwordSource");
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.