Search in sources :

Example 1 with RoutingMenuAction

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

the class Routing method addRoutingMenuAction.

private void addRoutingMenuAction() {
    MenuActionRegistar menuRegistar = BasicGinInjector.MainInjector.getInstance().getMenuActionRegistar();
    menuRegistar.put("routing", new MenuActionCreator() {

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

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 RoutingMenuAction (org.geosdi.geoplatform.gui.client.action.RoutingMenuAction)1