Version: 9.15.0
SALOME_AppStudyEditor Class Reference

#include <SALOME_AppStudyEditor.hxx>

Inheritance diagram for SALOME_AppStudyEditor:
Inheritance graph

Public Member Functions

 SALOME_AppStudyEditor (SalomeApp_Application *salomeApp)
 
SALOMEDS::SObject_ptr IObjectToSObject (const Handle(SALOME_InteractiveObject)&iobject)
 
SALOME_StudyEditor::SObjectList * getSelectedObjects ()
 This function creates a list of all the "study objects" (SObject) that map with the selection in the object browser (the "interactive objects", IObjects). More...
 

Private Attributes

SalomeApp_Application_salomeApp
 

Detailed Description

This class is a specialization of the KERNEL StudyEditor for the GUI context. The concept of active study is introduced here while it does not exist in the pure KERNEL context.

Constructor & Destructor Documentation

◆ SALOME_AppStudyEditor()

SALOME_AppStudyEditor::SALOME_AppStudyEditor ( SalomeApp_Application salomeApp)

References _salomeApp.

Member Function Documentation

◆ getSelectedObjects()

SALOME_StudyEditor::SObjectList * SALOME_AppStudyEditor::getSelectedObjects ( )

This function creates a list of all the "study objects" (SObject) that map with the selection in the object browser (the "interactive objects", IObjects).

Please note that the objects belongs to the active study.

References _salomeApp, IObjectToSObject(), LightApp_SelectionMgr::selectedObjects(), and LightApp_Application::selectionMgr().

◆ IObjectToSObject()

SALOMEDS::SObject_ptr SALOME_AppStudyEditor::IObjectToSObject ( const Handle(SALOME_InteractiveObject)&  iobject)

Member Data Documentation

◆ _salomeApp

SalomeApp_Application* SALOME_AppStudyEditor::_salomeApp
private

The documentation for this class was generated from the following files: