Class FolderEdit
- java.lang.Object
-
- com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.AbstractFolderContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.FolderSimpleAction
-
- com.microstrategy.web.app.transforms.contextmenus.FolderEdit
-
- All Implemented Interfaces:
ContextMenuItemBuilder
public class FolderEdit extends FolderSimpleAction
- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description FolderEdit(Shortcut definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextMenuItemcreateItem(TransformContext context)Creates the item and sets its javascript to submit the corresponding event using the iFrame.protected WebEventgetEvent(TransformContext context)Provides the abstract class with the corresponding event to execution with this item.protected java.lang.StringgetJSCode(TransformContext context)Returns the javascript code to use with this context-menu-itemprotected booleanisActionEnabled(TransformContext context)Indicates the abstract class if the corresponding action of this item is available.-
Methods inherited from class com.microstrategy.web.app.transforms.contextmenus.FolderSimpleAction
getContextMenuFlag, getItemKey, getJSCodeForInvalidSFConfiguration, getParentFolderId, iframeParam, isDDACube, isEmmaCube, isEmmaDICube, isFolder, isOldDICube, isSparkCube
-
Methods inherited from class com.microstrategy.web.app.transforms.contextmenus.AbstractFolderContextMenuItemBuilder
getLinkForMenuItem, getObjectInfo, getTarget, getTransform, isItemAvailable
-
Methods inherited from class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
createItem, getDefinition, getScript
-
-
-
-
Constructor Detail
-
FolderEdit
public FolderEdit(Shortcut definition)
-
-
Method Detail
-
isActionEnabled
protected boolean isActionEnabled(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilderIndicates the abstract class if the corresponding action of this item is available.- Specified by:
isActionEnabledin classAbstractFolderContextMenuItemBuilder
-
createItem
public ContextMenuItem createItem(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilderCreates the item and sets its javascript to submit the corresponding event using the iFrame.- Specified by:
createItemin interfaceContextMenuItemBuilder- Overrides:
createItemin classAbstractFolderContextMenuItemBuilder- Parameters:
context- TransformContext with context information.- Returns:
- a new instance of a
ContextMenuItem.
-
getEvent
protected WebEvent getEvent(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilderProvides the abstract class with the corresponding event to execution with this item.- Overrides:
getEventin classFolderSimpleAction
-
getJSCode
protected java.lang.String getJSCode(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilderReturns the javascript code to use with this context-menu-item- Overrides:
getJSCodein classAbstractFolderContextMenuItemBuilder
-
-