Search in sources :

Example 1 with AboutGPAction

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

the class BasicWidget method onModuleLoad.

@Override
public void onModuleLoad() {
    MenuActionRegistar menuRegistar = BasicGinInjector.MainInjector.getInstance().getMenuActionRegistar();
    menuRegistar.put("aboutGeoPlatform", new MenuActionCreator() {

        private AboutGPAction action;

        @Override
        public MenuAction createAction() {
            return action = (action == null) ? new AboutGPAction() : action;
        }
    });
}
Also used : AboutGPAction(org.geosdi.geoplatform.gui.client.action.menu.AboutGPAction) MenuAction(org.geosdi.geoplatform.gui.action.menu.MenuAction) 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 AboutGPAction (org.geosdi.geoplatform.gui.client.action.menu.AboutGPAction)1