Examples of PString


Examples of ca.nengo.ui.configurable.descriptors.PString

            if (isInputDimEditable) {
                dim = function.getDimension();
            }
        }

        pExpression = new PString(EXPRESSION_STR, EXPRESSION_DESC, expression);
        pDimensions = new PInt(DIMENSION_STR, DIMENSION_DESC, dim);
        pDimensions.setEditable(isInputDimEditable);

        Property[] props = new Property[] { pExpression, pDimensions };
        return new ConfigSchemaImpl(props);
View Full Code Here

Examples of ca.nengo.ui.configurable.descriptors.PString

        class NewFunctionAL implements ActionListener {

            public void actionPerformed(ActionEvent e) {
                try {
                    PString pFnName = new PString("Name");
                    PFunction pFunction = new PFunction("New Function", 1, true, null);

                    ConfigResult props = ConfigManager.configure(new Property[] { pFnName,
                            pFunction }, "Register fuction", FunctionDialog.this,
                            ConfigMode.TEMPLATE_NOT_CHOOSABLE);
View Full Code Here

Examples of ca.nengo.ui.configurable.descriptors.PString

     * @return TODO
     * @throws ConfigException TODO
     */
    public static String showDialogString(String dialogName, String defaultValue)
            throws ConfigException {
        return (String) showDialog("Config", new PString(dialogName, null, defaultValue));
    }
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.