1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00
This commit is contained in:
Andrew Gvozdev 2010-05-09 16:35:53 +00:00
parent ac690f85bf
commit 6f3f7a3c1a

View file

@ -684,6 +684,17 @@ public abstract class AbstractCPropertyTab implements ICPropertyTab {
} }
} }
/**
* The writing mode for multiple configurations edits (configuration drop-down list
* in project properties). This mode applies to lists of entries.
* See preference Multiple Configurations Edit, String List Write Mode.
*
* @return
* {@code true} if each list should be replaced as a whole with the
* list user is currently working with in UI<br/>
* {@code false} if changes apply only to individual entries and unaffected
* entries are preserved.
*/
protected boolean isWModifyMode() { protected boolean isWModifyMode() {
int wmode = CDTPrefUtil.getInt(CDTPrefUtil.KEY_WMODE); int wmode = CDTPrefUtil.getInt(CDTPrefUtil.KEY_WMODE);
return (wmode == CDTPrefUtil.WMODE_MODIFY); return (wmode == CDTPrefUtil.WMODE_MODIFY);