Extends the standard menu bar item and mixes in
filtering capabilities that allow the
button to only be shown when Cloud Synchronization is currently enabled for the current
parent node. This behaviour can be inverted (i.e. to only show the button when syncronization
is not enabled) by setting the "invertFilter" attribute to true.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Mixes In
- alfresco/menus/_AlfDisplayFilterMixin
- module:alfresco/documentlibrary/_AlfDocumentListTopicMixin
Members
-
invertFilter :boolean
-
This can be set to "true" to hide the button when the Cloud sync is NOT enabled.
Type:
- boolean
- Default Value:
- false
- Source:
Methods
-
filter(payload)
-
Hides the button when Cloud sync is enabled.
Parameters:
Name Type Description payload
object The payload published on the filter topic -
postCreate()
-
Extends the superclass function to subscribe to the metadataChangeTopic