Examples of undoLastOperation()


Examples of org.geomajas.gwt.client.map.feature.FeatureTransaction.undoLastOperation()

   *            The {@link MenuItemClickEvent} from clicking the action.
   */
  public void onClick(MenuItemClickEvent event) {
    FeatureTransaction featureTransaction = mapWidget.getMapModel().getFeatureEditor().getFeatureTransaction();
    mapWidget.render(featureTransaction, RenderGroup.VECTOR, RenderStatus.DELETE);
    featureTransaction.undoLastOperation();
    mapWidget.render(featureTransaction, RenderGroup.VECTOR, RenderStatus.ALL);
    controller.cleanup();
  }

  // MenuItemIfFunction implementation:
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.