public class

ReportCellSort

extends AbstractReportCellParentMenu
java.lang.Object
   ↳ com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
     ↳ com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellContextMenuItemBuilder
       ↳ com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellParentMenu
         ↳ com.microstrategy.web.app.transforms.contextmenus.ReportCellSort

Class Overview

The ReportCellSort represents a context menu item builder that will hold a sub-menu structure with a list of the options that a user is enabled to access for sorting the current grid cell selected, specified on the context. If no children options are defined on its submenu (lack of privileges, conditions required not met by the current context, etc) the option will automatically be ignored and the final context menu will not display it.

Summary

Public Constructors
ReportCellSort(Shortcut definition)
Class constructor
Protected Methods
boolean isActionEnabled(TransformContext context)
Called by isItemAvailable(TransformContext), indicates the abstract class if the corresponding action of this item is available.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellParentMenu
From class com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellContextMenuItemBuilder
From class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
From class java.lang.Object
From interface com.microstrategy.web.app.gui.ContextMenuItemBuilder

Public Constructors

public ReportCellSort (Shortcut definition)

Class constructor

Parameters
definition Shortcut instance with the base definition of the option

Protected Methods

protected boolean isActionEnabled (TransformContext context)

Called by isItemAvailable(TransformContext), indicates the abstract class if the corresponding action of this item is available.

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.