...
- #How can I launch the Eclipse web browser from my plugin?
- #How can my view save data via Eclipse main menu (FILE => Save or Save As...)?
- #How can I notify Eclipse about the change of in "dirty"-ness of my WorkbenchPart?
- #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 at runtime?
- #How do I make open an error dialog pop up?
Deployment
- #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?
- #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?
SWT
- #How can I correctly change the background/foreground color of a button?
- #What are the SWT threading issues?[#What should I know about SWT and threads?
] - #How do I create a scrollable widget?
...
- #What are the Eclipse runtime options?
- #Some Eclipse plugins are JAR files, others are sub-directories. What's the difference?
- #How does Eclipse generate the ANT build script (aka build.xml)?
- #Where can I find a copy of the OSGi specification?
- #How can I add functionality to the Eclipse platform?
...
http://wiki.eclipse.org/FAQ_How_do_I_create_an_Eclipse_product%3F
We recommend that you switch skip step 2 and press "NEW..." in the overview section of your product file , i.e.:
1. Create a plugin for your product (File > New > Other > Plug-in Development > Plug-in Project).
2. Create a product configuration file (File > New > Other > Plugin Development > Product Configuration). Specify the product id as defined in your plugin manifest. On the "Configuration" tab, list all the plugins belonging to the product. You can also list branding information like the splash screen, icons, the name of your executable, etc.
3. Use the Product export wizard (link from the product editor, or under File > Export) to build, package, and deploy your product.
4. Launch the exe executable created by the product export (or run plain eclipse.exe it with the -product argument to refer to your product).
...
Your view must implement ISaveablePart.
Note #1: An editor already implements ISaveablePart.
Note #2: I am not saying that this always is the correct way to save data from a view.
...
How can I notify Eclipse about the change
...
in "dirty"-ness of my WorkbenchPart?
Answered by Sergei Chevtsov, 07-11-2007
...
Not possible yet, but should be in Eclipse 3.3.
...
How do I
...
open an error dialog
...
?
Answered by Sergei Chevtsov, 07-25-2007
...
4. Right click javadoc.xml => "Run As" => "Ant Build".
5. Don't ever use the Export Wizard to generate Javadoc again.
...
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.
...
SWT
How can I correctly change the background/foreground color of a button?
Answered by Sergei Chevtsov, 06-08-2007
Surprisingly, you can't.
...
What
...
should I know about SWT and threads?
Answered by Sergei Chevtsov, 06-13-2007
...