public class CmsFileTableDialogContext extends A_CmsDialogContext implements I_CmsEditPropertyContext
I_CmsDialogContext.ContextType
m_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, start
public 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_CmsEditPropertyContext
editProperty
in interface I_CmsEditPropertyContext
propertyId
- the property to editI_CmsEditPropertyContext.editProperty(java.lang.Object)
public void finish(CmsProject project, java.lang.String siteRoot)
I_CmsDialogContext
Call when current project and or site have been changed.
finish
in interface I_CmsDialogContext
finish
in class A_CmsDialogContext
project
- changed projectsiteRoot
- changed site rootA_CmsDialogContext.finish(org.opencms.file.CmsProject, java.lang.String)
public void finish(java.util.Collection<CmsUUID> ids)
I_CmsDialogContext
finish
in interface I_CmsDialogContext
finish
in class A_CmsDialogContext
ids
- the list of structure ids of changed resourcesI_CmsDialogContext.finish(java.util.Collection)
public void focus(CmsUUID cmsUUID)
I_CmsDialogContext
focus
in interface I_CmsDialogContext
cmsUUID
- the structure id of a resourceI_CmsDialogContext.focus(org.opencms.util.CmsUUID)
public java.util.List<CmsUUID> getAllStructureIdsInView()
I_CmsDialogContext
getAllStructureIdsInView
in interface I_CmsDialogContext
I_CmsDialogContext.getAllStructureIdsInView()
public boolean isPropertyEditable(java.lang.Object propertyId)
I_CmsEditPropertyContext
isPropertyEditable
in interface I_CmsEditPropertyContext
propertyId
- 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_CmsDialogContext
updateUserInfo
in interface I_CmsDialogContext
I_CmsDialogContext.updateUserInfo()