Rectangle () { List<RadComponent> selection = myDesigner.getSurfaceArea().getSelection(); if (selection.size() == 1) { Rectangle bounds = selection.get(0).getBounds(myComponent); bounds.x -= AllIcons.Actions.IntentionBulb.getIconWidth() - 5; return bounds; } return null; }