private boolean isValueMissingForMandatoryParameterCheck( final ParameterDefinitionEntry entry, final Object computedValue ) { if ( entry.isMandatory() == false ) { return false; } if ( computedValue == null || "".equals( computedValue ) ) { return true; } if ( entry instanceof ListParameter ) { final ListParameter listParameter = (ListParameter) entry; if ( listParameter.isAllowMultiSelection() ) { if ( computedValue instanceof Object[] == false ) { return false; } else if ( Array.getLength( computedValue ) == 0 ) { return true; } } } return false; }
carrierPanel.add( label, gbc ); if ( entry.isMandatory() ) { gbc = new GridBagConstraints(); gbc.gridy = gridY;