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:
parent
c9c3c46bb9
commit
0e90fb8c5c
2 changed files with 15 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue