void (@NotNull MouseEvent e) { if (myRow < 0) { return; } Point locationOnScreen = e.getLocationOnScreen(); for (ArrangementUiComponent component : myComponents.values()) { Rectangle screenBounds = component.getScreenBounds(); if (screenBounds == null || !screenBounds.contains(locationOnScreen)) { continue; } if (component.isEnabled()) { if (component.isSelected()) { // don't allow to remove start/end section indication final Set<ArrangementSettingsToken> mutexes = ArrangementSectionRuleManager.getSectionMutexes(); if (!mutexes.contains(component.getToken())) { component.handleMouseClickOnSelected(); refreshConditions(); } } else { addCondition(component); } } apply(); return; } }