mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56: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.container = container;
|
||||||
this.events = events;
|
this.events = events;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.internal.core.model.CModelOperation#isReadOnly()
|
||||||
|
*/
|
||||||
|
public boolean isReadOnly() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
protected void executeOperation() throws CModelException {
|
protected void executeOperation() throws CModelException {
|
||||||
PathEntryManager pathEntryManager = PathEntryManager.getDefault();
|
PathEntryManager pathEntryManager = PathEntryManager.getDefault();
|
||||||
ArrayList list = new ArrayList(events.length);
|
ArrayList list = new ArrayList(events.length);
|
||||||
|
|
|
@ -33,6 +33,13 @@ public class SetPathEntryContainerOperation extends CModelOperation {
|
||||||
fPathEntryManager = PathEntryManager.getDefault();
|
fPathEntryManager = PathEntryManager.getDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.internal.core.model.CModelOperation#isReadOnly()
|
||||||
|
*/
|
||||||
|
public boolean isReadOnly() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
protected void executeOperation() throws CModelException {
|
protected void executeOperation() throws CModelException {
|
||||||
if (isCanceled()) {
|
if (isCanceled()) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue