public EnvelopePanel setReadOnly( final boolean readOnly ) { visitChildren( TextField.class, new org.apache.wicket.Component.IVisitor() { public Object component(Component component) { component.setEnabled( !readOnly ); return null; } }); crsPanel.setReadOnly(readOnly); return this; }
public EnvelopePanel setReadOnly(final boolean readOnly) { visitChildren( TextField.class, (component, visit) -> { component.setEnabled(!readOnly); }); crsPanel.setReadOnly(readOnly); return this; }
nativeCRS.setReadOnly(true); refForm.add(nativeCRS); declaredCRS = new CRSPanel("declaredSRS",
"nativeSRS", new PropertyModel<CoordinateReferenceSystem>(model, "nativeCRS")); nativeCRS.setReadOnly(true); refForm.add(nativeCRS); declaredCRS =