Class CmsToolbarClipboardView
java.lang.Object
org.opencms.ade.sitemap.client.toolbar.CmsToolbarClipboardView
Sitemap toolbar clipboard view.
- Since:
- 8.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionfinal class
The deleted item widget. -
Field Summary
Modifier and TypeFieldDescriptionprotected CmsToolbarClipboardButton
The clipboard toolbar button. -
Constructor Summary
ConstructorDescriptionCmsToolbarClipboardView
(CmsToolbarClipboardButton clipboardButton, CmsSitemapController controller) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDeleted
(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry) Adds an deleted entry.void
addModified
(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry, String previousPath) Adds a modified entry.void
Clears the deleted list.void
Clears the modified list.createDeletedItem
(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry) Creates a new deleted list item.createModifiedItem
(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry) Creates a new modified list item.Returns the deleted list.Returns the modified list.void
removeDeleted
(String entryId) Removes an entry from the deleted list.void
removeModified
(String entryId) Removes an entry from the modified list.protected void
updateContent
(org.opencms.ade.sitemap.shared.CmsSitemapClipboardData data) Updates the clip board content.
-
Field Details
-
m_clipboardButton
The clipboard toolbar button.
-
-
Constructor Details
-
CmsToolbarClipboardView
public CmsToolbarClipboardView(CmsToolbarClipboardButton clipboardButton, CmsSitemapController controller) Constructor.- Parameters:
clipboardButton
- the clipboard buttoncontroller
- the sitemap controller
-
-
Method Details
-
clearDeleted
Clears the deleted list. -
clearModified
Clears the modified list. -
getDeleted
Returns the deleted list.- Returns:
- the deleted list
-
getModified
Returns the modified list.- Returns:
- the modified list
-
removeDeleted
Removes an entry from the deleted list.- Parameters:
entryId
- the entry id
-
removeModified
Removes an entry from the modified list.- Parameters:
entryId
- the entry id