程序包 | 说明 |
---|---|
org.opencms.workplace.explorer.menu |
Contains the functions that generate the Workplace "Explorer" context menu entries.
|
限定符和类型 | 类和说明 |
---|---|
class |
A_CmsMenuItemRule
Base implementation of the menu item rule.
|
class |
CmsMirActiveNonDeleted
Defines a menu item rule that sets the visibility to active for all possible project and resource states
except for deleted resources, for them the visibility will be inactive.
|
class |
CmsMirAlwaysActive
Defines a menu item rule that sets the visibility to active for all possible project and resource states.
|
class |
CmsMirAlwaysInvisible
Defines a menu item rule that sets the visibility to invsible for all possible project and resource states.
|
class |
CmsMirContainerPageActive
Defines a menu item rule that sets the visibility to active
if the current resource is opened via the container page editor.
|
class |
CmsMirContainerPageActiveAndFileAvailable
A menu item rule which checks whether the file given by the 'filename' attribute in the CmsExplorerContextMenuItem's
parameters (after macro expansion) exists and is writable by the current user.
|
class |
CmsMirContainerpageInvisible
Defines a menu item rule that sets the visibility to invisible
if the current resource is opened via the container page.
|
class |
CmsMirDirectPublish
Defines a menu item rule that sets the visibility to active
if the current resource can be directly published by the current user.
|
class |
CmsMirEditControlcode
Defines a menu item rule that sets the visibility for the "Edit controlcode" context menu entry,
depending on the project and lock state of the resource.
|
class |
CmsMirEditProviderActive
Menu item rule which is only active if the current context is the GWT edit provider.
|
class |
CmsMirExplorerInvisible
Defines a menu item rule that sets the visibility to invisible
if the current resource is opened via the container page.
|
class |
CmsMirMultiDirPublishStandard
Defines a menu item rule for the multi context menu that checks that the parent folder not new is.
|
class |
CmsMirMultiStandard
Defines a menu item rule for the multi context menu that sets the visibility to active in the offline projects
and to inactive in the online project.
|
class |
CmsMirNonContainerpageInvisible
Menu item rule which hides a menu entry if the menu is not being built from a container page context.
|
class |
CmsMirOtherSiteInactive
Menu item rule for deactivating options for resources in a different real site.
|
class |
CmsMirPrOnlineActive
Defines a menu item rule that sets the visibility to active if the current project is the Online project.
|
class |
CmsMirPrOnlineInactive
Defines a menu item rule that sets the visibility to inactive if the current project is the Online project.
|
class |
CmsMirPrOnlineInvisible
Defines a menu item rule that sets the visibility to invisible if the current project is the Online project.
|
class |
CmsMirPrOtherActive
Defines a menu item rule that sets the visibility to active if the resource is not part of the current project.
|
class |
CmsMirPrOtherInactive
Defines a menu item rule that sets the visibility to inactive if the resource is not part of the current project.
|
class |
CmsMirPrOtherInvisible
Defines a menu item rule that sets the visibility to invisible if the resource is not part of the current project.
|
class |
CmsMirPrSameLockedActive
Defines a menu item rule that sets the visibility to active
if the current resource is locked by the current user.
|
class |
CmsMirPrSameLockedActiveChangedAl
Defines a menu item rule that sets the visibility to active if the current resource is changed
and locked by the current user or the autolock feature is enabled.
|
class |
CmsMirPrSameLockedActiveDeletedAl
Defines a menu item rule that sets the visibility to active if the current resource is deleted
and locked by the current user or the autolock feature is enabled.
|
class |
CmsMirPrSameLockedActiveNotDeletedAl
Defines a menu item rule that sets the visibility to active if the current resource is not deleted or inactive
if the current resource is deleted and locked by the current user.
|
class |
CmsMirPrSameLockedActiveNotDeletedAlPermW
Defines a menu item rule that sets the visibility to active if the current resource is not deleted or inactive
if the current resource is deleted and locked by the current user.
|
class |
CmsMirPrSameLockedInactiveMovedAl
Defines a menu item rule that sets the visibility to active if the current resource is changed
and locked by the current user or the autolock feature is enabled.
|
class |
CmsMirPrSameLockedInvisible
Defines a menu item rule that sets the visibility to invisible
if the current resource is locked by the current user.
|
class |
CmsMirPrSameOtherlockActive
Defines a menu item rule that sets the visibility to active
if the current resource is not exclusively locked by the current user.
|
class |
CmsMirPrSameOtherlockActiveNoPublish
Defines a menu item rule that sets the visibility to active
if the current resource is not exclusively locked by the current user and no publish lock is set.
|
class |
CmsMirPrSameOtherlockInvisible
Defines a menu item rule that sets the visibility to inactive
if the current resource is not exclusively locked by the current user.
|
class |
CmsMirPrSameUnlockedActive
Defines a menu item rule that sets the visibility to active if the current resource is unlocked in the same project.
|
class |
CmsMirPrSameUnlockedActiveDeletedNoAl
Defines a menu item rule that sets the visibility to active if the current resource is unlocked, deleted
and the auto lock feature is disabled.
|
class |
CmsMirPrSameUnlockedActiveNotDeletedNoAl
Defines a menu item rule that sets the visibility to active if the current resource is unlocked
and the resource is not deleted.
|
class |
CmsMirPrSameUnlockedActiveUnchanged
Defines a menu item rule that sets the visibility to active if the current resource is unlocked
and the resource is new, changed or deleted.
|
class |
CmsMirPrSameUnlockedInactiveNoAl
Defines a menu item rule that sets the visibility to inactive if the current resource is unlocked and the auto lock
feature is disabled.
|
class |
CmsMirPrSameUnlockedInactiveNotDeletedNoAl
Defines a menu item rule that sets the visibility to inactive if the current resource is unlocked and not deleted
or to invisible if the resource is deleted.
|
class |
CmsMirPrSameUnlockedInvisible
Defines a menu item rule that sets the visibility to invisible if the current resource is unlocked.
|
class |
CmsMirShowSiblings
Defines a menu item rule that sets the visibility to active for all resources with siblings,
for resources without siblings the visibility will be inactive.
|
class |
CmsMirSitemapActive
Defines a menu item rule that sets the visibility to active
if the current resource is opened via the sitemap editor.
|
class |
CmsMirSitemapInvisible
Defines a menu item rule that sets the visibility to invisible
if the current resource is opened via the sitemap.
|
class |
CmsMirSubStandard
Defines a menu item rule for the sub menu generation that checks the visibility of the sub items to show.
|
限定符和类型 | 方法和说明 |
---|---|
I_CmsMenuItemRule |
CmsMenuRule.getMatchingRule(CmsObject cms,
CmsResourceUtil[] resourceUtil)
Returns the first matching rule for the resource to create the context menu for.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<I_CmsMenuItemRule> |
CmsMenuRule.getMenuItemRules()
Returns the menu item rules class instances.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsMenuRule.addMenuItemRule(I_CmsMenuItemRule menuItemRule)
Adds a single menu item rule to the list of rules.
|
CmsMenuItemVisibilityMode |
I_CmsMenuItemRule.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
I_CmsMenuItemRule[] rule)
Returns the visibility for the menu item, depending on the resource utilities and menu item rules.
|
CmsMenuItemVisibilityMode |
CmsMirSubStandard.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
I_CmsMenuItemRule[] rule) |
CmsMenuItemVisibilityMode |
A_CmsMenuItemRule.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
I_CmsMenuItemRule[] rule) |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsMenuRule.setMenuItemRules(java.util.List<I_CmsMenuItemRule> menuItemRules)
Sets the menu item rules class instances.
|