@Override public void applyPresentationAsDefault(Object id) { if (isUsePresentations() && presentations != null) { Presentation p = presentations.getPresentation(id); if (p != null) { presentations.setDefault(p); applyPresentation(p); } } else { throw new UnsupportedOperationException("Component doesn't use presentations"); } }