Package org.opencms.ui.apps
Class CmsExplorerDialogContext
- java.lang.Object
-
- org.opencms.ui.A_CmsDialogContext
-
- org.opencms.ui.components.CmsFileTableDialogContext
-
- org.opencms.ui.apps.CmsExplorerDialogContext
-
- All Implemented Interfaces:
I_CmsDialogContext
,I_CmsEditPropertyContext
public class CmsExplorerDialogContext extends CmsFileTableDialogContext
Dialog context for the explorer.
-
-
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 Constructor Description CmsExplorerDialogContext(I_CmsDialogContext.ContextType contextType, CmsFileTable fileTable, CmsFileExplorer explorer, java.util.List<CmsResource> resources)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finish(java.util.Collection<CmsUUID> ids)
Signals that the dialog has finished.void
finish(CmsProject project, java.lang.String siteRoot)
Signals that the dialog has finished.void
focus(CmsUUID cmsUUID)
Tell the system that the resource with the given id should be shown somehow.void
updateUserInfo()
Called when the user info was changed.-
Methods inherited from class org.opencms.ui.components.CmsFileTableDialogContext
editProperty, getAllStructureIdsInView, isPropertyEditable, setEditableProperties
-
Methods inherited from class org.opencms.ui.A_CmsDialogContext
closeWindow, error, 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
-
CmsExplorerDialogContext
public CmsExplorerDialogContext(I_CmsDialogContext.ContextType contextType, CmsFileTable fileTable, CmsFileExplorer explorer, java.util.List<CmsResource> resources)
Creates a new instance.- Parameters:
contextType
- the context typefileTable
- the file tableexplorer
- the explorer app instanceresources
- the list of selected resources
-
-
Method Detail
-
finish
public void finish(CmsProject project, java.lang.String siteRoot)
Description copied from interface:I_CmsDialogContext
Signals that the dialog has finished.Call when current project and or site have been changed.
- Specified by:
finish
in interfaceI_CmsDialogContext
- Overrides:
finish
in classCmsFileTableDialogContext
- Parameters:
project
- changed projectsiteRoot
- changed site root- See Also:
A_CmsDialogContext.finish(org.opencms.file.CmsProject, java.lang.String)
-
finish
public void finish(java.util.Collection<CmsUUID> ids)
Description copied from interface:I_CmsDialogContext
Signals that the dialog has finished.- Specified by:
finish
in interfaceI_CmsDialogContext
- Overrides:
finish
in classCmsFileTableDialogContext
- Parameters:
ids
- the list of structure ids of changed resources- See Also:
I_CmsDialogContext.finish(java.util.Collection)
-
focus
public void focus(CmsUUID cmsUUID)
Description copied from interface:I_CmsDialogContext
Tell the system that the resource with the given id should be shown somehow.- Specified by:
focus
in interfaceI_CmsDialogContext
- Overrides:
focus
in classCmsFileTableDialogContext
- Parameters:
cmsUUID
- the structure id of a resource- See Also:
I_CmsDialogContext.focus(org.opencms.util.CmsUUID)
-
updateUserInfo
public void updateUserInfo()
Description copied from interface:I_CmsDialogContext
Called when the user info was changed.- Specified by:
updateUserInfo
in interfaceI_CmsDialogContext
- Overrides:
updateUserInfo
in classCmsFileTableDialogContext
- See Also:
CmsFileTableDialogContext.updateUserInfo()
-
-