Examples of IValidValues


Examples of org.eclipse.jst.jsf.metadataprocessors.features.IValidValues

            getAttributeEntity());
      if (!dvs.isEmpty())
        return dvs.get(0);
    }
    else if (ICellEditorValidator.class == adapter) {
      IValidValues vvs = (IValidValues)getAdapter(IValidValues.class);
      if (vvs != null)
        return new EditorValidatorAdapter(vvs);     
   
    }
    else if (IInputValidator.class == adapter) {
        IValidValues vvs = (IValidValues)getAdapter(IValidValues.class);
        if (vvs != null
          return new EditorValidatorAdapter(vvs);       
    }
    else if (IValidValues.class == adapter) {
      List vvs = MetaDataEnabledProcessingFactory.getInstance().getAttributeValueRuntimeTypeFeatureProcessors(
            IValidValues.class,
            getStructuredDocumentContext(),
            getAttributeEntity());
      if (!vvs.isEmpty())
        return vvs.get(0);
    }
    return null;
  }
View Full Code Here

Examples of org.eclipse.jst.jsf.metadataprocessors.features.IValidValues

                IValidValues.class, context, attributeId);
        if (!vv.isEmpty())
        {
            for (final Iterator it = vv.iterator(); it.hasNext();)
            {
                final IValidValues v = (IValidValues) it.next();
                if (!v.isValidValue(attributeValue.trim()))
                {
                    if (DEBUG)
                    {
                        System.out.println(addDebugSpacer(4) + "NOT VALID "); //$NON-NLS-1$
                    }

                    for (final Iterator msgs = v.getValidationMessages()
                            .iterator(); msgs.hasNext();)
                    {
                        final IValidationMessage msg = (IValidationMessage) msgs
                        .next();
                        reportValidationMessage(createValidationMessage(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.