Add context menu item to the WebSphereŽ MQ Explorer
Add context menu item to the WebSphere® MQ Explorer

A context menu extension point is used to add context menu items to the WebSphere® MQ Explorer.
The following code extract is taken from the file, plugin.xml, from the simple plug-in and shows a basic implementation of the context menu extension point.

Additional context menu items are added using the Eclipse extension point org.eclipse.ui.popupMenus. The <visibility> attribute in the above extract contains the elements that control the conditions under which the context menu item is displayed. These conditions include tests on the plug-in state, the type of object, and the state of the object. For example, a content menu item can be displayed for local queues only, or for remote queue managers only.

Add items to Windows Explorer Shell context menu easily – How to add them ?

 

 

 Add items to Explorer context menus with Windows Explorer Shell Context Menu

 

  Add an item to Windows Explorer Shell context menu easily with Windows Explorer Shell Context Menu. This powerful .Net component for your own, custom items appending to Windows Explorer Shell context menu will add all your custom application entries to Windows Explorer Shell context menu. This .Net component , C++ and Visual Basic .NET support include detailed C# and VB.NET samples, tutorials , user-friendly manuals and support all you may need to add your entries to Explorer context menu :

  • Add items to Windows Explorer Shell context menu to be shown on any Windows operating system (all OS are supported – Windows XP, Vista, x64 of all types , etc.)
  • Add items to Windows Explorer Shell context menu to be shown in any way - with your custom caption and your custom icon, as separator or sub-menu
  • Add items of any types to Windows Explorer Shell context menu to be shown for all files or shown only for computer files of particular type (for example, only for .DOC , .MP3,.WMA,.AAC , .AVI media files)
  • Add your program items to Explorer context menu, sub-menus, sub-sub-menus, sub-menus of unlimited depth and even more


Windows Explorer Shell Context Menu - is a .Net framework component that support all you may need to add your program items to the Windows Explorer Shell context menu - in a fast and a very easy way. Add your program entries to Explorer context menu right now – add items to context menu fast , easy and exactly as you prefere :

 Add an item To the Windows Explorer Shell Context Menus in a very easy way with Explorer Shell Context Menu

 

This sample XML code help you to understand how to add items to Windows Explorer Shell context menu using .Net, C# and VB.NET in Windows 95 / Windows 98 (not on XP, Vista, x64 - 64-bit Windows), to add items to Windows Explorer Shell context menu you should use, according to Microsoft guidelines, appropriate .Net component - Windows Explorer Shell Context Menu.

<extension
      id="com.ibm.mq.explorer.sample.simple.object1"
      name="Object1"
      point="org.eclipse.ui.popupMenus">
    <objectContribution
          objectClass="com.ibm.mq.explorer.ui.extensions.MQExtObject"
          id="com.ibm.mq.explorer.sample.simple.obj1">
        <visibility>
            <and>
                <pluginState
                  value="activated"
                  id="com.ibm.mq.explorer.ui">
                </pluginState>
                <objectClass
                  name="com.ibm.mq.explorer.ui.extensions.MQExtObject">
                </objectClass>
                <objectState
                  name="PluginEnabled"
                  value="com.ibm.mq.explorer.sample.simple">
                </objectState>
            </and>
        </visibility>
        <action
          label="Simple: Sample action on any MQExtObject"
          class="com.ibm.mq.explorer.sample.simple.MenuActions"
          menubarPath="additions"
          id="com.ibm.mq.explorer.sample.simple.obj.action1">
        </action>
    </objectContribution>
</extension>

Additional context menu items are added using the Eclipse extension point org.eclipse.ui.popupMenus. The <visibility> attribute in the above extract contains the elements that control the conditions under which the context menu item is displayed. These conditions include tests on the plug-in state, the type of object, and the state of the object. For example, a content menu item can be displayed for local queues only, or for remote queue managers only.