Hi!
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:
com.openedge.pdt.text.codeinfo.CachedTypeInfo ti;
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?
Thanks!
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.
Start here:
http://www.eclipse.org/resources/
http://www.eclipse.org/articles/Article-Your%20First%20Plug-in/YourFirstPlugin.html
I didn't copy the .jar file. I referenced to it in the project settings:
http://img264.imageshack.us/my.php?image=projectxr8.jpg
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:
1. com.openedge.pdt.platform
2. com.openedge.pdt.core
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.