use of org.geosdi.geoplatform.gui.action.tree.menu.TreeMenuActionRegistar in project geo-platform by geosdi.
the class LayerFiltersWidgetUI method onModuleLoad.
/**
* (non-Javadoc)
*
* @see com.google.gwt.core.client.EntryPoint#onModuleLoad()
*/
@Override
public void onModuleLoad() {
TreeMenuActionRegistar registar = TreeMenuGinInjector.MainInjector.getInstance().getTreeMenuActionRegistar();
registar.put("ADD_MODIFY_CQL_FILTER", new TreeMenuActionCreator() {
@Override
public MenuAction createAction(TreePanel treePanel) {
return new AddModifyCQLFilterAction((GPTreePanel<GPBeanTreeModel>) treePanel);
}
});
registar.put("REMOVE_CQL_FILTER", new TreeMenuActionCreator() {
@Override
public MenuAction createAction(TreePanel treePanel) {
return new RemoveCQLFilterAction((GPTreePanel<GPBeanTreeModel>) treePanel);
}
});
}
use of org.geosdi.geoplatform.gui.action.tree.menu.TreeMenuActionRegistar in project geo-platform by geosdi.
the class WFSWidgetUI method onModuleLoad.
/**
* (non-Javadoc)
*
* @see com.google.gwt.core.client.EntryPoint#onModuleLoad()
*/
@Override
public void onModuleLoad() {
TreeMenuActionRegistar registar = TreeMenuGinInjector.MainInjector.getInstance().getTreeMenuActionRegistar();
registar.put("EDIT_FEATURE", new TreeMenuActionCreator() {
@Override
public MenuAction createAction(TreePanel treePanel) {
return new EditWFSAction(treePanel);
}
});
registar.put("SHOW_FEATURES", new TreeMenuActionCreator() {
@Override
public MenuAction createAction(TreePanel treePanel) {
return new ShowFeaturesWFSAction(treePanel);
}
});
}
Aggregations