Class ReportGraphLine
- java.lang.Object
-
- com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.ReportGraphLine
-
- All Implemented Interfaces:
ContextMenuItemBuilder
public class ReportGraphLine extends ContextMenu.DefaultContextMenuItemBuilder
- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description ReportGraphLine(Shortcut definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextMenuItem
createItem(TransformContext context)
Creates and populates new instance of aContextMenuItem
the for 'Format' option.protected Transform
getTransform(TransformContext context)
Returns an instance of ReportGraphTransformImpl instance which is the transform associated with Graphsboolean
isItemAvailable(TransformContext context)
Determines if the Line Context Menu Item should be available or not-
Methods inherited from class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
createItem, getDefinition, getItemKey, getScript
-
-
-
-
Constructor Detail
-
ReportGraphLine
public ReportGraphLine(Shortcut definition)
-
-
Method Detail
-
isItemAvailable
public boolean isItemAvailable(TransformContext context)
Determines if the Line Context Menu Item should be available or not- Specified by:
isItemAvailable
in interfaceContextMenuItemBuilder
- Overrides:
isItemAvailable
in classContextMenu.DefaultContextMenuItemBuilder
- Parameters:
context
- TransformContext with context information.- Returns:
true
if the context-menu-item is available and should be included.
-
getTransform
protected Transform getTransform(TransformContext context)
Returns an instance of ReportGraphTransformImpl instance which is the transform associated with Graphs
-
createItem
public ContextMenuItem createItem(TransformContext context)
Creates and populates new instance of aContextMenuItem
the for 'Format' option.- Specified by:
createItem
in interfaceContextMenuItemBuilder
- Overrides:
createItem
in classContextMenu.DefaultContextMenuItemBuilder
- Parameters:
context
- Context Information.- Returns:
- A new
ContextMenuItem
populated to perform the corresponding action.
-
-