Class JSONNodeRendererCustomizer

java.lang.Object
ro.sync.exml.workspace.api.node.customizer.XMLNodeRendererCustomizer
ro.sync.ecss.extensions.json.JSONNodeRendererCustomizer
All Implemented Interfaces:
Extension

@API(type=INTERNAL, src=PUBLIC) public class JSONNodeRendererCustomizer extends XMLNodeRendererCustomizer
Class used to customize the way an JSON node is rendered in the UI. A node represents an entry from Author outline, Author bread crumb, Text page outline, content completion proposals window or Elements view.
  • Constructor Details

    • JSONNodeRendererCustomizer

      public JSONNodeRendererCustomizer()
  • Method Details

    • getRenderingInformation

      public BasicRenderingInformation getRenderingInformation(NodeRendererCustomizerContext context)
      Description copied from class: XMLNodeRendererCustomizer
      Get the rendering information (text to render, path of the icon to display in outline, bread crumb or content completion proposals window) for given context.
      Specified by:
      getRenderingInformation in class XMLNodeRendererCustomizer
      Parameters:
      context - The node context(contains information like node name, namespace and attributes).
      Returns:
      The rendering information. If the returned value is null then the default node rendering will be used.
    • getDescription

      public String getDescription()
      Returns:
      The description of the extension.