public class

NCSRemoveRecipient

extends ContextMenu.DefaultContextMenuItemBuilder
java.lang.Object
   ↳ com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
     ↳ com.microstrategy.web.app.transforms.contextmenus.NCSRemoveRecipient

Summary

Public Constructors
NCSRemoveRecipient(Shortcut definition)
Public Methods
ContextMenuItem createItem(TransformContext context)
Creates and populates a ContextMenuItem based on the information in the Shortcut used as defintion.
boolean isItemAvailable(TransformContext context)

Returns true if the underlying Shortcut used as definition is available (based on the features defined on the <shortcut> xml.

[Expand]
Inherited Methods
From class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
From class java.lang.Object
From interface com.microstrategy.web.app.gui.ContextMenuItemBuilder

Public Constructors

public NCSRemoveRecipient (Shortcut definition)

Public Methods

public ContextMenuItem createItem (TransformContext context)

Creates and populates a ContextMenuItem based on the information in the Shortcut used as defintion.

Parameters
context TransformContext with context information.
Returns
  • a new instance of a ContextMenuItem.

public boolean isItemAvailable (TransformContext context)

Returns true if the underlying Shortcut used as definition is available (based on the features defined on the <shortcut> xml.

If this method returns false the context-menu-item should not be included as part of the available options in the menu.

Parameters
context TransformContext with context information.
Returns
  • true if the context-menu-item is available and should be included.