I created a new Plug-In Project in Eclipse and added the library "com.openedge.pdt.core_10.2.0.00\oe_common_services.jar" to my project.
Then, in the Package Explorer, I can browse through the progress packages, I see all classes, methods ...
In my created view, I call an action which does the following:
ti = new com.openedge.pdt.text.codeinfo.CachedTypeInfo();
showMessage("Here I am");
But the message is never reached. He steps out at the "new" command, and I don't know why.
The same appears with every Progress class I instantiate.
Anyone an idea what's wrong?
Did you check the .log file in your runtime workspace?
If you copied the oe_common_services.jar to your project then you didn't setup your plug-in project correctly. You need to add a dependency on the project instead of copying the jar. The openedge jar files in the various plug-ins have many dependencies of their own. Unless you use Eclipse' dependency mechanism for plug-ins you won't be able to use any of the OpenEdge classes.
If you're not familiar with creating plug-ins I suggest doing some reading. There are several great resources available that should get you started.
I didn't copy the .jar file. I referenced to it in the project settings:
You will need to remove the jar reference from the project.
Then double-click on the plugin.xml file, switch to the dependencies tab and add both:
It should show up in the plug-in dependencies section of the treeview, not the referenced libraries section.
It works, thank you
I don't think any of these classes are documented.. or are they?
For example get access to the current outline view.