Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.view
Class SystemViewMenuListener

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.view.SystemViewMenuListener

public class SystemViewMenuListener
extends Object

A class that listens for menu show events for the purpose of applying mnemonics to the menu items.


Field Summary
protected  boolean armListeners
           
static String Copyright
           
protected  boolean doOnce
           
protected  Mnemonics m
           
protected  boolean menuListenerAdded
           
protected  boolean menuMnemonicsAdded
           
protected  ISystemMessageLine msgLine
           
 
Constructor Summary
SystemViewMenuListener()
          Default constructor
SystemViewMenuListener(boolean doOnce)
          Constructor for a persistent menu (vs a popup that's fresh each time)
 
Method Summary
 void menuAboutToShow(IMenuManager menu)
          Called when the context menu is about to open.
 void menuHidden(MenuEvent event)
          Menu hidden
 void menuShown(MenuEvent event)
          Menu shown
 void setShowToolTipText(boolean set, ISystemMessageLine msgLine)
          Enable tooltip text for the menu items too?
 void widgetArmed(ArmEvent event)
          Menu item is currently selected by user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

menuListenerAdded

protected boolean menuListenerAdded

menuMnemonicsAdded

protected boolean menuMnemonicsAdded

doOnce

protected boolean doOnce

armListeners

protected boolean armListeners

m

protected Mnemonics m

msgLine

protected ISystemMessageLine msgLine
Constructor Detail

SystemViewMenuListener

public SystemViewMenuListener()
Default constructor


SystemViewMenuListener

public SystemViewMenuListener(boolean doOnce)
Constructor for a persistent menu (vs a popup that's fresh each time)

Method Detail

setShowToolTipText

public void setShowToolTipText(boolean set,
                               ISystemMessageLine msgLine)
Enable tooltip text for the menu items too? Requires a message line to display the text on.


menuAboutToShow

public void menuAboutToShow(IMenuManager menu)
Called when the context menu is about to open.


menuHidden

public void menuHidden(MenuEvent event)
Menu hidden


menuShown

public void menuShown(MenuEvent event)
Menu shown


widgetArmed

public void widgetArmed(ArmEvent event)
Menu item is currently selected by user. Try to show tooltip text.


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.