Example #1
0
        public void deleteParameter(SFXParameter parameter)
        {
            this.removeParameter(parameter);
            if (parameter.getFilename() != "")
            {
                this.persistenceMgr.removeObjectFromFile(parameter);
            }

            parameter.delete();
        }
Example #2
0
        public void saveParameter(SFXParameter parameter)
        {
            if (parameter.getFilename() != "")
            {
                if (!this.persistenceMgr.isDirty(parameter))
                {
                    this.persistenceMgr.setDirty(parameter);
                }

                this.persistenceMgr.saveDirty();
            }
        }
Example #3
0
 public void showDeleteParameterDlg(SFXParameter parameter)
 {
     messageBox.MessageBoxOKCancel("Confirmation",
                                   "Really delete '" + parameter.getInternalName() + "'?" + '\n' +
                                   "" + '\n' +
                                   "The parameter will be removed from the file '" + parameter.getFilename() + "'.",
                                   this + ".deleteParameter( " + parameter + " );"
                                   );
 }