Examples of gatePositionHasChanged()


Examples of simtools.diagram.gate.Connection.gatePositionHasChanged()

                            // If the element created is a connection and if a gate has been tracked,
                            // then perform the connection of the first connection end.
                            if (selectedGate!=null && createdElement instanceof Connection){
                                Connection createdConnection = (Connection)createdElement;
                                createdConnection.connect(selectedGate, true);
                                createdConnection.gatePositionHasChanged(selectedGate);
                                _compoundEdit.addEdit(new GateConnectEdit(createdConnection, selectedGate, true));
                            }
                           
                            // clear tracked gates and components
                            _currentTrackedGates.clear();
View Full Code Here

Examples of simtools.diagram.gate.Connection.gatePositionHasChanged()

                    Connection connection = (Connection)connections.get(j);

                    boolean isFirstGate = connection.getFirstEndGate() == oldGAte;
                    connection.disconnect(oldGAte);
                    connection.connect(newGate, isFirstGate);
                    connection.gatePositionHasChanged(newGate);
                }
            }
        }
    }
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.