com.ibm.mq.explorer.ui.extensions

Class IExplorerNotifyAdapter

  • java.lang.Object
    • com.ibm.mq.explorer.ui.extensions.IExplorerNotifyAdapter
  • All Implemented Interfaces:
    IExplorerNotify


    public class IExplorerNotifyAdapter
    extends java.lang.Object
    implements IExplorerNotify
    IExplorerNotifyAdapter provides null implementations of the IExplorerNotify interface for overriding.
    • Field Detail

      • SCCSID

        public static final java.lang.String SCCSID
        SCCS id - expanded when file is extracted from CMVC
        See Also:
        Constant Field Values
      • COPYRIGHT_NOTICE

        public static final java.lang.String COPYRIGHT_NOTICE
        Copyright notice
        See Also:
        Constant Field Values
    • Constructor Detail

      • IExplorerNotifyAdapter

        public IExplorerNotifyAdapter()
        Constructor
    • Method Detail

      • queueManagerAdded

        public void queueManagerAdded(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a Queue Manager is added to the Explorer
        Specified by:
        queueManagerAdded in interface IExplorerNotify
        Parameters:
        event - event.getOject() specifies the MQQmgrExtObject for the Queue Manager
      • isPreventRemoveQueueManager

        public boolean isPreventRemoveQueueManager(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when the connection to a remote queue manager is about to be removed from the Explorer, the plugin can veto the removal by returning true. It is the plugins responsibility to inform the user that removal has been veto'd. It is the plugins responsibility to ensure that the UI thread is not blocked, and that user feedback is provided as appropriate. Note: this does not apply to the deletion of a local queue manager.
        Specified by:
        isPreventRemoveQueueManager in interface IExplorerNotify
        Parameters:
        event - event.getOject() specifies the MQQmgrExtObject for the Queue Manager
        Returns:
        true to stop removal, false to allow.
      • isPreventDeleteQueueManager

        public boolean isPreventDeleteQueueManager(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a local queue manager is about to be deleted by the Explorer, the plugin can veto the deletion by returning true. It is the plugins responsibility to inform the user that removal has been veto'd. It is the plugins responsibility to ensure that the UI thread is not blocked, and that user feedback is provided as appropriate. This event only applies to deletion via the Explorer, command line deletion may still cause a queue manager to disappear without warning. Note: this does not apply to the removal of a remote queue manager.
        Specified by:
        isPreventDeleteQueueManager in interface IExplorerNotify
        Parameters:
        event - event.getObject() specified the MQQmgrExtObject for the Queue Manager
        Returns:
        true to stop deletion, false to allow.
      • queueManagerRemoved

        public void queueManagerRemoved(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a remote Queue Manager is about to be removed. Once all plugins have returned from this interface call, the remote Queue Manager will be removed from the explorer. This allows plugins to perform any appropriate actions prior to the removal. It is the plugins responsibility to ensure that the UI thread is not blocked, and that user feedback is provided as appropriate.
        Specified by:
        queueManagerRemoved in interface IExplorerNotify
        Parameters:
        event - event.getOject() spcifies the MQQmgrExtObject for the Queue Manager
      • queueManagerShown

        public void queueManagerShown(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a Queue Manager is shown in the Explorer.
        Specified by:
        queueManagerShown in interface IExplorerNotify
        Parameters:
        event - event.getOject() spcifies the MQQmgrExtObject for the Queue Manager
      • queueManagerHidden

        public void queueManagerHidden(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a Queue Manager is hidden from the Explorer.
        Specified by:
        queueManagerHidden in interface IExplorerNotify
        Parameters:
        event - event.getOject() spcifies the MQQmgrExtObject for the Queue Manager
      • viewOpened

        public void viewOpened(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when an Explorer view is opened
        Specified by:
        viewOpened in interface IExplorerNotify
        Parameters:
        event - event.getId() specifies the id of the View that has been opened
      • viewClosed

        public void viewClosed(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when an Explorer view is closed
        Specified by:
        viewClosed in interface IExplorerNotify
        Parameters:
        event - event.getId() specifies the id of the View that has been opened
      • pluginEnabled

        public void pluginEnabled(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a plug-in is enabled on the preferences page.
        Specified by:
        pluginEnabled in interface IExplorerNotify
        Parameters:
        event - event.getId() specifies the id of the plug-in that has been enabled
      • pluginDisabled

        public void pluginDisabled(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a plug-in is disabled on the preferences page.
        Specified by:
        pluginDisabled in interface IExplorerNotify
        Parameters:
        event - event.getId() specifies the id of the plug-in that was disabled
      • queueManagerDeleted

        public void queueManagerDeleted(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a local Queue Manager is about to be deleted. Once all plugins have returned from this interface call, the local Queue Manager will be deleted. This allows plugins to perform any appropriate actions prior to the deletion. It is the plugins responsibility to ensure that the UI thread is not blocked, and that user feedback is provided as appropriate.
        Specified by:
        queueManagerDeleted in interface IExplorerNotify
        Parameters:
        event - event.getOject() spcifies the MQQmgrExtObject for the Queue Manager
      • isPreventStopQueueManager

        public boolean isPreventStopQueueManager(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a local queue manager is about to be stopped by the Explorer, the plugin can veto the stopping by returning true. It is the plugins responsibility to inform the user that removal has been veto'd. It is the plugins responsibility to ensure that the UI thread is not blocked, and that user feedback is provided as appropriate. This event only applies to a queue manager being stopped via the Explorer, command line endmqm may still cause a queue manager to stop without warning.
        Specified by:
        isPreventStopQueueManager in interface IExplorerNotify
        Parameters:
        event - event.getObject() specified the MQQmgrExtObject for the Queue Manager
        Returns:
        true to stop deletion, false to allow.
      • queueManagerStopped

        public void queueManagerStopped(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a local Queue Manager is about to be stopped. Once all plugins have returned from this interface call, the local Queue Manager will be stopped. This allows plugins to perform any appropriate actions prior to the stopping. This event only applies to a queue manager being stopped via the Explorer, command line endmqm may still cause a queue manager to stop without warning. It is the plugins responsibility to ensure that the UI thread is not blocked, and that user feedback is provided as appropriate.
        Specified by:
        queueManagerStopped in interface IExplorerNotify
        Parameters:
        event - event.getOject() spcifies the MQQmgrExtObject for the Queue Manager
      • queueManagerStarted

        public void queueManagerStarted(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when a local Queue Manager is about to be started. Once all plugins have returned from this interface call, the local Queue Manager will be started. This allows plugins to perform any appropriate actions prior to the starting. This event only applies to a queue manager being started via the Explorer, command line strmqm may still cause a queue manager to start without warning. It is the plugins responsibility to ensure that the UI thread is not blocked, and that user feedback is provided as appropriate.
        Specified by:
        queueManagerStarted in interface IExplorerNotify
        Parameters:
        event - event.getOject() spcifies the MQQmgrExtObject for the Queue Manager
      • explorerPreferenceChanged

        public void explorerPreferenceChanged(ExplorerNotifyEvent event)
        Description copied from interface: IExplorerNotify
        Called when an Explorer preference is changed which may effect a plug-in.
        Specified by:
        explorerPreferenceChanged in interface IExplorerNotify
        Parameters:
        event - event.getId() specifies the id of the preference that has changed event.getObject() specifies the new value of the preference