Class ToolbarModules

    • Constructor Detail

      • ToolbarModules

        public ToolbarModules()
    • Method Detail

      • switchTo

        public void switchTo​(String code)
      • switchTo

        public void switchTo​(ModuleInfo info)
      • initWidget

        protected void initWidget​(com.google.gwt.user.client.ui.Widget widget)
        Overrides:
        initWidget in class com.google.gwt.user.client.ui.Composite
      • updateUI

        protected void updateUI()
      • setStyleName

        public void setStyleName​(String style)
        Overrides:
        setStyleName in class com.google.gwt.user.client.ui.UIObject
      • setCaption

        public void setCaption​(String caption)
      • clearOperations

        public void clearOperations()
        清空操作面板区
      • appendOperation

        public void appendOperation​(com.google.gwt.user.client.ui.Widget... widgets)
        添加操作面板
        Parameters:
        widgets -
      • onResize

        public void onResize()
        Specified by:
        onResize in interface com.google.gwt.user.client.ui.RequiresResize
      • showMessage

        public void showMessage​(int level,
                                Integer code,
                                String message)
        Description copied from interface: IShowMessage
        显示一个消息
        Specified by:
        showMessage in interface IShowMessage
        Parameters:
        level - 显示级别 0,1,2,3,4
        message - 显示的消息
      • updateTools

        public boolean updateTools​(com.google.gwt.user.client.ui.Widget... tools)
        Description copied from interface: IModule
        用于模块向父模块注册工具栏按钮
        Specified by:
        updateTools in interface IModule
        Overrides:
        updateTools in class BaseAbstractModule
        Parameters:
        tools - the tools
        Returns:
        the boolean
      • registerModule

        public void registerModule​(String moduleCode)
        注册子系统管理的模块
        Parameters:
        moduleCode -
      • initializeSubsystem

        protected abstract void initializeSubsystem()
        初始化子系统
      • appendTools

        public boolean appendTools​(com.google.gwt.user.client.ui.Widget tools)
        Description copied from interface: IModule
        用于模块向父模块注册工具栏按钮
        Specified by:
        appendTools in interface IModule
        Overrides:
        appendTools in class BaseAbstractModule
        Parameters:
        tools - the tools
        Returns:
        the boolean
      • selectSubmodule

        public void selectSubmodule​(int index)
      • msg

        public void msg​(String message)
      • enableLoading

        public void enableLoading​(Boolean show)