Examples of WidgetModule


Examples of com.changestuffs.scrum.client.application.widget.WidgetModule

public class ApplicationModule extends AbstractPresenterModule {
    @Override
    protected void configure() {
        install(new HomeModule());
        install(new WidgetModule());
        install(new AdminModule());

        bindPresenter(ApplicationPresenter.class, ApplicationPresenter.MyView.class, ApplicationView.class,
                ApplicationPresenter.MyProxy.class);
    }
View Full Code Here

Examples of com.gwtplatform.carstore.client.application.widget.WidgetModule

        install(new UnauthorizedModule());
        install(new LoginMobileModule());
        install(new ManufacturerMobileModule());
        install(new CarsMobileModule());
        install(new RatingMobileModule());
        install(new WidgetModule());
        install(new ReportMobileModule());

        // TODO should we make a messaging module for mobile
        install(new MessagesModule());
View Full Code Here

Examples of com.gwtplatform.carstore.client.application.widget.WidgetModule

        install(new UnauthorizedModule());
        install(new LoginModule());
        install(new ManufacturerModule());
        install(new CarsDesktopModule());
        install(new RatingModule());
        install(new WidgetModule());
        install(new MessagesModule());
        install(new ReportModule());
        install(new StatisticsModule());

        bindPresenter(ApplicationPresenter.class, ApplicationPresenter.MyView.class, ApplicationView.class,
View Full Code Here

Examples of com.gwtplatform.carstore.client.application.widget.WidgetModule

        install(new UnauthorizedModule());
        install(new LoginMobileModule());
        install(new ManufacturerMobileModule());
        install(new CarsMobileModule());
        install(new RatingMobileModule());
        install(new WidgetModule());
        install(new ReportMobileModule());

        // TODO should we make a messaging module for mobile
        install(new MessagesModule());
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.WidgetModule

    protected WidgetRenderer getWidgetRenderer(XDIMEContextInternal context)
        throws ProtocolException {
       
        // First get the widget module, which is a part of protocol
        // responsible for rendering widgets
        WidgetModule widgetModule =  getWidgetModule(context);
       
        // No renderer if no module
        if (null == widgetModule){
            return null;
        }

        // Get renderer for this particular widget
        return widgetModule.getWidgetRenderer(protocolAttributes);
    }
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.WidgetModule

    // Javadoc inherited
    public XDIMEResult callOpenOnProtocol(XDIMEContextInternal context, XDIMEAttributes attributes)
    throws XDIMEException {
       
        WidgetModule widgetModule =  getWidgetModule(context);       
        // Do nothing if widgets are not supported at all
        if (null == widgetModule){
            return XDIMEResult.SKIP_ELEMENT_BODY;      
        }
                       
        try {       
            WizardRenderer wizardRenderer = widgetModule.getWizardRenderer();
            if (null == wizardRenderer){
                return XDIMEResult.SKIP_ELEMENT_BODY;      
            }           
            wizardRenderer.renderOpen(getProtocol(context), (WidgetAttributes)protocolAttributes);           
        } catch (ProtocolException e) {
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.WidgetModule

    public XDIMEResult callOpenOnProtocol(XDIMEContextInternal context,
            XDIMEAttributes attributes) throws XDIMEException {

        try {
            WidgetModule widgetModule = getWidgetModule(context);
            // Do nothing if widgets are not supported at all
            if (null == widgetModule) {
                // Do fallback if widget is not supported by the protocol
                return doFallbackOpen(context, attributes);
            }
           
            TabsRenderer tabsRenderer = widgetModule.getTabsRenderer();
            if (null == tabsRenderer) {
                // Do fallback if widget is not supported by the protocol
                return doFallbackOpen(context, attributes);       
            }
            // Open tab element
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.WidgetModule

    }

    public void callCloseOnProtocol(XDIMEContextInternal context)
            throws XDIMEException {

        WidgetModule widgetModule = getWidgetModule(context);
        // Do nothing if widgets are not supported at all
        if (null == widgetModule) {
            // Do fallback if widget is not supported by the protocol
            doFallbackClose(context);
            return;
        }

        try {
            TabsRenderer tabsRenderer = widgetModule.getTabsRenderer();
            if (null == tabsRenderer) {
                // Do fallback if widget is not supported by the protocol
                doFallbackClose(context);
                return;
            }
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.WidgetModule

    public XDIMEResult callOpenOnProtocol(
            XDIMEContextInternal context, XDIMEAttributes attributes)
            throws XDIMEException {

        try {
            WidgetModule widgetModule = getWidgetModule(context);
            // Do nothing if widgets are not supported at all
            if (null == widgetModule) {
                // Do fallback if widget is not supported by the protocol
                return doFallbackOpen(context, attributes);
            }

            TabsRenderer tabsRenderer = widgetModule.getTabsRenderer();
            if (null == tabsRenderer){
                // Do fallback if widget is not supported by the protocol
                return doFallbackOpen(context, attributes);       
            }
            // Send page context to the renderer via attributes.
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.WidgetModule

    }
   
    public void callCloseOnProtocol(XDIMEContextInternal context)
            throws XDIMEException {
       
        WidgetModule widgetModule =  getWidgetModule(context);       
        // Do nothing if widgets are not supported at all
        if (null == widgetModule){
            // Do fallback if widget is not supported by the protocol
            doFallbackClose(context);
            return;      
        }

        try {       
            TabsRenderer tabsRenderer = widgetModule.getTabsRenderer();
            if (null == tabsRenderer) {
                // Do fallback if widget is not supported by the protocol
                doFallbackClose(context);
                return;
            }                                   
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.