Samstag, 28. November 2009

Lotus Expeditor: Using custom launch items

When working with Lotus Expeditor and you want to add a custom launcher item to the "new" section in let's say Lotus Symphony for example, there is not much help available out there.



Sure, there is the description of different launchers in the Information center, but it only explains how to use urlLaunchItem, nativeProgramLaunchItem and perspectiveLaunchItem in detail.

So this article is for you out there searching Google for a how-to.

First define the Launcher in your plugin.xml:


(sorry Blogger didn't let me input XML here...)

Now this registers a new item (launchItem) and defines a launch item type (launchItemType) which gets invoked when clicking on it (see type attribute of launchItem and name atttribute of launchItemType).
The launchItemType invokes a class (see class attribute of launchItemType) which needs to be a subclass of com.ibm.rcp.ui.launcher.LauncherContributionItem (attention: com.ibm.rcp.jface.launcher.LauncherContributionItem is deprecated and should not be used).

The referenced class in launchItemType itself should look like this:

package com.xyz;

public class MyLaunchItemTypeClass extends com.ibm.rcp.ui.launcher.LauncherContributionItem {
@Override
public void launch(int arg0) {
super.launch(arg0);
System.out.println("LAUNCHED!");
}
}

also don't forget to put com.ibm.rcp.swtex and com.ibm.rcp.ui on your required bundles list in MANIFEST.MF.

Dienstag, 24. November 2009

Google Reader integration for GMail

Today I spent some minutes on writing a small Google Gadget which can be used to integrate the Google Reader into GMail.

You can add it to your GMail by enabling the "Add any gadget by URL" Labs feature within GMail and then add the gadget with this URL: http://gadgets.feth.com/reader/reader-gmail.xml.

It will display a small tab in your sidebar from which you can access Google Reader. The Reader will open in the area where you normally read your mails and will look like this:

Please feel free to write a comment and/or rate this gadget. If you encounter any problems, feel free to send me a note or use the comments section!

Mittwoch, 18. November 2009

The Enterprisity

I am so frustrated today...I definitely needed to translate an (relatively unknown) urban definition to English which exists in German since 2007 (Thanks to Michael Kukat):

Enterprisity - Measure for the adequacy of a method, a software or a person for his/her/its application in an enterprise, especially in major corporations. Important distinguishing features regarding enterprisity are the artificially boosted complexity, the resistance to counseling (primarily those of persons), the high demand for process orientation simultaneously paired with the preferred total circumnavigation of it, as well as the most miserable performance in comparison to competitive products (or persons) at the most terrible price.

Possible uses:

What the heck... I think the enterprisity got me - I didn't get any work done today!

God I love this company, there is such a low enterprisity, it almost feels like working on an Open source project.

Shoot! Why do I need to work with this rubbish - are they still trying to maximize enterprisity?

If you are a native speaker, please use the comments to help me remove any expression flaws from the definition. Thanks ;-)