com.atlassian.gadgets.embedded.internal
Class GadgetViewFactoryImpl
java.lang.Object
com.atlassian.gadgets.embedded.internal.GadgetViewFactoryImpl
- All Implemented Interfaces:
- GadgetViewFactory
public class GadgetViewFactoryImpl
- extends Object
- implements GadgetViewFactory
Default implementation of GadgetViewFactory. Uses
RenderedGadgetUriBuilder to render gadget views.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GadgetViewFactoryImpl
public GadgetViewFactoryImpl(GadgetSpecFactory specFactory,
RenderedGadgetUriBuilder renderedUriBuilder)
createGadgetView
public ViewComponent createGadgetView(GadgetState state,
View view,
GadgetRequestContext gadgetRequestContext)
throws GadgetParsingException,
GadgetRenderingException
- Specified by:
createGadgetView in interface GadgetViewFactory
- Throws:
GadgetParsingException
GadgetRenderingException
canRenderInViewType
public boolean canRenderInViewType(GadgetState state,
ViewType viewType,
GadgetRequestContext gadgetRequestContext)
- Specified by:
canRenderInViewType in interface GadgetViewFactory
Copyright © 2010 Atlassian. All Rights Reserved.