Package name.shamansir.mvp4glayout.client.ui

Examples of name.shamansir.mvp4glayout.client.ui.PlugsContainer


            if ((currentBuilder.curState() != null) && currentBuilder.curState().equals(state)) return;
            //currentBuilder.reset();
            currentBuilder.build(state); // just changes layout inside it, do not re-renders anything that not required
        } else {
            Layout layout = getActualLayout();
            PlugsContainer container = layout.getPluggable(where).getContainer();
            if (!(container instanceof HasStatesPanels)) throw new IllegalStateException("Container " + container + " at place " + where + " does not implements HasStatesPanels, so it can not change states");
            HasStatesPanels panels = (HasStatesPanels)container;
            // TODO: check if it is already in this state
            Pluggable plug = panels.getViewFor(state);
            plug.changeState(state);
View Full Code Here

TOP

Related Classes of name.shamansir.mvp4glayout.client.ui.PlugsContainer

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.