Class ReportCellHyperLinkNavigation
- java.lang.Object
-
- com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellComposedContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.ReportCellHyperLinkNavigation
-
- All Implemented Interfaces:
ContextMenuItemBuilder
public class ReportCellHyperLinkNavigation extends AbstractReportCellComposedContextMenuItemBuilder
- Since:
- MicroStrategy Web 8.1.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ReportCellHyperLinkNavigation.AbstractHyperLinkNavigationContextMenuBuilder
Abstract base implementation of theReportCellDrill.DrillContextMenuBuilder
class.protected static interface
ReportCellHyperLinkNavigation.HyperLinkNavigationContextMenuBuilder
Helper builder interface that allows generating the different drill path options for the current cell that shall be displayed to the user.protected static class
ReportCellHyperLinkNavigation.InvalidHyperLinkNavigationContextMenuBuilder
-
Constructor Summary
Constructors Constructor Description ReportCellHyperLinkNavigation(Shortcut definition)
Class constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextMenuItem
createItem(TransformContext context)
Creates and populates aContextMenuItem
based on the information in theShortcut
used as its defintion, as well as the logic included on this builder instance.ContextMenu
generateSubMenu(TransformContext context)
Get the submenu that will display the different sub-menu options to the user.protected ComposedContextMenuBuilder
getComposedContextMenuBuilder(TransformContext context)
Get an instance ofComposedContextMenuBuilder
that will help obtaining the different sub-menu options that shall be presented to the user.protected boolean
isActionEnabled(TransformContext context)
Called byAbstractReportCellContextMenuItemBuilder.isItemAvailable(com.microstrategy.web.app.transforms.TransformContext)
, indicates the abstract class if the corresponding action of this item is available.-
Methods inherited from class com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellComposedContextMenuItemBuilder
getJSCode, itemHasSubMenus
-
Methods inherited from class com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellContextMenuItemBuilder
canDefineDerivedElements, getCell, getFormalParameter, getIntValue, getPassThroughMode, getStringValue, getTransform, isFeatureAvailable, isIframeEnabled, isItemAvailable, isRW, isTrue
-
Methods inherited from class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
createItem, getDefinition, getItemKey, getScript
-
-
-
-
Method Detail
-
createItem
public ContextMenuItem createItem(TransformContext context)
Creates and populates aContextMenuItem
based on the information in theShortcut
used as its defintion, as well as the logic included on this builder instance.- Specified by:
createItem
in interfaceContextMenuItemBuilder
- Overrides:
createItem
in classAbstractReportCellComposedContextMenuItemBuilder
- Parameters:
context
-TransformContext
initialized instance with the information on where this option will be used- Returns:
- a new instance of a
ContextMenuItem
initialized with the option information to present to the user.
-
generateSubMenu
public ContextMenu generateSubMenu(TransformContext context)
Description copied from class:AbstractReportCellComposedContextMenuItemBuilder
Get the submenu that will display the different sub-menu options to the user.- Overrides:
generateSubMenu
in classAbstractReportCellComposedContextMenuItemBuilder
- Parameters:
context
-TransformContext
initialized instance with the information on where this option will be used- Returns:
ContextMenu
instance initialized with all the options that can be presented to the user.
-
getComposedContextMenuBuilder
protected ComposedContextMenuBuilder getComposedContextMenuBuilder(TransformContext context)
Description copied from class:AbstractReportCellComposedContextMenuItemBuilder
Get an instance ofComposedContextMenuBuilder
that will help obtaining the different sub-menu options that shall be presented to the user.- Specified by:
getComposedContextMenuBuilder
in classAbstractReportCellComposedContextMenuItemBuilder
- Parameters:
context
-TransformContext
initialized instance with the information on where this option will be used- Returns:
ComposedContextMenuBuilder
initialized instance. method provides theContextMenu
with the different attribute forms available. Returns an instance of (InvalidComposedContextMenuBuilder
if not supported.
-
isActionEnabled
protected boolean isActionEnabled(TransformContext context)
Description copied from class:AbstractReportCellContextMenuItemBuilder
Called byAbstractReportCellContextMenuItemBuilder.isItemAvailable(com.microstrategy.web.app.transforms.TransformContext)
, indicates the abstract class if the corresponding action of this item is available.- Specified by:
isActionEnabled
in classAbstractReportCellContextMenuItemBuilder
- Parameters:
context
-TransformContext
initialized instance with the information on where this option will be used- Returns:
- boolean value indicating if the option should be enabled to the user or not, given the properties available on the context object.
-
-