Class StandardMetadataTree

All Implemented Interfaces:
Styleable, Event­Target, Skinnable

public class StandardMetadataTree extends MetadataTree
A view of Metadata properties organized as a tree table. The content of each row in this tree table is represented by a Tree­Table​.Node. The tree table shows the following columns: This class still supports the Metadata­Tree​.set­Content(Tree­Table) method, but set­Content(Metadata) should be used instead.

Limitations

Since:
1.1
"TODO:"
Add contextual menu for showing a node in the summary pane (we would store in memory the path, including sequence number for multi-values property, and apply it to all opened resources).
  • Constructor Details

    • StandardMetadataTree

      public StandardMetadataTree()
      Creates a new initially empty metadata tree.
    • StandardMetadataTree

      public StandardMetadataTree(MetadataSummary controller)
      Creates a new initially empty metadata tree which will be automatically updated when the given widget shows new metadata. This constructor registers a listener to Metadata­Summary​.metadata­Property which forwards the metadata changes to set­Content(Metadata).
      Parameters:
      controller - the widget to watch, or null if none.
  • Method Details

    • setContent

      public void setContent(Metadata metadata)
      Sets the metadata to show in this tree table. This method gets a Tree­Table view of the given metadata, then delegates to Metadata­Tree​.set­Content(Tree­Table).
      Parameters:
      metadata - the metadata to show in this tree table view, or null if none.