Examples of ShowPanelPage


Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

     * Maximizes the panel
     */
    public CommandResponse panelActionMaximize(Panel panel, CommandRequest request) {
        log.debug("Maximizing panel " + panel.getPanelId());
        getPanelSession(panel).setStatus(PanelSession.STATUS_MAXIMIZED);
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

     * Maximizes the panel in region
     */
    public CommandResponse panelActionMaximizeInRegion(Panel panel, CommandRequest request) {
        log.debug("Maximizing panel in region " + panel.getPanelId());
        getPanelSession(panel).setStatus(PanelSession.STATUS_MAXIMIZED_IN_REGION);
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

     * Minimizes the panel
     */
    public CommandResponse panelActionMinimize(Panel panel, CommandRequest request) {
        log.debug("Minimizing panel " + panel.getPanelId());
        getPanelSession(panel).setStatus(PanelSession.STATUS_MINIMIZED);
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

     * Restores the panel to its regular size
     */
    public CommandResponse panelActionRestore(Panel panel, CommandRequest request) {
        log.debug("Restoring panel " + panel.getPanelId());
        getPanelSession(panel).setStatus(PanelSession.STATUS_REGULAR_SIZE);
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

     * Sets the panel in show mode
     */
    public CommandResponse panelActionShowMode(Panel panel, CommandRequest request) throws Exception {
        log.debug("Setting panel in configuration mode " + panel.getPanelId());
        activateNormalMode(panel, request);
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

    public CommandResponse panelActionEditMode(Panel panel, CommandRequest request) throws Exception {
        if (supportsEditMode(panel)) {
            log.debug("Setting panel in edit mode " + panel.getPanelId());
            activateEditMode(panel, request);
        }
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

    public CommandResponse panelActionHelpMode(Panel panel, CommandRequest request) throws Exception {
        if (supportsHelpMode(panel)) {
            log.debug("Setting panel in help mode " + panel.getPanelId());
            activateHelpMode(panel, request);
        }
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

    }

    public CommandResponse panelActionStartConfig(Panel panel, CommandRequest request) throws Exception {
        log.debug("Setting panel in config mode " + panel.getPanelId());
        activateConfigMode(panel, request);
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

        try {
            txFragment.execute();
        } catch (Exception e) {
            log.error("Can't remove panel from region.", e);
        }
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

        try {
            txFragment.execute();
        } catch (Exception e) {
            log.error("Can't move back panel in region.", e);
        }
        return new ShowPanelPage();
    }
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.