Class ReportCellAttributeForms
- 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.ReportCellAttributeForms
-
- All Implemented Interfaces:
ContextMenuItemBuilder
public class ReportCellAttributeForms extends AbstractReportCellComposedContextMenuItemBuilder
TheReportCellAttributeForms
represents a context menu item builder that will generate a sub-menu structure with a list of the options that a user is enabled to access for modifying the different attribute forms that can be viewed for the attribute cell currently selected, specified on the context.- Since:
- MicroStrategy Web 8.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ReportCellAttributeForms.AbstractAttributeFormsContextMenuBuilder
Abstract base implementation of the AttributeFormsContextMenuBuilder interface.protected static interface
ReportCellAttributeForms.AttributeFormsContextMenuBuilder
Helper builder interface that allows generating the different attribute form options for the current cell that shall be displayed to the user.protected static class
ReportCellAttributeForms.InvalidAttributeFormsContextMenuBuilder
Implementation of the AttributeFormsContextMenuBuilder interface for representing a builder instance corresponding to a non-supported context.
-
Constructor Summary
Constructors Constructor Description ReportCellAttributeForms(Shortcut definition)
Class constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ComposedContextMenuBuilder
getComposedContextMenuBuilder(TransformContext context)
Get an instance of ComposedContextMenuBuilder that will help obtaining the different attribute form 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
createItem, generateSubMenu, 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
-
getComposedContextMenuBuilder
protected ComposedContextMenuBuilder getComposedContextMenuBuilder(TransformContext context)
Get an instance of ComposedContextMenuBuilder that will help obtaining the different attribute form 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 with the different attribute forms available.
Returns an instance of (
ReportCellAttributeForms.InvalidAttributeFormsContextMenuBuilder
if not supported.
-
isActionEnabled
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.- 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.
-
-