1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

performOkForced() method added

This commit is contained in:
Oleg Krasilnikov 2007-04-25 13:56:44 +00:00
parent 6be903f7bc
commit 1346d01ba1

View file

@ -93,11 +93,19 @@ public class CDTPropertyManager {
}
/**
*
* Performs optimized (single-time) saving
* @param p - widget which calls this functionality
*/
public static void performOk(Object p) {
if (saveDone) return;
performOkForced(p);
}
/**
* Performs mandatory saving
* @param p
*/
public static void performOkForced(Object p) {
saveDone = true;
try {
CoreModel.getDefault().setProjectDescription(project, prjd);