Examples of requestChange()


Examples of ptolemy.actor.CompositeActor.requestChange()

                    getScheduler().getSchedule();
                }
            };

            request.setPersistent(false);
            container.requestChange(request);
        }

        return super.postfire();
    }
View Full Code Here

Examples of ptolemy.actor.CompositeActor.requestChange()

                    chooseNextNonTransientState(currentState);
                }
            };

            request.setPersistent(false);
            container.requestChange(request);
        }
    }

    /** Return the change context being made explicit.  This class
     *  overrides the implementation in the FSMDirector base class to
View Full Code Here

Examples of ptolemy.actor.CompositeActor.requestChange()

                    makeStateTransition();
                }
            };

            request.setPersistent(false);
            container.requestChange(request);
        }

        return _refinementPostfire;
    }
View Full Code Here

Examples of ptolemy.actor.CompositeActor.requestChange()

        };

        // Indicate that the change is non-persistent, so that
        // the UI doesn't prompt to save.
        request.setPersistent(false);
        container.requestChange(request);
    }

    /** Push the rates calculated for this system up to the contained Actor,
     *  but only if the ports do not have a set rates.
     *  This allows the container to be properly scheduled if it is
View Full Code Here

Examples of ptolemy.actor.CompositeActor.requestChange()

        };

        // Indicate that the change is non-persistent, so that
        // the UI doesn't prompt to save.
        request.setPersistent(false);
        container.requestChange(request);
    }

    ///////////////////////////////////////////////////////////////////
    ////                         protected variables               ////
View Full Code Here

Examples of ptolemy.actor.CompositeActor.requestChange()

        changeMoML.append("</group>");

        MoMLChangeRequest request = new MoMLChangeRequest(this, container,
                changeMoML.toString());
        container.requestChange(request);

        // Increment the workspace version number, since the wireless
        // graph connectivity probably changed as a result of the node
        // location randomization.  This is used in conjunction with
        // LimitedRangeChannel.valueChanged(), which invalidates the
View Full Code Here

Examples of ptolemy.actor.CompositeActor.requestChange()

        };

        // Indicate that the change is non-persistent, so that
        // the UI doesn't prompt to save.
        request.setPersistent(false);
        container.requestChange(request);
    }

    /** Convert the given list of actors to a directed acyclic graph.
     *  CTDynamicActors are treated as sinks to break closed loops.
     *  Each actor in the argument is a node in the graph,
View Full Code Here

Examples of ptolemy.actor.Director.requestChange()

                                // any) is updated and listeners are notified.
                                String moml = "<property name=\"" + name
                                        + "\" value=\"" + value + "\"/>";
                                MoMLChangeRequest request = new MoMLChangeRequest(
                                        this, director, moml);
                                director.requestChange(request);

                                /* Formerly (before change request):
                                 ((Settable)attribute).setExpression(value);
                                 if (attribute instanceof Variable) {
                                 // Force evaluation so that listeners
View Full Code Here

Examples of ptolemy.actor.Director.requestChange()

                        + "\" class=\"ptolemy.vergil.debugger.DebugController\"/>";
                ChangeRequest request = new MoMLChangeRequest(this, // originator
                        director, // context
                        moml);
                request.addChangeListener(this);
                director.requestChange(request);
            }
        } else {
            // If BreakpointConfigurerDialog()._handlClosing()
            // calls this in appropriately, then debugController might be
            // null.
View Full Code Here

Examples of ptolemy.domains.fsm.kernel.Transition.requestChange()

                String moml = "<group><property name=\"exitAngle\" value=\""
                        + angle + "\"/>" + "<property name=\"gamma\" value=\""
                        + gamma + "\"/></group>";
                MoMLChangeRequest request = new MoMLChangeRequest(this,
                        transition, moml);
                transition.requestChange(request);
            }

            // rerender the edge.  This is necessary for several reasons.
            // First, the edge is only associated with a relation after it
            // is fully connected.  Second, edges that aren't
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.