Where Can I Find org.eclipse.core.runtime.IProgressMonitor?
I am trying to work on some plug-in development for extending RTC and am using some sample code provided as part of a workshop as the basis for my efforts. However, the workshop code includes a reference to a plug-in that isn't included in my eclipse environment.
The following code:
final IQueryableAttribute attributeID = factory.findAttribute(projectArea, attributeIdentifier, auditableCommon, monitor)
Generated errors for each of the parameters of the function. Each error looked something like:
[parameter name] cannot be resolved to a variableTo address it, I looked at the function definition for factory.findAttribute. The definition specified the types of the arguments to the function so I went ahead and declared each argument locally within the function using the identified types:
IAuditableCommon
IProjectAreaHandle
String
IProgressMonitor
For some of these, specifying the type required that I add a reference to a plug-in. The eClipse IDE helped me identify which plug-ins needed to be referenced. However, when I got to IProgressMonitor, the expected plug-in could not be found. I have installed the 4.0.6 RTC SDK, but it doesn't appear to include org.eclipse.core.runtime.IProgressMonitor among the provided plug-ins and that plug-in doesn't appear to be part of my eClipse installation either.
Can someone steer me in the right direction here?
Accepted answer
Comments
well, actually not true..
it is packaged in
jar org.eclipse.equinox.common
I recently ran across this issue again. Previously it was during extension development (operation behaviors), this time it was during Java client development.
Strangely, adding the org.eclipse.core.runtime packageĀ solved the problem when doing extensions development, but adding a reference to that jar file in Java Client development does not. In fact, if I add a reference to that jar file and then expand the list of classes that belong to it, the IProgressMonitor class is not even present.
Searching online actually led me back to this very question and Sam's response. Adding a reference to org.eclipse.equinox.common does indeed satisfy the IProgressMonitor reference. I feel like I'm in library hell a little bit here. I don't understand why it's different between the two API types.
Anyway, I thought I would post this updated comment on here for future reference.
I think it is packaged in one of the server function jar files too.. and NOT in the client api jars.