/** * Returns true if the IconRenderer should record feedback about how the specified WWIcon has been * processed. * * @param dc the current DrawContext. * @param icon the WWIcon to record feedback information for. * @return true to record feedback; false otherwise. */ protected boolean isFeedbackEnabled(DrawContext dc, WWIcon icon) { if (dc.isPickingMode()) return false; Boolean b = (Boolean) icon.getValue(AVKey.FEEDBACK_ENABLED); return (b != null && b); }