Class CmsToolbarClipboardView
java.lang.Object
org.opencms.ade.sitemap.client.toolbar.CmsToolbarClipboardView
Sitemap toolbar clipboard view.
- Since:
- 8.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classThe deleted item widget. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CmsToolbarClipboardButtonThe clipboard toolbar button. -
Constructor Summary
ConstructorsConstructorDescriptionCmsToolbarClipboardView(CmsToolbarClipboardButton clipboardButton, CmsSitemapController controller) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeleted(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry) Adds an deleted entry.voidaddModified(org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry, String previousPath) Adds a modified entry.voidClears the deleted list.voidClears 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.voidremoveDeleted(String entryId) Removes an entry from the deleted list.voidremoveModified(String entryId) Removes an entry from the modified list.protected voidupdateContent(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