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

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


      menu = new Menu();
      menu.addItem(new AttributesAction(mapWidget));
      menu.addItem(new MenuItemSeparator());
      menu.addItem(new UndoOperationAction(mapWidget, this));
      menu.addItem(new CancelEditingAction(mapWidget, (ParentEditController) parent));
      menu.addItem(new SaveEditingAction(mapWidget, (ParentEditController) parent));
      menu.addItem(new ToggleEditModeAction((ParentEditController) parent));
      menu.addItem(new MenuItemSeparator());
      menu.addItem(new InsertPointAction(mapWidget));
      menu.addItem(new RemovePointAction(mapWidget));
      menu.addItem(new MenuItemSeparator());
View Full Code Here


      menu = new Menu();
      menu.addItem(new AttributesAction(mapWidget));
      menu.addItem(new MenuItemSeparator());
      menu.addItem(new UndoOperationAction(mapWidget, this));
      menu.addItem(new CancelEditingAction(mapWidget, (ParentEditController) parent));
      menu.addItem(new SaveEditingAction(mapWidget, (ParentEditController) parent));
      menu.addItem(new MenuItemSeparator());
      menu.addItem(new ToggleGeometricInfoAction(this));
    }
    return menu;
  }
View Full Code Here

      menu = new Menu();
      menu.addItem(new AttributesAction(mapWidget));
      menu.addItem(new MenuItemSeparator());
      menu.addItem(new UndoOperationAction(mapWidget, this));
      menu.addItem(new CancelEditingAction(mapWidget, (ParentEditController) parent));
      menu.addItem(new SaveEditingAction(mapWidget, (ParentEditController) parent));
      menu.addItem(new ToggleEditModeAction((ParentEditController) parent));
      menu.addItem(new MenuItemSeparator());
      menu.addItem(new InsertPointAction(mapWidget));
      menu.addItem(new RemovePointAction(mapWidget));
      menu.addItem(new MenuItemSeparator());
View Full Code Here

      addClickHandler(this);
    }

    public void onClick(ClickEvent event) {
      mapModel.getFeatureEditor().startEditing(new Feature[] { getFeature() }, new Feature[] { getFeature() });
      SaveEditingAction action = new SaveEditingAction(mapModel);
      action.onClick(null);

      setEditingEnabled(false);
      editButton.setDisabled(false);
    }
View Full Code Here

TOP

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

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.