Examples of Nameable


Examples of ptolemy.kernel.util.Nameable

                _mirrorDisable = true;

                boolean success = false;

                if (oldContainer != null) {
                    Nameable modal = oldContainer.getContainer();

                    if (modal instanceof MultiCompositeActor) {
                        Port port = ((MultiCompositeActor) modal)
                                .getPort(getName());
View Full Code Here

Examples of ptolemy.kernel.util.Nameable

                super.setInput(isInput);
            } else {
                _mirrorDisable = true;

                boolean success = false;
                Nameable container = getContainer();

                if (container != null) {
                    Nameable modal = container.getContainer();

                    if (modal instanceof MultiCompositeActor) {
                        Port port = ((MultiCompositeActor) modal)
                                .getPort(getName());
View Full Code Here

Examples of ptolemy.kernel.util.Nameable

                super.setMultiport(isMultiport);
            } else {
                _mirrorDisable = true;

                boolean success = false;
                Nameable container = getContainer();

                if (container != null) {
                    Nameable modal = container.getContainer();

                    if (modal instanceof MultiCompositeActor) {
                        Port port = ((MultiCompositeActor) modal)
                                .getPort(getName());
View Full Code Here

Examples of ptolemy.kernel.util.Nameable

                super.setName(name);
            } else {
                _mirrorDisable = true;

                boolean success = false;
                Nameable container = getContainer();

                if (container != null) {
                    Nameable modal = container.getContainer();

                    if (modal instanceof MultiCompositeActor) {
                        Port port = ((MultiCompositeActor) modal)
                                .getPort(getName());
View Full Code Here

Examples of ptolemy.kernel.util.Nameable

                super.setOutput(isOutput);
            } else {
                _mirrorDisable = true;

                boolean success = false;
                Nameable container = getContainer();

                if (container != null) {
                    Nameable modal = container.getContainer();

                    if (modal instanceof MultiCompositeActor) {
                        Port port = ((MultiCompositeActor) modal)
                                .getPort(getName());
View Full Code Here

Examples of ptolemy.kernel.util.Nameable

     *  reflected to the mirror port.
     */
    private void _checkWhetherMirrorIsInput() {
        // Need to check whether there is a containing MultiCompositeActor,
        // and whether its mirror port is also an input.
        Nameable container = getContainer();

        if (container != null) {
            Nameable modal = container.getContainer();

            if (modal instanceof MultiCompositeActor) {
                Port port = ((MultiCompositeActor) modal).getPort(getName());

                if (port instanceof IOPort) {
View Full Code Here

Examples of ptolemy.kernel.util.Nameable

     @exception IllegalActionException If by the executive director.
     */
    public void fireAt(Actor actor, Time time) throws IllegalActionException {
        // Note that the actor parameter is ignored, because it does not
        // matter which actor requests firing.
        Nameable container = getContainer();

        if (container instanceof Actor) {
            Actor modalModel = (Actor) container;
            Director executiveDirector = modalModel.getExecutiveDirector();

View Full Code Here

Examples of ptolemy.kernel.util.Nameable

     @exception NameDuplicationException If the container already has
     *   an attribute with the name of this variable.
     */
    public void setContainer(NamedObj container) throws IllegalActionException,
            NameDuplicationException {
        Nameable previousContainer = getContainer();
        super.setContainer(container);

        if (container != previousContainer) {
            // Every variable that this may shadow in its new location
            // must invalidate all their dependents.
View Full Code Here

Examples of ptolemy.kernel.util.Nameable

     @exception IllegalActionException If the base class throws it.
     *  @exception NameDuplicationException If the base class throws it.
     */
    public void setContainer(CompositeEntity container)
            throws IllegalActionException, NameDuplicationException {
        Nameable previousContainer = getContainer();
        super.setContainer(container);

        if ((container != previousContainer) && (previousContainer != null)) {
            _remove();
        }
View Full Code Here

Examples of ptolemy.kernel.util.Nameable

     @exception IllegalActionException If the base class throws it.
     *  @exception NameDuplicationException If the base class throws it.
     */
    public void setContainer(CompositeEntity container)
            throws IllegalActionException, NameDuplicationException {
        Nameable previousContainer = getContainer();
        super.setContainer(container);

        if ((container != previousContainer) && (previousContainer != null)) {
            _remove();
        }
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.