Class CMAEditorInterface


  • public class CMAEditorInterface
    extends CMAResource
    This model can be used to control the appearance and usability of ui elements on Contentful.
    • Constructor Detail

      • CMAEditorInterface

        public CMAEditorInterface()
        This method only exists for compatibility reasons.

        You cannot create and upload new editor interfaces to Contentful. Please consider updating an existing one by fetching it first and then using ModuleEditorInterfaces.update(CMAEditorInterface) on it.

    • Method Detail

      • addControl

        public CMAEditorInterface addControl​(CMAEditorInterface.Control control)
        Adds a new control to the list of controls.

        It might create a new list of controls, if no list is created.

        Parameters:
        control - to be added to the list.
        Returns:
        this instance for chaining.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class CMAResource
        Returns:
        a human readable string, representing the object.