+ if (iface->getAssociatedIface() != NULL) {
+ if (iface->getDirection() == AbstractInterface::Output) {
+ showPatterns = menu.addAction("Show output pattern");
+ }
+ else if (iface->getDirection() == AbstractInterface::Input) {
+ showPatterns = menu.addAction("Show input pattern");
+ }
+ }
+
+ if (iface->getInputModifier() != NULL) {
+ removeModifier = menu.addAction("Remove input modifier");
+ }
+ if (iface->getInputModifier() != NULL) {
+ showModifier = menu.addAction("Show input modifier parameters");
+ }
+