Package org.geomajas.gwt.client.action.menu

Examples of org.geomajas.gwt.client.action.menu.DeselectAllAction


  @Override
  public void onActivate() {
    menu = new Menu();
    menu.addItem(new ToggleSelectionAction(mapWidget, pixelTolerance));
    menu.addItem(new DeselectAllAction(mapWidget.getMapModel()));
    mapWidget.setContextMenu(menu);
  }
View Full Code Here


      menu = new Menu();
      menu.addItem(new NewFeatureAction(mapWidget, this));
      menu.addItem(new EditFeatureAction(mapWidget, this));
      menu.addItem(new DeleteFeatureAction(mapWidget, this));
      menu.addItem(new MenuItemSeparator());
      menu.addItem(new DeselectAllAction(mapWidget.getMapModel()));
    }
    return menu;
  }
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.action.menu.DeselectAllAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.