| EditorController Class |
Namespace: Sdl.TranslationStudioAutomation.IntegrationApi
The EditorController type exposes the following members.
| Name | Description | |
|---|---|---|
| EditorController | Initializes a new instance of the EditorController class |
| Name | Description | |
|---|---|---|
| ActiveDocument |
Get the active document.
| |
| Context |
The context in witch the view is executing
(Inherited from AbstractViewController.) |
| Name | Description | |
|---|---|---|
| Activate |
Activate the view in the Studio application.
(Inherited from AbstractViewController.) | |
| Activate(Document) |
Activates the specified document
| |
| Close |
Performs the closing of the document.
| |
| Dispose |
Override to implement the dispose of the resources associated with the view.
(Inherited from AbstractViewController.) | |
| GetContentControl |
Get the content control for this view. This control will occupy the content area of the studio window while this view is active.
(Inherited from AbstractViewController.) | |
| GetDocuments |
Gets all the opened documents.
| |
| GetExplorerBarControl |
Get the explorer bar control of the view. This control will be placed in the content area of the explorer bar
when this view is active.
(Inherited from AbstractViewController.) | |
| Initialize |
Implements the editor controller initialization
(Overrides AbstractViewControllerInitialize(IViewContext).) | |
| Open(String) |
Open a document from a physical file path.
| |
| Open(ProjectFile, EditingMode) |
Open a document from a project file in the specified editing mode.
| |
| Open(IEnumerableProjectFile, EditingMode) |
Open multiple project files.
| |
| Refresh |
Called when the view needs to be refreshed.
(Inherited from AbstractViewController.) | |
| Save |
Perform the saving of the document.
| |
| SaveAs(Document, Boolean) |
Show the Save As dialog.
| |
| SaveAs(Document, IEnumerableString, Boolean) |
Save the document to the specified absolute path
| |
| SaveSourceAs |
Show the Save Source As dialog.
| |
| SaveTargetAs |
Show the Save Target As dialog.
|
| Name | Description | |
|---|---|---|
| ActivationChanged |
Triggered when the activation of a view is changed
(Inherited from AbstractViewController.) | |
| ActiveDocumentChanged |
Triggered when the active document has been changed.
| |
| Closed |
Triggered after a document is closed.
| |
| Closing |
Triggered before a document is closed.
| |
| Opened |
Triggered after a document is opened.
| |
| Opening |
Triggered before a document is opened.
| |
| Saved |
Triggered after a document is saved.
| |
| SaveFailed |
Triggered if the save is failing
| |
| Saving |
Triggered before a document is saved.
|