Studio#

class ansys.scade.guitools.studio.Studio#

Bases: ansys.scade.guitools.ide.Ide

Implementation for SCADE IDE.

Overview#

activate

Redirect the call to SCADE IDE.

activate_browser

Redirect the call to SCADE IDE.

activate_project

Redirect the call to SCADE IDE.

activate_tab

Redirect the call to SCADE IDE.

browse_directory

Stub scade.tool.suite.gui.dialogs.browse_directory.

browser_report

Redirect the call to SCADE IDE.

clear_tab

Redirect the call to SCADE IDE.

command

Redirect the call to SCADE IDE.

create_browser

Redirect the call to SCADE IDE.

create_report

Redirect the call to SCADE IDE.

file_open

Stub scade.tool.suite.gui.dialogs.file_open.

file_save

Stub scade.tool.suite.gui.dialogs.file_save.

get_active_configuration

Redirect the call to SCADE IDE.

get_active_project

Redirect the call to SCADE IDE.

get_projects

Redirect the call to the API.

get_sessions

Redirect the call to the API.

locate

Redirect the call to SCADE IDE.

locate_ex

Redirect the call to the API.

log

Redirect the call to the local log function.

message_box

Stub scade.tool.suite.gui.dialogs.message_box.

open_document_view

Redirect the call to SCADE IDE.

open_html_in_browser

Redirect the call to SCADE IDE.

open_html_view

Redirect the call to SCADE IDE.

open_source_code_view

Redirect the call to SCADE IDE.

output_log

Redirect the call to SCADE IDE.

print

Redirect the call to SCADE IDE.

print_ssl

Redirect the call to the API.

printer_setup

Redirect the call to SCADE IDE.

register_decoration

Redirect the call to the API.

register_load_model_callable

Stub scade.tool.suite.gui.register_load_model_callable.

register_terminate_callable

Stub scade.tool.suite.gui.register_terminate_callable.

register_unload_model_callable

Stub scade.tool.suite.gui.register_unload_model_callable.

report

Redirect the call to SCADE IDE.

set_decoration

Redirect the call to the API.

set_output_tab

Redirect the call to SCADE IDE.

set_style

Redirect the call to the API.

tabput

Redirect the call to SCADE IDE.

unset_decoration

Redirect the call to the API.

version

Redirect the call to SCADE IDE.

selection

Redirect the call to SCADE IDE.

Import detail#

from ansys.scade.guitools.studio import Studio

Property detail#

property Studio.selection: List[Any]#

Redirect the call to SCADE IDE.

Method detail#

Studio.activate(object_: Any)#

Redirect the call to SCADE IDE.

Studio.activate_browser(tab_name: str)#

Redirect the call to SCADE IDE.

Studio.activate_project(project_name: str)#

Redirect the call to SCADE IDE.

Studio.activate_tab(tab: str)#

Redirect the call to SCADE IDE.

Studio.browse_directory(initial_directory: str = '') str#

Stub scade.tool.suite.gui.dialogs.browse_directory.

Studio.browser_report(child_object: Any, parent_object: Any = None, expanded: bool = False, user_data: Any = None, name: str = '', icon_file: str = '')#

Redirect the call to SCADE IDE.

Studio.clear_tab(tab: str)#

Redirect the call to SCADE IDE.

Studio.command(extension_id: str, command_id: int, command: str = 'activate') str | None#

Redirect the call to SCADE IDE.

Studio.create_browser(name: str, icon_file: str | None = None, keep: bool = False, callback: Callable[[Any, Any], None] = None)#

Redirect the call to SCADE IDE.

Studio.create_report(tab_name: str, *header: Tuple[str, int, int], check: bool = False)#

Redirect the call to SCADE IDE.

Studio.file_open(filter: str = '', directory: str = '') str#

Stub scade.tool.suite.gui.dialogs.file_open.

Studio.file_save(file_name: str, extension: str = '', directory: str = '', filter: str = '') str#

Stub scade.tool.suite.gui.dialogs.file_save.

Studio.get_active_configuration(project: scade.model.project.stdproject.Project, tool_name: str) scade.model.project.stdproject.Configuration | None#

Redirect the call to SCADE IDE.

Studio.get_active_project() scade.model.project.stdproject.Project#

Redirect the call to SCADE IDE.

Studio.get_projects() List[scade.model.project.stdproject.Project]#

Redirect the call to the API.

Studio.get_sessions() List[scade.model.suite.Session]#

Redirect the call to the API.

Studio.locate(locate_string: str)#

Redirect the call to SCADE IDE.

Studio.locate_ex(tuples: List[scade.model.suite.Object] | List[Tuple])#

Redirect the call to the API.

Studio.log(text: str)#

Redirect the call to the local log function.

Studio.message_box(name: str, message: str, style: str = 'ok', icon: str = 'information') int#

Stub scade.tool.suite.gui.dialogs.message_box.

Studio.open_document_view(file_name: str)#

Redirect the call to SCADE IDE.

Studio.open_html_in_browser(file_name: str)#

Redirect the call to SCADE IDE.

Studio.open_html_view(file: str | List[str], use: str | None = None, delete: bool = False)#

Redirect the call to SCADE IDE.

Studio.open_source_code_view(file_name: str, line: int = 1, col: int = 1)#

Redirect the call to SCADE IDE.

Studio.output_log(tab_name: str, command: str, path_name: str = '', separator: str = '')#

Redirect the call to SCADE IDE.

Studio.print(source_object: Any, path_name: str, format: str, rotation: int = 0)#

Redirect the call to SCADE IDE.

Studio.print_ssl(scade_operator: scade.model.suite.Operator, path_name: str, format: str, rotation: int = 0)#

Redirect the call to the API.

Studio.printer_setup(printer_name: str)#

Redirect the call to SCADE IDE.

Studio.register_decoration(name: str, small_icon: str, large_icon: str)#

Redirect the call to the API.

Studio.register_load_model_callable(callable)#

Stub scade.tool.suite.gui.register_load_model_callable.

Studio.register_terminate_callable(callable)#

Stub scade.tool.suite.gui.register_terminate_callable.

Studio.register_unload_model_callable(callable)#

Stub scade.tool.suite.gui.register_unload_model_callable.

Studio.report(item: Any, *columns: str)#

Redirect the call to SCADE IDE.

Studio.set_decoration(object_: scade.model.suite.Object, name: str)#

Redirect the call to the API.

Studio.set_output_tab(tab: str)#

Redirect the call to SCADE IDE.

Studio.set_style(presentation_element: scade.model.suite.PresentationElement, style_name: str)#

Redirect the call to the API.

Studio.tabput(tab: str, text: str)#

Redirect the call to SCADE IDE.

Studio.unset_decoration(object_: scade.model.suite.Object)#

Redirect the call to the API.

Studio.version(kind: str) str#

Redirect the call to SCADE IDE.