Examples of SaveAction


Examples of org.jayasoft.woj.tools.ui.actions.SaveAction

  public static Action getMD5Action(WojConsole console) {
    return new MD5Action(console);
  }

  public static Action getSaveAction(AnalyserFrame frame) {
    return new SaveAction(frame);
  }
View Full Code Here

Examples of org.openscience.jchempaint.action.SaveAction

                    .getChemModel().getID()
                    + " " + GT.get("has unsaved data. Do you want to save it?"),
                    GT.get("Unsaved data"), JOptionPane.YES_NO_CANCEL_OPTION,
                    JOptionPane.WARNING_MESSAGE);
            if (answer == JOptionPane.YES_OPTION) {
                SaveAction saveaction = new SaveAction(this, false);
                saveaction.actionPerformed(new ActionEvent(
                        this, 12, ""));
                if(saveaction.getWasCancelled())
                    answer = JOptionPane.CANCEL_OPTION;
            }
            return answer;
        } else if (guistring.equals(JChemPaintEditorApplet.GUI_APPLET)) {
            // In case of the applet we do not ask for save but put the clear
View Full Code Here

Examples of org.openstreetmap.josm.actions.SaveAction

        if (result == 1) {
          Boolean savefailed = false;
          for (final Layer l : map.mapView.getAllLayers()) {
            if (l instanceof OsmDataLayer
                && ((OsmDataLayer) l).isModified()) {
              SaveAction save = new SaveAction(l);
              if (!save.doSave())
                savefailed = true;
            }
          }
          return savefailed;
        } else if (result != 2) // Cancel exiting unless the 2nd button
View Full Code Here

Examples of org.openstreetmap.josm.actions.SaveAction

    }
    return new Component[] {
        new JMenuItem(new LayerListDialog.ShowHideLayerAction(this)),
        new JMenuItem(new LayerListDialog.DeleteLayerAction(this)),
        new JSeparator(),
        new JMenuItem(new SaveAction(this)),
        new JMenuItem(new SaveAsAction(this)),
        new JMenuItem(new GpxExportAction(this)),
        new JMenuItem(new ConvertToGpxLayerAction()),
        new JSeparator(),
        new JMenuItem(new RenameLayerAction(getAssociatedFile(), this)),
View Full Code Here

Examples of org.rstudio.studio.client.application.model.SaveAction

            String message = event.getData();
            eventBus_.fireEvent(new SuicideEvent(message));
         }
         else if (type.equals(ClientEvent.SaveActionChanged))
         {
            SaveAction action = event.getData();
            eventBus_.fireEvent(new SaveActionChangedEvent(action));
         }
         else if (type.equals(ClientEvent.EnvironmentAssigned))
         {
            RObject objectInfo = event.getData();
View Full Code Here

Examples of slash.navigation.converter.gui.actions.SaveAction

        actionManager.register("delete", new DeleteAction(getPositionsView(), getPositionsModel()));
        actionManager.register("new-position", new AddPositionAction(getPositionsView(), getPositionsModel(), getPositionsSelectionModel()));
        actionManager.register("new-file", new NewFileAction(this));
        actionManager.register("open", new OpenAction(this));
        actionManager.register("paste", new PasteAction(getPositionsView(), getPositionsModel(), clipboardInteractor));
        actionManager.register("save", new SaveAction(this));
        actionManager.register("save-as", new SaveAsAction(this));
        actionManager.register("select-all", new SelectAllAction(getPositionsView()));
        actionManager.register("new-positionlist", new AddPositionListAction(getFormatAndRoutesModel()));
        actionManager.register("rename-positionlist", new RenamePositionListAction(getFormatAndRoutesModel()));
        actionManager.register("delete-positionlist", new RemovePositionListAction(getFormatAndRoutesModel()));
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.