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;
}
});
}
Aggregations