public class CmsFileTableDialogContext extends A_CmsDialogContext implements I_CmsEditPropertyContext
I_CmsDialogContext.ContextTypem_window| Constructor and Description |
|---|
CmsFileTableDialogContext(java.lang.String appId,
I_CmsDialogContext.ContextType contextType,
CmsFileTable fileTable,
java.util.List<CmsResource> resources)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
editProperty(java.lang.Object propertyId)
Start the editing process.
|
void |
finish(CmsProject project,
java.lang.String siteRoot)
Signals that the dialog has finished.
|
void |
finish(java.util.Collection<CmsUUID> ids)
Signals that the dialog has finished.
|
void |
focus(CmsUUID cmsUUID)
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.
|
boolean |
isPropertyEditable(java.lang.Object propertyId)
Checks whether the given property is editable.
|
void |
setEditableProperties(java.util.Collection<CmsResourceTableProperty> editableProperties)
Sets the in line editable properties.
|
void |
updateUserInfo()
Called when the user info was changed.
|
closeWindow, error, getAppId, getCms, getContextType, getResources, navigateTo, onViewChange, reload, setWindow, start, startpublic CmsFileTableDialogContext(java.lang.String appId, I_CmsDialogContext.ContextType contextType, CmsFileTable fileTable, java.util.List<CmsResource> resources)
appId - the app idcontextType - the context typefileTable - the file table instanceresources - the list of selected resourcespublic void editProperty(java.lang.Object propertyId)
I_CmsEditPropertyContexteditProperty in interface I_CmsEditPropertyContextpropertyId - the property to editI_CmsEditPropertyContext.editProperty(java.lang.Object)public void finish(CmsProject project, java.lang.String siteRoot)
I_CmsDialogContextCall when current project and or site have been changed.
finish in interface I_CmsDialogContextfinish in class A_CmsDialogContextproject - changed projectsiteRoot - changed site rootA_CmsDialogContext.finish(org.opencms.file.CmsProject, java.lang.String)public void finish(java.util.Collection<CmsUUID> ids)
I_CmsDialogContextfinish in interface I_CmsDialogContextfinish in class A_CmsDialogContextids - the list of structure ids of changed resourcesI_CmsDialogContext.finish(java.util.Collection)public void focus(CmsUUID cmsUUID)
I_CmsDialogContextfocus in interface I_CmsDialogContextcmsUUID - the structure id of a resourceI_CmsDialogContext.focus(org.opencms.util.CmsUUID)public java.util.List<CmsUUID> getAllStructureIdsInView()
I_CmsDialogContextgetAllStructureIdsInView in interface I_CmsDialogContextI_CmsDialogContext.getAllStructureIdsInView()public boolean isPropertyEditable(java.lang.Object propertyId)
I_CmsEditPropertyContextisPropertyEditable in interface I_CmsEditPropertyContextpropertyId - the property idtrue if the given property is editableI_CmsEditPropertyContext.isPropertyEditable(java.lang.Object)public void setEditableProperties(java.util.Collection<CmsResourceTableProperty> editableProperties)
editableProperties - the in line editable propertiespublic void updateUserInfo()
I_CmsDialogContextupdateUserInfo in interface I_CmsDialogContextI_CmsDialogContext.updateUserInfo()