You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 36 Next »

Workbench is a view that displays content items in a workspace. It is part of the content app framework, typically defined in the browser subapp. The workbench contains a list of content views. Common view types are tree, list and thumbnail.

Example workbench definition

workbench:
  contentViews:
    #add view definitions
  extensionViews:
    - view:
        $type: thumbnailView
      icon: icon-view-thumbnails
      expandRatio: 1f
  name: wbName

Workbench properties

contentViews

required

Parent node for the content view definitions. Defines how users can view content in the workbench.

Must contain at least one content view. For more information, see Content view definition.

extensionViews

optional

List of extension views configured in the workbench. An extension view class must be configured with ExtensionViewDefinition.

view

required

Actual view to be displayed in the extension panel. Only one extension view can be displayed at a time.

Examples include data analytics view and simple text view.

expandRatio

optional, default is 0

Defines how space is divided in the workbench. A value of 1f means that the extension panel occupies the same amount of space as the content panel.

icon

optionaldefault is icon-analytics-app

CSS class that identifies an icon used on the extension panel. For available names, see Icons.

name

optional, default is workbench

Name of the workbench.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels