Package org.cruxframework.crux.core.rebind.screen.widget.WidgetCreatorAnnotationsProcessor

Examples of org.cruxframework.crux.core.rebind.screen.widget.WidgetCreatorAnnotationsProcessor.ChildProcessor


  @SuppressWarnings({ "unchecked", "rawtypes" })
  private ChildProcessor createChildProcessor(final boolean isAnyWidget, final String widgetProperty,
                                    final WidgetLazyChecker lazyChecker,  final WidgetChildProcessor processor, final Device[] supportedDevices)
    {
        final boolean isHasPostProcessor = processor instanceof HasPostProcessor;
      return new ChildProcessor()
    {
            public void processChild(SourcePrinter out, WidgetCreatorContext context)
      {
              if (widgetCreator.isCurrentDeviceSupported(supportedDevices))
              {
View Full Code Here


      TagChildLazyConditions lazyConditions = childProcessorClass.getAnnotation(TagChildLazyConditions.class);
      final WidgetLazyChecker lazyChecker = (lazyConditions== null?null:LazyWidgets.initializeLazyChecker(lazyConditions));
     
      final String childName = getChildTagName(tagName, isAgregator, (isAnyWidget || isAnyWidgetType));

      ChildProcessor childProcessor = createChildProcessor(isAnyWidget, widgetProperty, lazyChecker, processor, supportedDevices);
      if (!isAnyWidget && !isAnyWidgetType)
      {
        childProcessor.setChildrenProcessor(scanChildren(childProcessorClass, isAgregator));
      }

      childrenProcessor.addChildProcessor(childName, childProcessor);
    }
View Full Code Here

        }
      }
    };
    scannedProcessors.put(processorClass.getCanonicalName(), childrenProcessor);
   
    ChildProcessor childProcessor = createChildProcessor(isAnyWidget, widgetProperty, lazyChecker, processor, supportedDevices);
    if (!isAnyWidget && !isAnyWidgetType)
    {
      childProcessor.setChildrenProcessor(scanChildren(childProcessorClass, isAgregator));
    }
   
    childrenProcessor.addChildProcessor(childName, childProcessor);
    return childrenProcessor;
    }
View Full Code Here

TOP

Related Classes of org.cruxframework.crux.core.rebind.screen.widget.WidgetCreatorAnnotationsProcessor.ChildProcessor

Copyright © 2018 www.massapicom. 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.