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
protected class CmsListManager.DialogContext extends CmsFileTableDialogContext
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
Constructors Constructor Description DialogContext(java.lang.String appId, I_CmsDialogContext.ContextType contextType, CmsFileTable fileTable, java.util.List<CmsResource> resources)
Constructor.
-
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.java.util.List<com.vaadin.v7.data.Item>
getSelectedItems()
Returns the selected table items.void
setSelectedItems(java.util.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 Detail
-
DialogContext
public DialogContext(java.lang.String appId, I_CmsDialogContext.ContextType contextType, CmsFileTable fileTable, java.util.List<CmsResource> resources)
Constructor.- Parameters:
appId
- the app idcontextType
- the context typefileTable
- the file table instanceresources
- the list of selected resources
-
-
Method Detail
-
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:
CmsFileTableDialogContext.finish(java.util.Collection)
-
getSelectedItems
public java.util.List<com.vaadin.v7.data.Item> getSelectedItems()
Returns the selected table items.- Returns:
- the selected table items
-
setSelectedItems
public void setSelectedItems(java.util.List<com.vaadin.v7.data.Item> items)
Sets the table items.- Parameters:
items
- the table items
-
-