Package org.opencms.ui.apps.lists
Class CmsListManager.DialogContext
java.lang.Object
org.opencms.ui.A_CmsDialogContext
org.opencms.ui.components.CmsFileTableDialogContext
org.opencms.ui.apps.lists.CmsListManager.DialogContext
- All Implemented Interfaces:
I_CmsDialogContext
,I_CmsEditPropertyContext
- Enclosing class:
- CmsListManager
Extended 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
ConstructorDescriptionDialogContext
(String appId, I_CmsDialogContext.ContextType contextType, CmsFileTable fileTable, List<CmsResource> resources) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
finish
(Collection<CmsUUID> ids) Signals that the dialog has finished.List<com.vaadin.v7.data.Item>
Returns the selected table items.void
setSelectedItems
(List<com.vaadin.v7.data.Item> items) Sets the table items.Methods inherited from class org.opencms.ui.components.CmsFileTableDialogContext
editProperty, finish, focus, getAllStructureIdsInView, isPropertyEditable, setEditableProperties, updateUserInfo
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 Details
-
DialogContext
public DialogContext(String appId, I_CmsDialogContext.ContextType contextType, CmsFileTable fileTable, List<CmsResource> resources) Constructor.- Parameters:
appId
- the app idcontextType
- the context typefileTable
- the file table instanceresources
- the list of selected resources
-
-
Method Details
-
finish
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:
-
getSelectedItems
Returns the selected table items.- Returns:
- the selected table items
-
setSelectedItems
Sets the table items.- Parameters:
items
- the table items
-