+bool AbstractBoxItem::isStimuliItem() {
+ return false;
+}
+
+void AbstractBoxItem::setRstClkVisible(bool b) {
+ rstClkVisible = b;
+ foreach(InterfaceItem* ifaceItem, interfaces) {
+ if ((ifaceItem->refInter->getPurpose() == AbstractInterface::Clock) ||
+ (ifaceItem->refInter->getPurpose() == AbstractInterface::Reset) ) {
+ ifaceItem->visible = b;
+ }
+ }
+ resetInterfaceItemsPosition();
+ updateGeometry(InterfaceMove);
+ update();
+ getScene()->updateConnectionItemsShape();
+ (getScene()->getGroupItem())->updateShape();
+
+}
+
+void AbstractBoxItem::setWishboneVisible(bool b) {
+ wishboneVisible = b;
+ foreach(InterfaceItem* ifaceItem, interfaces) {
+ if (ifaceItem->refInter->getPurpose() == AbstractInterface::Wishbone) {
+ ifaceItem->visible = b;
+ }
+ }
+ resetInterfaceItemsPosition();
+ updateGeometry(InterfaceMove);
+ update();
+ getScene()->updateConnectionItemsShape();
+ (getScene()->getGroupItem())->updateShape();
+}
+