...
- #What information do MANIFEST.MF and plugin.xml contain?
- #How do I create a plugin project that uses an existing SEAL plugin?
- #How can I launch the Eclipse web browser from my plugin?
- #How do I add a third-party library to SEAL?
- #How can my view save data via Eclipse main menu (FILE => Save or Save As...)?
- #What happens when a view is closed?
- #How do I access a file in the plugin programmatically?
- #How can I manipulate the main workbench menu?
- #In build.properties, I specified to build a JAR file from my plugin sources. When I export and deploy my plugin, a class can not be found. What am I doing wrong?
- #How do I generate Javadoc with links to APIs on the web?
- #Should I deploy my pure Java plugin as a JAR file or as a directory?
- #How can I programmatically update the notify Eclipse about the change of "dirty"-ness of my WorkbenchPart?
...
First, you need to know that your plugin will *run* either way, although Eclipse folks claim that performance might differ (surprisingly, JAR-ed plugins are supposed to be better =>
http://www.eclipsezone.com/eclipse/forums/m91980917.html#91980917).
If that's all your plugin is intended for, the choice seems to be entirely up to you.
However, some plugins can be used by other plugins; such plugins expose packages to the clients. You must create a JAR file for a plugin that exposes packages, so that Eclipse's Plug-in Development Environment can locate the exported classes.
Note: if your plugin uses an external library, put it into edu.stanford.slac.external plugin and make that plugin required by your plugin.
...
How can I
...
notify Eclipse about the change of "dirty"-ness of my WorkbenchPart?
Answered by Sergei Chevtsov, 07-11-2007
...