Revision 6596
trunk/frameworks/_fwAndami/src/com/iver/andami/preferences/GenericDlgPreferences.java | ||
---|---|---|
396 | 396 |
jButtonCancel.setText(PluginServices.getText(this, "cancelar")); |
397 | 397 |
jButtonCancel.addActionListener(new java.awt.event.ActionListener() { |
398 | 398 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
399 |
if (activePreference!=null) |
|
400 |
activePreference.cancelAction(); |
|
399 |
Iterator it = preferences.keySet().iterator(); |
|
400 |
while (it.hasNext()) { |
|
401 |
((IPreference) preferences.get(it.next())).cancelAction(); |
|
402 |
} |
|
401 | 403 |
closeView(); |
402 | 404 |
} |
403 | 405 |
}); |
Also available in: Unified diff