1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Operation is readOnly

This commit is contained in:
Alain Magloire 2005-07-08 21:47:02 +00:00
parent c9c3c46bb9
commit 0e90fb8c5c
2 changed files with 15 additions and 0 deletions

View file

@ -33,6 +33,14 @@ public class PathEntryContainerUpdatesOperation extends CModelOperation {
this.container = container;
this.events = events;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.internal.core.model.CModelOperation#isReadOnly()
*/
public boolean isReadOnly() {
return true;
}
protected void executeOperation() throws CModelException {
PathEntryManager pathEntryManager = PathEntryManager.getDefault();
ArrayList list = new ArrayList(events.length);

View file

@ -33,6 +33,13 @@ public class SetPathEntryContainerOperation extends CModelOperation {
fPathEntryManager = PathEntryManager.getDefault();
}
/* (non-Javadoc)
* @see org.eclipse.cdt.internal.core.model.CModelOperation#isReadOnly()
*/
public boolean isReadOnly() {
return true;
}
protected void executeOperation() throws CModelException {
if (isCanceled()) {
return;