Click or drag to resize
ProjectsController Class
Implement the controller for the projects view and provide access to common project operations.
Inheritance Hierarchy
SystemObject
  Sdl.Desktop.IntegrationApi.Extensions.InternalAbstractController
    Sdl.Desktop.IntegrationApiAbstractViewController
      Sdl.Desktop.IntegrationApi.InternalAbstractBindedController
        Sdl.TranslationStudioAutomation.IntegrationApiProjectsController

Namespace: Sdl.TranslationStudioAutomation.IntegrationApi
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi (in Sdl.TranslationStudioAutomation.IntegrationApi.dll) Version: 4.2.0.0 (4.1.5799.0)
Syntax
public class ProjectsController : AbstractBindedController

The ProjectsController type exposes the following members.

Constructors
  NameDescription
Public methodProjectsController
Initializes a new instance of the ProjectsController class
Top
Properties
  NameDescription
Public propertyContext
The context in witch the view is executing
(Inherited from AbstractViewController.)
Public propertyCurrentProject
Gets the current project.
Public propertySelectedProjects
Gets or sets the selected projects.
Top
Methods
  NameDescription
Public methodActivate
Activate the view in the Studio application.
(Inherited from AbstractViewController.)
Public methodAdd(IEnumerableString)
Add the projects for the specified files in the projects list
Public methodAdd(String)
Add the project for the specified file in the projects list
Public methodClose(FileBasedProject)
Close the specified project.
Public methodClose(IEnumerableFileBasedProject)
Close all the specified projects.
Public methodDispose
Override to implement the dispose of the resources associated with the view.
(Inherited from AbstractViewController.)
Public methodGetAllProjects
Get all the projects
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.)
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.)
Public methodGetProjects
Get the view visible projects
Public methodGetProjectTemplates
Gets all the available project templates.
Protected methodInitialize
Initialize the project controller.
(Overrides AbstractViewControllerInitialize(IViewContext).)
Public methodOpen
Open and activate the specified project
Protected methodRefresh
Called when the view needs to be refreshed.
(Inherited from AbstractViewController.)
Public methodRefreshProjects
Refreshes the list of projects.
Top
Events
  NameDescription
Public eventActivationChanged
Triggered when the activation of a view is changed
(Inherited from AbstractViewController.)
Public eventCurrentProjectChanged
Triggered when the current project is changed.
Public eventCurrentProjectChanging Obsolete.
Triggered when current project is changing.
Public eventCurrentProjectChanging2
Triggered when current project is changing. CurrentProjectCancelEventArgs has a property with the new current project.
Public eventProjectsChanged
Triggered when the list of visible projects is changed.
Public eventSelectedProjectsChanged
Triggered when the selected projects are changed.
Top
See Also
Community
Edit

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