Package org.opencms.ui.components
Class CmsToolBar.ToolbarContext
- java.lang.Object
-
- org.opencms.ui.A_CmsDialogContext
-
- org.opencms.ui.components.CmsToolBar.ToolbarContext
-
- All Implemented Interfaces:
I_CmsDialogContext
- Enclosing class:
- CmsToolBar
protected class CmsToolBar.ToolbarContext extends A_CmsDialogContext
Toolbar dialog context.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opencms.ui.I_CmsDialogContext
I_CmsDialogContext.ContextType
-
-
Field Summary
-
Fields inherited from class org.opencms.ui.A_CmsDialogContext
m_window
-
Fields inherited from interface org.opencms.ui.I_CmsDialogContext
ATTR_SITEMAP_CONFIG_RESOURCE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ToolbarContext(java.lang.String appId)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
focus(CmsUUID structureId)
Tell the system that the resource with the given id should be shown somehow.java.util.List<CmsUUID>
getAllStructureIdsInView()
Gets a list of structure ids of all visible resources, not just the ones selected for the dialog.void
updateUserInfo()
Called when the user info was changed.-
Methods inherited from class org.opencms.ui.A_CmsDialogContext
closeWindow, error, finish, finish, getAppId, getCms, getContextType, getResources, getWindow, navigateTo, onViewChange, reload, setWindow, start, start
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opencms.ui.I_CmsDialogContext
getParameters
-
-
-
-
Constructor Detail
-
ToolbarContext
protected ToolbarContext(java.lang.String appId)
Constructor.- Parameters:
appId
- the app id
-
-
Method Detail
-
focus
public void focus(CmsUUID structureId)
Description copied from interface:I_CmsDialogContext
Tell the system that the resource with the given id should be shown somehow.- Parameters:
structureId
- the structure id of a resource- See Also:
I_CmsDialogContext.focus(org.opencms.util.CmsUUID)
-
getAllStructureIdsInView
public java.util.List<CmsUUID> getAllStructureIdsInView()
Description copied from interface:I_CmsDialogContext
Gets a list of structure ids of all visible resources, not just the ones selected for the dialog.- Returns:
- the structure ids of all the resources in the current view
- See Also:
I_CmsDialogContext.getAllStructureIdsInView()
-
updateUserInfo
public void updateUserInfo()
Description copied from interface:I_CmsDialogContext
Called when the user info was changed.- See Also:
I_CmsDialogContext.updateUserInfo()
-
-