Home

 

Writing an Eclipse plug-in for the WebSphere MQ Explorer

 

This section details how to write an Eclipse plug-in for the WebSphere MQ Explorer. It is assumed that you have the prerequisite knowledge detailed in What we need to know to understand this chapter.

To write an Eclipse plug-in for the WebSphere MQ Explorer, utilize the extension points available to extend the functionality of the WebSphere MQ Explorer. The most common extension points are described, and accompanied by a number of code extracts from the simple plug-in to provide basic implementation examples. You must import the simple plug-in if you want access to the code that it contains. For instructions on how to import the simple plug-in, see Importing the simple Eclipse plug-in.

The environment in which the WebSphere MQ Explorer is extended is an event driven interface. For example, when a Register extension point is extended with an instance of a user-written class that extends the IExplorerNotify interface, the user-written class will be called back when an event occurs. For example, when a queue manager is created. Many of these notifications include a MQExtObject as one of their arguments. An MQExtObject relates to the WebSphere MQ object that caused the event. A user-written class can call any of the MQExtObject public methods to find out about the object.

The IExplorerNotify interface, the associated MQExtObject, and other external definitions are documented in the WebSphere MQ Explorer JavaDoc. For information on how to access the WebSphere MQ Explorer JavaDoc, see Accessing Javadoc.

 

Parent topic:

Extending the WebSphere MQ Explorer


fa12320_


 

Home