public class

RWDrill

extends ContextMenu.DefaultContextMenuItemBuilder
java.lang.Object
   ↳ com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
     ↳ com.microstrategy.web.app.transforms.contextmenus.RWDrill

Class Overview

This class is used by Microstrategy Web as a base class for those used to populate drill context menus for RWDs.

New context-menus-builders can be created simply by extending this class and implementing/overriding these methods:

  1. createItem(): The default method that creates the context-menu item.
  2. isActionEnabled(): To indicate this class if the specific action associated with this item is available.

Summary

Public Constructors
RWDrill(Shortcut definition)
Public Methods
ContextMenuItem createItem(TransformContext context)
Creates and populates a ContextMenuItem based on the information in the Shortcut used as defintion.
Protected Methods
RWLayoutTransform getTransform(TransformContext context)
Helper method to retrieve the RWLayoutTransform from the context.
boolean isActionEnabled(TransformContext context)
Indicates the abstract class if the specific action of this item is available.
[Expand]
Inherited Methods
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 RWDrill (Shortcut definition)

Public Methods

public ContextMenuItem createItem (TransformContext context)

Creates and populates a ContextMenuItem based on the information in the Shortcut used as defintion.

Parameters
context TransformContext with context information.
Returns
  • a new instance of a ContextMenuItem.

Protected Methods

protected RWLayoutTransform getTransform (TransformContext context)

Helper method to retrieve the RWLayoutTransform from the context.

protected boolean isActionEnabled (TransformContext context)

Indicates the abstract class if the specific action of this item is available.