Versions Compared

Key

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

...

Deployment

SWT

...

...

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

...