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:
parent
6be903f7bc
commit
1346d01ba1
1 changed files with 9 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue