Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you can't access the instance of the desired Plugin, then (in addition to yelling at the plugin developer (smile)) use Platform.getBundle(symbolicName) where "symbolicName" is specified in the plugin's MANIFEST.MF file.

Finally, use new Path(myPath), where "myPath" is relative to the plugin's top directory, to get an instance of IPath.

...

ErrorDialog.openError(shell, title, null, new Status(IStatus.ERROR, pluginId, IStatus.OK, localizedMessage, exception));

Note: localizedMessage must not be null!

...

In build.properties, I specified to build a JAR file from my plugin sources. When I deploy my plugin, a class can not be found. What am I doing wrong?

...