Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/P2Util.java | ||
---|---|---|
26 | 26 |
|
27 | 27 |
/** |
28 | 28 |
* This class shows an example for checking for updates and performing the |
29 |
* update synchronously. It is up to the caller to run this in a job if
|
|
29 |
* update synchronously. It is up to the caller to run this in a job if |
|
30 | 30 |
* a background update check is desired. This is a reasonable way to run an |
31 | 31 |
* operation when user intervention is not required. Another approach is |
32 | 32 |
* to separately perform the resolution and provisioning steps, deciding |
33 | 33 |
* whether to perform these synchronously or in a job. |
34 |
*
|
|
34 |
* |
|
35 | 35 |
* Any p2 operation can be run modally (synchronously), or the job |
36 | 36 |
* can be requested and scheduled by the caller. |
37 |
* |
|
37 |
* |
|
38 |
* @see UpdateOperation#resolveModal(IProgressMonitor) |
|
39 |
* @see UpdateOperation#getResolveJob(IProgressMonitor) |
|
40 |
* @see UpdateOperation#getProvisioningJob(IProgressMonitor) |
|
41 |
* @see UpdateOperation#resolveModal(IProgressMonitor) |
|
42 |
* @see UpdateOperation#getResolveJob(IProgressMonitor) |
|
43 |
* @see UpdateOperation#getProvisioningJob(IProgressMonitor) |
|
38 | 44 |
* @see UpdateOperation#resolveModal(IProgressMonitor) |
39 | 45 |
* @see UpdateOperation#getResolveJob(IProgressMonitor) |
40 | 46 |
* @see UpdateOperation#getProvisioningJob(IProgressMonitor) |
47 |
* @author n.hoffmann |
|
48 |
* @version $Id: $ |
|
41 | 49 |
*/ |
42 | 50 |
public class P2Util { |
43 | 51 |
|
Also available in: Unified diff
performed javacscript:fix and worked on documentation