Class VersionControlDialog

    • Constructor Detail

      • VersionControlDialog

        public VersionControlDialog​(boolean addToVersionControl)
        Constructor
        Parameters:
        addToVersionControl - true for adding; false for check-in
    • Method Detail

      • cancelCallback

        protected void cancelCallback()
        Description copied from class: DialogComponentProvider
        The callback method for when the "Cancel" button is pressed. The default behavior is to call setVisible(false) and dispose() on the dialog.
        Overrides:
        cancelCallback in class DialogComponentProvider
      • setKeepCheckboxEnabled

        public void setKeepCheckboxEnabled​(boolean enabled)
        Disable the check box for "keep checked out" because some files are still in use.
      • setCurrentFileName

        public void setCurrentFileName​(java.lang.String filename)
        Set the name of the current file being added to version control or being updated.
        Parameters:
        filename - the name of the file currently to be added, whose comment we need.