interface IStructureView {
// Properties
readonly ${view}: ${IDocumentView};
${displayHex}: boolean;
${autoRefresh}: boolean;
${synchronizePosition}: boolean;
${showTooltips}: boolean;
// Methods
${bindAsync}(view: ${IDocumentView}, params: ${IBindParams}): Promise<void>;
${unbindAll}(): void;
${unbind}(view: ${IDocumentView}, index: number): void;
${addScheme}(name: string, overwrite: boolean): boolean;
${removeScheme}(name: string): void;
${fieldToSelection}(view: ${IDocumentView}, index: number): void;
${toBookmark}(view: ${IDocumentView}, index: number): void;
${gotoEnd}(view: ${IDocumentView}, index: number): void;
${gotoTypeDefinition}(view: ${IDocumentView}, index: number): void;
${gotoFieldDefinition}(view: ${IDocumentView}, index: number): void;
${gotoValue}(view: ${IDocumentView}, index: number): void;
${setScheme}(view: ${IDocumentView}, name: string): void;
${setValue}(view: ${IDocumentView}, index: number, value: string): void;
${copyQualifiedName}(view: ${IDocumentView}, index: number): void;
${copyValue}(view: ${IDocumentView}, index: number): void;
${copyLine}(view: ${IDocumentView}, index: number): void;
${copyAllAsync}(view: ${IDocumentView}): Promise<void>;
${copyColumnAsync}(view: ${IDocumentView}, index: number): Promise<void>;
${getQualifiedName}(view: ${IDocumentView}, index: number): string;
${getValue}(view: ${IDocumentView}, index: number): string;
${getLine}(view: ${IDocumentView}, index: number): string;
${exportToCsvAsync}(view: ${IDocumentView}, filename: string, overwrite?: boolean): Promise<void>;
${expandAllAsync}(view: ${IDocumentView}): Promise<number>;
${collapseAll}(view: ${IDocumentView}): number;
${expandSubtree}(view: ${IDocumentView}, index: number): number;
${collapseSubtree}(view: ${IDocumentView}, index: number): number;
${expandAsync}(view: ${IDocumentView}, index: number): Promise<number>;
${collapse}(view: ${IDocumentView}, index: number): number;
}
// This interface is not available in managed environment
// This interface is not available in native environment
readonly view: ${IDocumentView};
// This property is not available in managed environment
// This property is not available in native environment
Holds a reference to a current editor window.
displayHex: boolean;
// This property is not available in managed environment
// This property is not available in native environment
Displays values in hexadecimal format if true.
autoRefresh: boolean;
// This property is not available in managed environment
// This property is not available in native environment
If true, bound structures will automatically be refreshed if document data is changed.
synchronizePosition: boolean;
// This property is not available in managed environment
// This property is not available in native environment
Synchronize Position between Structure Viewer and document view.
showTooltips: boolean;
// This property is not available in managed environment
// This property is not available in native environment
If true, displays tooltips in Structure Viewer window.
bindAsync(view: ${IDocumentView}, params: ${IBindParams}): Promise<void>;
// This method is not available in managed environment
// This method is not available in native environment
viewparamsBind specified structure.
unbindAll(): void;
// This method is not available in managed environment
// This method is not available in native environment
Unbind all structures from from the current view.
unbind(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexUnbind the structure.
addScheme(name: string, overwrite: boolean): boolean;
// This method is not available in managed environment
// This method is not available in native environment
nameoverwriteTrue if operation is successful.
Save a current structure binding scheme.
removeScheme(name: string): void;
// This method is not available in managed environment
// This method is not available in native environment
nameDelete the specified scheme.
fieldToSelection(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexConvert a given field to selection.
toBookmark(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexConvert specified structure field to bookmark.
gotoEnd(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexMove cursor to the end of the given field.
gotoTypeDefinition(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexOpen structure definition file with current type definition.
gotoFieldDefinition(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexOpen structure definition file with current field definition.
gotoValue(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexGo to offset defined by value.
setScheme(view: ${IDocumentView}, name: string): void;
// This method is not available in managed environment
// This method is not available in native environment
viewnameChanges the schema for the specified view.
setValue(view: ${IDocumentView}, index: number, value: string): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexvalueChange the value at the selected index.
copyQualifiedName(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexCopy field's qualified (full) name to the Clipboard.
copyValue(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexCopy value to the Clipboard.
copyLine(view: ${IDocumentView}, index: number): void;
// This method is not available in managed environment
// This method is not available in native environment
viewindexCopy entire line to Clipboard.
copyAllAsync(view: ${IDocumentView}): Promise<void>;
// This method is not available in managed environment
// This method is not available in native environment
viewCopy whole window contents to Clipboard.
copyColumnAsync(view: ${IDocumentView}, index: number): Promise<void>;
// This method is not available in managed environment
// This method is not available in native environment
viewindexCopy selected column to clipboard
getQualifiedName(view: ${IDocumentView}, index: number): string;
// This method is not available in managed environment
// This method is not available in native environment
viewindexGet field's qualified name as string.
getValue(view: ${IDocumentView}, index: number): string;
// This method is not available in managed environment
// This method is not available in native environment
viewindexGet field's value converted to string.
getLine(view: ${IDocumentView}, index: number): string;
// This method is not available in managed environment
// This method is not available in native environment
viewindexGet entire line's contents as string. Column values are separated by spaces.
exportToCsvAsync(view: ${IDocumentView}, filename: string, overwrite?: boolean): Promise<void>;
// This method is not available in managed environment
// This method is not available in native environment
viewfilenameoverwriteExports the structure view contents to a CSV file.
expandAllAsync(view: ${IDocumentView}): Promise<number>;
// This method is not available in managed environment
// This method is not available in native environment
viewThe number of elements expanded as a result of the operation (a positive value).
Expands all elements and all its children for specified document view.
collapseAll(view: ${IDocumentView}): number;
// This method is not available in managed environment
// This method is not available in native environment
viewThe number of elements collapsed as a result of the operation (a negative value).
Collapses all expanded elements to its parents for specified document view.
expandSubtree(view: ${IDocumentView}, index: number): number;
// This method is not available in managed environment
// This method is not available in native environment
viewindexThe number of elements expanded as a result of the operation (a positive value).
Expands the element and all its children at the specified index.
collapseSubtree(view: ${IDocumentView}, index: number): number;
// This method is not available in managed environment
// This method is not available in native environment
viewindexThe number of elements collapsed as a result of the operation (a negative value).
Collapses the element and all its children at the specified index.
expandAsync(view: ${IDocumentView}, index: number): Promise<number>;
// This method is not available in managed environment
// This method is not available in native environment
viewindexA promise that resolves to a number of child elements added as a result of the operation (a positive value).
Expands the element at the specified index.
collapse(view: ${IDocumentView}, index: number): number;
// This method is not available in managed environment
// This method is not available in native environment
viewindexThe number of child elements collapsed as a result of the operation (a negative value).
Collapses the element at the specified index.