Class VersionControlTask

  • All Implemented Interfaces:
    MonitoredRunnable
    Direct Known Subclasses:
    CheckInTask

    public abstract class VersionControlTask
    extends Task
    Task to show a dialog to enter comments for checking in a file
    • Field Detail

      • list NEW

        protected java.util.List<DomainFile> list
      • actionID NEW

        protected int actionID
      • keepCheckedOut NEW

        protected boolean keepCheckedOut
      • createKeep NEW

        protected boolean createKeep
      • comments NEW

        protected java.lang.String comments
      • filesInUse NEW

        protected boolean filesInUse
      • wasCanceled NEW

        protected boolean wasCanceled
      • parent NEW

        protected java.awt.Component parent

Constructor Detail

  • Method Detail

    • showDialog NEW

      protected void showDialog​(boolean addToVersionControl,
                                java.lang.String filename)
      Show the dialog.
      Parameters:
      addToVersionControl - true if the dialog is for adding files to version control, false for checking in files.
      filename - the name of the file currently to be added, whose comment we need.
    • checkFilesInUse NEW

      protected void checkFilesInUse()
      Sets the filesInUse field if any file is in use. Call this method from the run() method so that the "Keep checked out" checkbox on the dialog is disabled if files are still in use.
    • checkFilesForUnsavedChanges NEW

      protected boolean checkFilesForUnsavedChanges()