StructuredSelection selection = new StructuredSelection(new Object[] { javaDefinition.javaElement });
openAction.run(selection);
} else {
String message;
if (itemPointer.definition != null && itemPointer.definition.module instanceof AbstractJavaClassModule) {
AbstractJavaClassModule module = (AbstractJavaClassModule) itemPointer.definition.module;
message = "The definition was found at: " + f.toString() + "\n" + "as the java module: "
+ module.getName();
} else {
message = "The definition was found at: " + f.toString() + "\n"
+ "(which cannot be opened because it is a compiled extension)";