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 + " );");
 }
        public void deleteParameter(SFXParameter parameter)
        {
            this.removeParameter(parameter);
            if (parameter.getFilename() != "")
                this.persistenceMgr.removeObjectFromFile(parameter);

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

                this.persistenceMgr.saveDirty();
                }
        }