Package org.opencms.ui.components
Class CmsFileTableDialogContext
java.lang.Object
org.opencms.ui.A_CmsDialogContext
org.opencms.ui.components.CmsFileTableDialogContext
- All Implemented Interfaces:
I_CmsDialogContext,I_CmsEditPropertyContext
- Direct Known Subclasses:
CmsExplorerDialogContext,CmsListManager.DialogContext
public class CmsFileTableDialogContext
extends A_CmsDialogContext
implements I_CmsEditPropertyContext
The file table dialog context.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opencms.ui.I_CmsDialogContext
I_CmsDialogContext.ContextType -
Field Summary
FieldsFields inherited from class org.opencms.ui.A_CmsDialogContext
m_windowFields inherited from interface org.opencms.ui.I_CmsDialogContext
ATTR_SITEMAP_CONFIG_RESOURCE -
Constructor Summary
ConstructorsConstructorDescriptionCmsFileTableDialogContext(String appId, I_CmsDialogContext.ContextType contextType, CmsFileTable fileTable, List<CmsResource> resources) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoideditProperty(Object propertyId) Start the editing process.voidfinish(Collection<CmsUUID> ids) Signals that the dialog has finished.voidfinish(CmsProject project, String siteRoot) Signals that the dialog has finished.voidTell the system that the resource with the given id should be shown somehow.Gets a list of structure ids of all visible resources, not just the ones selected for the dialog.booleanisPropertyEditable(Object propertyId) Checks whether the given property is editable.voidsetEditableProperties(Collection<CmsResourceTableProperty> editableProperties) Sets the in line editable properties.voidCalled when the user info was changed.Methods inherited from class org.opencms.ui.A_CmsDialogContext
closeWindow, error, getAppId, getCms, getContextType, getResources, getWindow, navigateTo, onViewChange, reload, setWindow, start, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.ui.I_CmsDialogContext
getParameters
-
Field Details
-
m_fileTable
The file table instance.
-
-
Constructor Details
-
CmsFileTableDialogContext
public CmsFileTableDialogContext(String appId, I_CmsDialogContext.ContextType contextType, CmsFileTable fileTable, List<CmsResource> resources) Creates a new instance.- Parameters:
appId- the app idcontextType- the context typefileTable- the file table instanceresources- the list of selected resources
-
-
Method Details
-
editProperty
Description copied from interface:I_CmsEditPropertyContextStart the editing process.- Specified by:
editPropertyin interfaceI_CmsEditPropertyContext- Parameters:
propertyId- the property to edit- See Also:
-
finish
Description copied from interface:I_CmsDialogContextSignals that the dialog has finished.Call when current project and or site have been changed.
- Specified by:
finishin interfaceI_CmsDialogContext- Overrides:
finishin classA_CmsDialogContext- Parameters:
project- changed projectsiteRoot- changed site root- See Also:
-
finish
Description copied from interface:I_CmsDialogContextSignals that the dialog has finished.- Specified by:
finishin interfaceI_CmsDialogContext- Overrides:
finishin classA_CmsDialogContext- Parameters:
ids- the list of structure ids of changed resources- See Also:
-
focus
Description copied from interface:I_CmsDialogContextTell the system that the resource with the given id should be shown somehow.- Specified by:
focusin interfaceI_CmsDialogContext- Parameters:
cmsUUID- the structure id of a resource- See Also:
-
getAllStructureIdsInView
Description copied from interface:I_CmsDialogContextGets a list of structure ids of all visible resources, not just the ones selected for the dialog.- Specified by:
getAllStructureIdsInViewin interfaceI_CmsDialogContext- Returns:
- the structure ids of all the resources in the current view
- See Also:
-
isPropertyEditable
Description copied from interface:I_CmsEditPropertyContextChecks whether the given property is editable.- Specified by:
isPropertyEditablein interfaceI_CmsEditPropertyContext- Parameters:
propertyId- the property id- Returns:
trueif the given property is editable- See Also:
-
setEditableProperties
Sets the in line editable properties.- Parameters:
editableProperties- the in line editable properties
-
updateUserInfo
Description copied from interface:I_CmsDialogContextCalled when the user info was changed.- Specified by:
updateUserInfoin interfaceI_CmsDialogContext- See Also:
-