Exemplo n.º 1
0
        public void Execute()
        {
            Client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));

            if (IsStudioRunning())
            {
                ProjectsController  = SdlTradosStudio.Application.GetController <ProjectsController>();
                CurrentViewDetector = new CurrentViewDetector();
                EditorController    = SdlTradosStudio.Application.GetController <EditorController>();
                MetadataSupervisor  = new MetadataSupervisor(new SegmentMetadataCreator(), EditorController);
            }
        }
Exemplo n.º 2
0
 public void Execute()
 {
     CurrentViewDetector = new CurrentViewDetector();
 }