Inside Eclipse IDE, how can I show the list of types that exist in the jar?
Add the jar to the project build path (right click menu) It will look like a drawer (glass) with an arrow to open it as if it were a directory. Now open it, you will see its contents - packages containing classes.
But I advise you to search for javadocs first. Who needs this list of classes when you have javadoc!
a source to share
The package explorer allows you to view the contents of your project files as objects, as soon as you extend the package you will see classes that you can extend the class to see its methods.
Likewise, projects have a Reference Libraries section that will expand to reflect the banks that the project depends on and thus allow viewing of their packages / classes / methods.
When looking at a class / interface, you can press F4 (or use the right-click menu) to see it in the type hierarchy.
a source to share
The correct way to do it is:
First import the Jar into your project build path using Project Properties ...
Then open the Java Viewer perspective.
Click on the Jar you want to view in the projects view.
Click on each package in the package view - the types will be displayed as types.
Quick tip: CTRL + SHIFT + T (Open Type ...) will allow you to open types for anything that Eclipse recognizes as a Java type, regardless of location (it might be in a jar). CTRL + SHIFT + R (Open Resource ...) won't, however - only open resources in your current project, so if you access local classes, you won't be able to open anything that's in the jar.
a source to share