Package org.eobjects.analyzer.descriptors

Examples of org.eobjects.analyzer.descriptors.RendererBeanDescriptor


import org.eobjects.analyzer.result.renderer.SwingRenderingFormat;

public class ListResultSwingRendererTest extends TestCase {

  public void testDescriptor() throws Exception {
    RendererBeanDescriptor descriptor = Descriptors.ofRenderer(ListResultSwingRenderer.class);
    Class<? extends Renderable> analyzerResultType = descriptor.getRenderableType();
    assertEquals(ListResult.class, analyzerResultType);

    Class<? extends RenderingFormat<?>> renderingFormat = descriptor.getRenderingFormat();
    assertEquals(SwingRenderingFormat.class, renderingFormat);
  }
View Full Code Here

TOP

Related Classes of org.eobjects.analyzer.descriptors.RendererBeanDescriptor

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.