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 classReportCellHyperLinkNavigation.AbstractHyperLinkNavigationContextMenuBuilderAbstract base implementation of theReportCellDrill.DrillContextMenuBuilderclass.protected static interfaceReportCellHyperLinkNavigation.HyperLinkNavigationContextMenuBuilderHelper builder interface that allows generating the different drill path options for the current cell that shall be displayed to the user.protected static classReportCellHyperLinkNavigation.InvalidHyperLinkNavigationContextMenuBuilder
-
Constructor Summary
Constructors Constructor Description ReportCellHyperLinkNavigation(Shortcut definition)Class constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextMenuItemcreateItem(TransformContext context)Creates and populates aContextMenuItembased on the information in theShortcutused as its defintion, as well as the logic included on this builder instance.ContextMenugenerateSubMenu(TransformContext context)Get the submenu that will display the different sub-menu options to the user.protected ComposedContextMenuBuildergetComposedContextMenuBuilder(TransformContext context)Get an instance ofComposedContextMenuBuilderthat will help obtaining the different sub-menu options that shall be presented to the user.protected booleanisActionEnabled(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 aContextMenuItembased on the information in theShortcutused as its defintion, as well as the logic included on this builder instance.- Specified by:
createItemin interfaceContextMenuItemBuilder- Overrides:
createItemin classAbstractReportCellComposedContextMenuItemBuilder- Parameters:
context-TransformContextinitialized instance with the information on where this option will be used- Returns:
- a new instance of a
ContextMenuIteminitialized with the option information to present to the user.
-
generateSubMenu
public ContextMenu generateSubMenu(TransformContext context)
Description copied from class:AbstractReportCellComposedContextMenuItemBuilderGet the submenu that will display the different sub-menu options to the user.- Overrides:
generateSubMenuin classAbstractReportCellComposedContextMenuItemBuilder- Parameters:
context-TransformContextinitialized instance with the information on where this option will be used- Returns:
ContextMenuinstance initialized with all the options that can be presented to the user.
-
getComposedContextMenuBuilder
protected ComposedContextMenuBuilder getComposedContextMenuBuilder(TransformContext context)
Description copied from class:AbstractReportCellComposedContextMenuItemBuilderGet an instance ofComposedContextMenuBuilderthat will help obtaining the different sub-menu options that shall be presented to the user.- Specified by:
getComposedContextMenuBuilderin classAbstractReportCellComposedContextMenuItemBuilder- Parameters:
context-TransformContextinitialized instance with the information on where this option will be used- Returns:
ComposedContextMenuBuilderinitialized instance. method provides theContextMenuwith the different attribute forms available. Returns an instance of (InvalidComposedContextMenuBuilderif not supported.
-
isActionEnabled
protected boolean isActionEnabled(TransformContext context)
Description copied from class:AbstractReportCellContextMenuItemBuilderCalled byAbstractReportCellContextMenuItemBuilder.isItemAvailable(com.microstrategy.web.app.transforms.TransformContext), indicates the abstract class if the corresponding action of this item is available.- Specified by:
isActionEnabledin classAbstractReportCellContextMenuItemBuilder- Parameters:
context-TransformContextinitialized 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.
-
-