Versions Compared

Key

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

...

To get a Bundle instance associated with the desired plugin, use ((Plugin)myPlugin).getBundle().

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.

...