Examples of ConfigSchemaImpl


Examples of ca.nengo.ui.configurable.ConfigSchemaImpl

    pName.setDescription("Name of the network");
  }

  @Override
  public ConfigSchemaImpl getNodeConfigSchema() {
    return new ConfigSchemaImpl(); // nothing to configure
  }
View Full Code Here

Examples of ca.nengo.ui.configurable.ConfigSchemaImpl

      throws ConfigException;

  public final ConfigSchema getSchema() {
    ConfigSchema nodeConfigSchema = getNodeConfigSchema();

    ConfigSchemaImpl newConfigSchema = new ConfigSchemaImpl(nodeConfigSchema.getProperties()
        .toArray(new Property[] {}), nodeConfigSchema.getAdvancedProperties().toArray(
        new Property[] {}));

    newConfigSchema.addProperty(pName, 0);

    return newConfigSchema;
  }
View Full Code Here

Examples of ca.nengo.ui.configurable.ConfigSchemaImpl

  }

  @Override
  public ConfigSchemaImpl getNodeConfigSchema() {
    return new ConfigSchemaImpl(pFunctions);
  }
View Full Code Here

Examples of ca.nengo.ui.configurable.ConfigSchemaImpl

            }

            pValue.setDefaultValue(getFunction().getValue());
        }

        return new ConfigSchemaImpl(new Property[] { pDimension, pValue });
    }
View Full Code Here

Examples of ca.nengo.ui.configurable.ConfigSchemaImpl

                } catch (InvocationTargetException e) {
                    e.printStackTrace();
                }
            }
        }
        return new ConfigSchemaImpl(myProperties);
    }
View Full Code Here

Examples of ca.nengo.ui.configurable.ConfigSchemaImpl

        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.ConfigSchemaImpl

  @Override
  public ConfigSchema getSchema() {
    pTransformMatrix = new PTerminationWeights("Weights", nefEnsembleParent.getDimension());

    Property[] zProperties = { pName, pTransformMatrix, pTauPSC, pIsModulatory };
    return new ConfigSchemaImpl(zProperties);

  }
View Full Code Here

Examples of ca.nengo.ui.configurable.ConfigSchemaImpl

     * @throws ConfigException TODO
     */
    public static Object configure(Property prop, String typeName, Container parent)
            throws ConfigException {

        ConfigResult properties = configure(new ConfigSchemaImpl(prop), typeName, null, parent,
                ConfigMode.TEMPLATE_NOT_CHOOSABLE);
        return properties.getValue(prop);
    }
View Full Code Here

Examples of ca.nengo.ui.configurable.ConfigSchemaImpl

     * @return TODO
     * @throws ConfigException TODO
     */
    public static ConfigResult configure(Property[] schema, String typeName, Container parent,
            ConfigMode configMode) throws ConfigException {
        return configure(new ConfigSchemaImpl(schema), typeName, null, parent, configMode);
    }
View Full Code Here

Examples of ca.nengo.ui.configurable.ConfigSchemaImpl

    //List<String> commonNodes = AbstractEnsemble.findCommon1DOrigins(nodes);

    //pNodeOrigin = new OriginSelector("Node Origin Name", commonNodes.toArray(new String[0]));

    Property[] zProperties = { pName, pFunctions};//, pNodeOrigin };
    return new ConfigSchemaImpl(zProperties);

  }
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.