// if (this.like instanceof BufferListener)
// {
// ((BufferListener)this.like).bufferActionPerformed(ev);
// }
DblParamSet newParams = null;
DblParamSet oldParams = null;
String oldNickname = ev.getOldName();
String newNickname = ev.getNewName();
oldParams = this.parameterEditor.getParamSet();
newParams = new DblParamSet();
String[] params = oldParams.parameterSet();
for (int j=0;j<params.length;j++)
{
String p = params[j];
String newParamName= p.replaceFirst("#"+oldNickname,"#"+newNickname);
newParams.put(newParamName,oldParams.get(p));
}
this.parameterEditor.setParamSet(newParams);
oldParams = this.currentEditor.getParamSet();
newParams = new DblParamSet();
params = oldParams.parameterSet();
for (int j=0;j<params.length;j++)
{
String p = params[j];
String newParamName= p.replaceFirst("#"+oldNickname,"#"+newNickname);
newParams.put(newParamName,oldParams.get(p));
}
this.currentEditor.setParamSet(newParams);
oldParams = this.priorEditor.getParamSet();
newParams = new DblParamSet();
params = oldParams.parameterSet();
for (int j=0;j<params.length;j++)
{
String p = params[j];
String newParamName= p.replaceFirst("#"+oldNickname,"#"+newNickname);
newParams.put(newParamName,oldParams.get(p));
}
this.priorEditor.setParamSet(newParams);
oldParams = this.proposalEditor.getParamSet();
newParams = new DblParamSet();
params = oldParams.parameterSet();
for (int j=0;j<params.length;j++)
{
String p = params[j];
String newParamName= p.replaceFirst("#"+oldNickname,"#"+newNickname);
newParams.put(newParamName,oldParams.get(p));
}
this.proposalEditor.setParamSet(newParams);
this.proposalEditor.getParamSet().show("The new proposal...");