void () { if (myContext.getComponents().isEmpty()) { return; } ContainerTargetFilter filter = new ContainerTargetFilter() { @Override public boolean preFilter(RadComponent component) { return !myContext.getComponents().contains(component); } @Override protected void updateContext(RadComponent target) { updateContextType(target); } }; RadComponent target = myArea.findTarget(myCurrentScreenX, myCurrentScreenY, filter); setTarget(target, filter); if (target == null) { myContext.setType(null); } else { myTargetOperation.setComponents(myContext.getComponents()); } }