319320321322323324325326327328329
{ public void actionPerformed(ActionEvent e) { modeler.startUndo("Lock Orientation"); connection.toggleOrientationLock(); modeler.endUndo(); } }; lockAction.setSelected(connection.isOrientationLocked());