# XBEditor - Manual

XBEditor is tool for visualization and editation of files encoded using XBUP Protocol. Editor allows to perform set of operations with files on various levels and in various modes including tree view, text view or hexadecimal view.

Application is currently in early development state. It is intended as test application for document structure manipulation and to try out design principles of the protocol prototype implementation.

## Application's Look

Screenshot of XBEditor version 0.2.1:

## Features

This application is used for prove-of-concept testing of XBUP protocol and is generally not production ready.

- Show tree structure of the document (partial)
- Allow to add/edit/remove blocks (partial)
- Identify block types and display their definitions (partial)
- Allow to edit blocks in binary form (partial)
- Allow to edit blocks in text form with support for multiple syntaxes (TODO)
- Support for data transformations (TODO)
- Support for catalogs browsing and editing (partial)
- Support for service connection (TODO)
- Support for plugins for viewers/editors (partial)
- Support for clipboard handling (partial)
- Support for undo-redo (partial)
- Support for drag&drop (TODO)
- Include sample files (partial)

## Basic Operations

Main menu has following items:

- File - Basic work with active file like open/save
- Edit - Editing operations and clipboard functions
- View - View mode and property panel, toolbar and statusbar visibility setting
- Tools - Catalog browser
- Options - Applications settings and various preferences
- Help - Off-line and on-line help and about box

## Basic Operations

Editor provides following basic functionality:

- Work in tree mode, text mode or hexadecimal mode - text mode is experimental and changes won't reflect in document update
- Connection to running XBService or update from web catalog
- Adding new node - only few basic block types is currently supported
- Editing existing node - You can edit list of numeric attributes or panel plugin is loaded if available, property editor is currently limited to read-only basic preview
- Deleting node
- Support for undo operations
- Support for work with clipboard
- Basic drag and drop support
- Simple browser for catalog of block types
- Some sample files
- Support for loading icons and plugins for specific nodes and block types
- Property panel showing block type name and description

## Limitations

- Only tree operations are currently supported
- Only numbers up to unsigned long supported
- No support for conversions/transformations
- No support for nodes reordering
- No support for find/replace/goto in tree and hex mode