use of org.geosdi.geoplatform.gui.client.action.toolbar.ChangeBaseLayerAction in project geoplatform-base-app by geosdi.
the class BaseAppActions method addActionToolbar.
public static void addActionToolbar() {
ToolbarActionRegistar toolbarRegistar = BasicGinInjector.MainInjector.getInstance().getToolbarActionRegistar();
toolbarRegistar.put("GeoPlatformInfoApp", new ToolbarActionCreator() {
@Override
public ToolbarApplicationAction createActionTool(GeoPlatformMap mapWidget) {
return new BaseInfoApp();
}
});
toolbarRegistar.put("changeBaseLayer", new ToolbarActionCreator() {
@Override
public ToolbarAction createActionTool(GeoPlatformMap mapWidget) {
return new ChangeBaseLayerAction(mapWidget);
}
});
}
Aggregations