Bug 68063 - Suspend JavaDeltas during batch of changes to Java Model
Summary: Suspend JavaDeltas during batch of changes to Java Model
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 RC4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-21 14:44 EDT by Min Idzelis CLA
Modified: 2004-06-22 05:00 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Min Idzelis CLA 2004-06-21 14:44:57 EDT
I am performing a bunch of changes to the JavaModel using the IJavaElement
model. (Create serveral imports, methods, fields, etc) Everytime one of these
changes happens notification is sent out to all the IElementChangedListener's.
By suspending all of these deltas until the batch of changes is done,
IElementChangeListeners could process the delta more efficiently.
Comment 1 Jerome Lanneluc CLA 2004-06-21 17:21:00 EDT
Are you using JavaCore.run(IWorkspaceRunnable, ...) ?
Comment 2 Min Idzelis CLA 2004-06-21 18:07:56 EDT
Oh that is exactly what I was looking for. You can cancel this defect. (This
would be a good FAQ item, if JDT has one of those things.)
Comment 3 Jerome Lanneluc CLA 2004-06-22 05:00:45 EDT
Good. Closing then.