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
TheReportCellAttributeFormsrepresents 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 classReportCellAttributeForms.AbstractAttributeFormsContextMenuBuilderAbstract base implementation of the AttributeFormsContextMenuBuilder interface.protected static interfaceReportCellAttributeForms.AttributeFormsContextMenuBuilderHelper builder interface that allows generating the different attribute form options for the current cell that shall be displayed to the user.protected static classReportCellAttributeForms.InvalidAttributeFormsContextMenuBuilderImplementation 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 ComposedContextMenuBuildergetComposedContextMenuBuilder(TransformContext context)Get an instance of ComposedContextMenuBuilder that will help obtaining the different attribute form 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
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:
getComposedContextMenuBuilderin classAbstractReportCellComposedContextMenuItemBuilder- Parameters:
context-TransformContextinitialized 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.InvalidAttributeFormsContextMenuBuilderif 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:
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.
-
-