Class TextHyperLinkNavigation
- java.lang.Object
 - 
- com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
 - 
- com.microstrategy.web.app.transforms.contextmenus.TextHyperLinkNavigation
 
 
 
- 
- All Implemented Interfaces:
 ContextMenuItemBuilder
public class TextHyperLinkNavigation extends ContextMenu.DefaultContextMenuItemBuilder
This class is used by Microstrategy Web as a base class for those used to populate drill context menus for RWDs.
New context-menus-builders can be created simply by extending this class and implementing/overriding these methods:
- createItem(): The default method that creates the context-menu item.
 - isActionEnabled(): To indicate this class if the specific action associated with this item is available.
 
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description TextHyperLinkNavigation(Shortcut definition) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextMenuItemcreateItem(TransformContext context)Creates and populates a ContextMenuItem based on the information in theShortcutused as defintion.protected RWLayoutTransformgetTransform(TransformContext context)Helper method to retrieve the RWLayoutTransform from the context.protected booleanisActionEnabled(TransformContext context)Indicates the abstract class if the specific action of this item is available.- 
Methods inherited from class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
createItem, getDefinition, getItemKey, getScript, isItemAvailable 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TextHyperLinkNavigation
public TextHyperLinkNavigation(Shortcut definition)
 
 - 
 
- 
Method Detail
- 
getTransform
protected RWLayoutTransform getTransform(TransformContext context)
Helper method to retrieve the RWLayoutTransform from the context. 
- 
createItem
public ContextMenuItem createItem(TransformContext context)
Description copied from class:ContextMenu.DefaultContextMenuItemBuilderCreates and populates a ContextMenuItem based on the information in theShortcutused as defintion.- Specified by:
 createItemin interfaceContextMenuItemBuilder- Overrides:
 createItemin classContextMenu.DefaultContextMenuItemBuilder- Parameters:
 context- TransformContext with context information.- Returns:
 - a new instance of a 
ContextMenuItem. 
 
- 
isActionEnabled
protected boolean isActionEnabled(TransformContext context)
Indicates the abstract class if the specific action of this item is available. 
 - 
 
 -