Search in sources :

Example 1 with LayerMenuAction

use of org.geosdi.geoplatform.gui.client.action.menu.LayerMenuAction in project geo-platform by geosdi.

the class LayerWidgetUI method addLayerWidgetAction.

/**
 */
private void addLayerWidgetAction() {
    MenuActionRegistar menuRegistar = BasicGinInjector.MainInjector.getInstance().getMenuActionRegistar();
    menuRegistar.put("layerMenu", new MenuActionCreator() {

        @Override
        public MenuAction createAction() {
            return new LayerMenuAction();
        }
    });
    menuRegistar.put("manageProjects", new MenuActionCreator() {

        @Override
        public MenuAction createAction() {
            return loadMenuProjects;
        }
    });
}
Also used : MenuAction(org.geosdi.geoplatform.gui.action.menu.MenuAction) LayerMenuAction(org.geosdi.geoplatform.gui.client.action.menu.LayerMenuAction) MenuActionCreator(org.geosdi.geoplatform.gui.action.menu.MenuActionCreator) MenuActionRegistar(org.geosdi.geoplatform.gui.action.menu.MenuActionRegistar) LayerMenuAction(org.geosdi.geoplatform.gui.client.action.menu.LayerMenuAction)

Aggregations

MenuAction (org.geosdi.geoplatform.gui.action.menu.MenuAction)1 MenuActionCreator (org.geosdi.geoplatform.gui.action.menu.MenuActionCreator)1 MenuActionRegistar (org.geosdi.geoplatform.gui.action.menu.MenuActionRegistar)1 LayerMenuAction (org.geosdi.geoplatform.gui.client.action.menu.LayerMenuAction)1