Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2003, 2005 IBM Corporation and others. |
2 |
* Copyright (c) 2003, 2008 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 25-31
Link Here
|
25 |
* This method allows clients to call a number of |
25 |
* This method allows clients to call a number of |
26 |
* methods that modify resources and only have resource |
26 |
* methods that modify resources and only have resource |
27 |
* change event notifications reported at the end of the entire |
27 |
* change event notifications reported at the end of the entire |
28 |
* batch. |
28 |
* batch. This mechanism is used to avoid unnecessary builds |
|
|
29 |
* and notifications. |
30 |
* </p> |
31 |
* <p> |
32 |
* Platform may decide to perform notifications during the operation. |
33 |
* The reason for this is that it is possible for multiple threads |
34 |
* to be modifying the workspace concurrently. When one thread finishes modifying |
35 |
* the workspace, a notification is required to prevent responsiveness problems, |
36 |
* even if the other operation has not yet completed. |
29 |
* </p> |
37 |
* </p> |
30 |
* <p> |
38 |
* <p> |
31 |
* A WorkspaceJob is the asynchronous equivalent of IWorkspaceRunnable |
39 |
* A WorkspaceJob is the asynchronous equivalent of IWorkspaceRunnable |