THE SITUATION Do you hang out in IRC channels often? And do you use pastebin.com or other services to show the users snippets of your source code that illustrates a problem you have? Then you n...
http://philondev.blogspot.com/2010/02/copytopastebin-and-others-plug-in-for_20.html
THE SITUATION Sometimes you cannot use the beauty of DS (ie. in Eclipse Workbench classes, that are instantiated by the Workbench) and have to revert back to the next best thing in the OSGi wor...
http://philondev.blogspot.com/2010/02/servicerunnable-easier-use-of-osgi.html
Before you read on you should be familiar with JNA and OSGi as I will make heavy use of it in this posting. PREFACE For my CopyTo Eclipse plugin's preference page I wanted to enable the "P...
http://philondev.blogspot.com/2010/02/osgi-clipboard-monitor-for-java-on.html
I handed out the update site URL of my "copyto" Plug-in to a friend and when he wanted to install it, p2 threw this message at him: > Cannot complete the install because one or more re...
http://philondev.blogspot.com/2010/02/p2-error-messages-are-useless-for-users.html
I am currently working on a small Plug-In that some of you might find useful (especially if you are hanging out in IRC a lot). The plugin allows you to select resources, classes or methods in Jav...
http://philondev.blogspot.com/2010/02/copytopastebin-and-others-plug-in-for.html
I wonder whats the best approach to give an extension a unique ID. There are two ways to do that: Use the ID already present on each extension element Create an "id" attribute in a child-element ...
http://philondev.blogspot.com/2010/02/use-id-on-extension-element-or-as.html
I just browsed the draft version of the new OSGi specs for the enterprise. I was especially interested in how they want to address the JPA related problems. They have not chosen a fundamentally d...
http://philondev.blogspot.com/2010/02/enterprise-osgi-does-not-make-jpa-more.html
This article assumes you know what Declarative Services (DS) are and have a basic understanding of OSGi. INTRODUCTION There is one big problem with the Eclipse console commands. You can have o...
http://philondev.blogspot.com/2010/01/adding-actions-to-eclipse-console.html
To let other components in the system know about displayed notifications we use the White-Board-Pattern to consume listener services in our NotificationServiceImpl class. A listener for notificat...
http://philondev.blogspot.com/2010/01/notification-listeners.html
Recently I needed to create a small DLL to call some functions on a Windows Mobile device attached to the desktop Windows PC. Inside my DLL I made heavy use of the kernel32.dll OutputDebugString ...
http://philondev.blogspot.com/2009/12/monitoring-outputdebugstring-on-windows.html
I am currently working on a small Windows Shell Extension that will help to get a quick overview on all the OSGi bundles in the currently browsed folder. The following features will be ...
http://philondev.blogspot.com/2009/12/displaying-osgi-bundle-informations-in.html
In this series of tutorials I will describe a small, extensible notification framework for JFace/Eclipse applications. I will make heavy use of OSGi services and Eclipse Extensions. So before you...
http://philondev.blogspot.com/2009/12/notification-framework.html
INTRODUCTION This is a follow up to Commands Part 6: Toggle & Radio menu contributions of fellow blogger Prakash G.R. . He described how to use command toggle and radio states. Here I will sho...
http://philondev.blogspot.com/2009/12/toggle-commands-toggle-other.html
INTRODUCTION I am using the wonderful JNA library to use the Microsoft Remote API (RAPI) to access Windows Mobile Devices on Windows desktops. It allows you to connect to an attached mobile dev...
http://philondev.blogspot.com/2009/12/using-jna-to-query-power-status-on.html
INTRODUCTION Each Form has a toolbar associated with it, as you probably already know. You can get it by calling form.getToolBarManager(). Once you got the manager you can add your own contribu...
http://philondev.blogspot.com/2008/06/allow-contributions-to-forms.html
We all know the standard JFace icons very well. They appear in Dialogs, Wizards and Forms. And in a form they look like this: Now, there is a quick and easy way to replace them with your o...
http://philondev.blogspot.com/2009/07/how-to-replace-default-jface-message.html