close

Filter

loading table of contents...

Site Manager Developer Manual / Version 2110

Table Of Contents

5.1.2 View Classes

<Documents>
	<Document type="Article" viewClass="mypackage.MyViewClass">
	.
	.
	.
	</Document>
</Documents>

Example 5.4. Example for the configuration of a document view


Document view classes define the look of the document window of the Site Manager. You can write own document view classes, which must be a subclass of hox.corem.editor.toolkit.document.AbstractDocumentView or hox.corem.editor.generic.GenericDocumentView. The following classes are predefined:

Class

Description

TabbedDocumentView

The class hox.corem.editor.generic.TabbedDocumentView defines a tabbed document view with different tabs. Figure 5.2, “Example of a tabbed document view” shows an example of a tabbed view. The tabs can be configured using the subelement <Tab>. Using the attribute name, a label can be attached to the tab. The properties of a document belonging to a tab can be configured using <Property> as a subelement of <Tab>. For an example, see the description of the element <Tab>. The position of the tabs can be configured using the attribute tabPlacement of the element <Document>. The values top, bottom, left and right are allowed.

Table 5.14. View classes


Example of a tabbed document view

Figure 5.2. Example of a tabbed document view


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.