Click or drag to resize
EditorController Methods

The EditorController type exposes the following members.

Methods
  NameDescription
Public methodActivate
Activate the view in the Studio application.
(Inherited from AbstractViewController.)
Public methodActivate(Document)
Activates the specified document
Public methodClose
Performs the closing of the document.
Public methodDispose
Override to implement the dispose of the resources associated with the view.
(Inherited from AbstractViewController.)
Protected methodGetContentControl
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.)
Public methodGetDocuments
Gets all the opened documents.
Protected methodGetExplorerBarControl
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.)
Protected methodInitialize
Implements the editor controller initialization
(Overrides AbstractViewControllerInitialize(IViewContext).)
Public methodOpen(String)
Open a document from a physical file path.
Public methodOpen(ProjectFile, EditingMode)
Open a document from a project file in the specified editing mode.
Public methodOpen(IEnumerableProjectFile, EditingMode)
Open multiple project files.
Protected methodRefresh
Called when the view needs to be refreshed.
(Inherited from AbstractViewController.)
Public methodSave
Perform the saving of the document.
Public methodSaveAs(Document, Boolean)
Show the Save As dialog.
Public methodSaveAs(Document, IEnumerableString, Boolean)
Save the document to the specified absolute path
Public methodSaveSourceAs
Show the Save Source As dialog.
Public methodSaveTargetAs
Show the Save Target As dialog.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments