Tag Archives: Eclipse

SWT: Detecting which key was pressed during a MouseClick by Lars Vogel

Sometimes you want to detect the metakey which was pressed during a mouse click on SWT widget. This information is available in the SelectionEvent via the stateMask property. The following code shows an example for this.

Posted in Eclipse, Lars Vogel | Tagged , | Comments Off

Finding SWT resources leaks with Sleak

In SWT you must cleanup your allocated resources. Luckily the SWT Composite passed to you, is disposed by the framework so any Widget which you create on this control is disposed for you automatically. Except Fonts, Colors and Images. For … Continue reading

Posted in Eclipse | Tagged , | Comments Off

Eclipse Papercut #9 – Default preference settings via plugin_customization.ini – Type Filter Example

Dani Megert gave me in the Eclipse forum the tip how setup default values preferences, in this example for for JDT type filters. The solution is relatively easy. Create in your Eclipse installation directory a file called “plug_customization.ini” and add … Continue reading

Posted in Eclipse, Papercut | Tagged | 5 Comments

Eclipse Papercut #8 – Filtered PackageExplorer by project name

I recently learned from Ian Bull about Feature Patch Projects which allow you to patch existing features. This allowed me to replace my self-written clone of the package explorer with a modified one based on the JDT implementation. The benefit … Continue reading

Posted in Eclipse, Papercut | Tagged | 9 Comments

Replacing the persistence approach for the Eclipse 4 application model

Eclipse 4 uses an instance of the IModelResourceHandler interface to load and save the application model at startup. The default implementation of this interface is provided by the ResourceHandler class from the org.eclipse.e4.ui.internal.workbench package. You can specify the modelResourceHandler as … Continue reading

Posted in Eclipse | Tagged , , | Comments Off

Eclipse 4 is beautiful – Create your own Eclipse 4 theme

In case you haven’t noted Roger Dudler from http://eclipsecolorthemes.org/ started to develop a dark theme for Eclipse 4. It already looks awesome. I assume it will be available soon. You may think, “woh, styling the Eclipse 4 IDE must be … Continue reading

Posted in Eclipse | Tagged , | 13 Comments

Installing Eclipse features via the command line with the p2 director

I finally found the time to try out Paul Websters tip for installing Eclipse features from the command line and updating eclipse.ini. While I don’t have the out-of-memory problem I also download frequently Eclipse releases and need to install components … Continue reading

Posted in Eclipse | Tagged , | 6 Comments

Define Eclipse shortcuts in Unity (Ubuntu)

I wanted to define Eclipse shortcuts in Ubuntu pointing to my individual workspaces. You can define Eclipse shortcuts including parameters, e.g. the -data parameter via a .desktop file. Once defined you can drag the file into the Dash of Unity … Continue reading

Posted in Eclipse | Tagged , , | 5 Comments

Eclipse 4 Platform Services Tutorial / Overview available

I created and re-worked a summary of the most important Eclipse 4 Platform Services, e.g. ECommandHandler, EPartService, ESelectionService and the EModelService: Eclipse 4 Services Tutorial I hope this helps. I’m pretty excited about Eclipse 4, developing Eclipse 3.x plug-ins or … Continue reading

Posted in Eclipse | Tagged , , , | Comments Off

Eclipse Community Awards voting open. Please vote

Just a small reminder, the Eclipse Community Awards is currently open for voting. Please vote: http://eclipse.org/org/press-release/20120130_awardsvote.php I’m also nominated, as Eclipse Top Newcomer Evangelist

Posted in Eclipse | Tagged , | Comments Off