Package ptolemy.data.expr

Examples of ptolemy.data.expr.Parameter.validate()


                    Token result = _parseTreeEvaluator.evaluateParseTree(
                            _parseTree, _scope);
                    parameter.setToken(result);
                    // Validate the parameter to ensure that any value
                    // dependents are notified.
                    parameter.validate();
                }
            } catch (Exception ex) {
                throw new PtalonRuntimeException("Trouble making connections",
                        ex);
            }
View Full Code Here


                            parameter.setToken(result);
                            // We have to validate the parameter so that
                            // value dependents (if any) are notified of
                            // the new value, and so that attributeChanged()
                            // is called on the actor.
                            parameter.validate();
                        } catch (IllegalActionException ex) {
                            ParseTreeFreeVariableCollector collector = new ParseTreeFreeVariableCollector();
                            Set expressionVariables = collector
                                    .collectFreeVariables(parseTree);
                            Set scopeVariables = _scope.identifierSet();
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.