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 ContextMenuItem
createItem(TransformContext context)
Creates the item and sets its javascript to submit the corresponding event using the iFrame.protected WebEvent
getEvent(TransformContext context)
Provides the abstract class with the corresponding event to execution with this item.protected java.lang.String
getJSCode(TransformContext context)
Returns the javascript code to use with this context-menu-itemprotected boolean
isActionEnabled(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:AbstractFolderContextMenuItemBuilder
Indicates the abstract class if the corresponding action of this item is available.- Specified by:
isActionEnabled
in classAbstractFolderContextMenuItemBuilder
-
createItem
public ContextMenuItem createItem(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilder
Creates the item and sets its javascript to submit the corresponding event using the iFrame.- Specified by:
createItem
in interfaceContextMenuItemBuilder
- Overrides:
createItem
in classAbstractFolderContextMenuItemBuilder
- Parameters:
context
- TransformContext with context information.- Returns:
- a new instance of a
ContextMenuItem
.
-
getEvent
protected WebEvent getEvent(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilder
Provides the abstract class with the corresponding event to execution with this item.- Overrides:
getEvent
in classFolderSimpleAction
-
getJSCode
protected java.lang.String getJSCode(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilder
Returns the javascript code to use with this context-menu-item- Overrides:
getJSCode
in classAbstractFolderContextMenuItemBuilder
-
-