All Implemented Interfaces:
EventListener, javafx.event.EventHandler<javafx.event.ActionEvent>, Action, PropertyBean, Disableable
Direct Known Subclasses:
SaveFileAsAction

public class SaveFileAction extends AbstractSaveFileAction
Saves the changes in the active view. If the active view has not an URI, an URIChooser is presented.
Author:
Werner Randelshofer
  • Field Details

  • Constructor Details

    • SaveFileAction

      public SaveFileAction(FileBasedActivity view)
      Creates a new instance.
      Parameters:
      view - the view
    • SaveFileAction

      public SaveFileAction(FileBasedActivity view, boolean saveAs)
      Creates a new instance.
      Parameters:
      view - the view
      saveAs - whether to force a file dialog
    • SaveFileAction

      public SaveFileAction(FileBasedActivity view, String id, boolean saveAs)
      Creates a new instance.
      Parameters:
      view - the view
      id - the id
      saveAs - whether to force a file dialog
  • Method Details