Rectangle (final Property property, final int x, final int y) { if (property instanceof MyBorderTitleProperty) { // If this is our property return getBorderInPlaceEditorBounds(property); } return super.getInplaceEditorBounds(property, x, y); }