Version: 9.15.0
gui.cataitems.ItemCompo Class Reference
Inheritance diagram for gui.cataitems.ItemCompo:
Collaboration diagram for gui.cataitems.ItemCompo:

Public Member Functions

def __init__ (self, compo, root)
 
def isExpandable (self)
 
def getChildren (self)
 
def selected (self)
 
- Public Member Functions inherited from gui.Item.Item
def __init__ (self, label="")
 
def father (self)
 
def getIconName (self)
 
def panel (self, parent)
 
def box (self, parent)
 
def dblselected (self)
 

Public Attributes

 compo
 
 root
 
 label
 
 emitting
 
- Public Attributes inherited from gui.Item.Item
 label
 
 emitting
 

Detailed Description

Definition at line 115 of file cataitems.py.

Constructor & Destructor Documentation

◆ __init__()

def gui.cataitems.ItemCompo.__init__ (   self,
  compo,
  root 
)

Definition at line 116 of file cataitems.py.

116  def __init__(self,compo,root):
117  Item.Item.__init__(self)
118  self.compo=compo
119  self.root=root
120  self.label=compo.getName()
121 

Member Function Documentation

◆ getChildren()

def gui.cataitems.ItemCompo.getChildren (   self)

Reimplemented from gui.Item.Item.

Definition at line 125 of file cataitems.py.

125  def getChildren(self):
126  sublist=[]
127  for service in list(self.compo._serviceMap.values()):
128  itemservice=ItemService(service,self.root)
129  sublist.append(itemservice)
130  return sublist
131 

References gui.cataitems.ItemCompo.compo, gui.cataitems.Obj.root, gui.cataitems.ItemService.root, gui.cataitems.ItemType.root, gui.cataitems.ItemCompo.root, gui.cataitems.ItemNode.root, gui.cataitems.ItemComposedNode.root, gui.cataitems.TypesItem.root, gui.cataitems.ComponentsItem.root, gui.cataitems.NodesItem.root, gui.cataitems.ComposedNodesItem.root, gui.Items.ItemPort.root, and gui.sessions.Session.root.

◆ isExpandable()

def gui.cataitems.ItemCompo.isExpandable (   self)

Reimplemented from gui.Item.Item.

Definition at line 122 of file cataitems.py.

122  def isExpandable(self):
123  return True
124 

◆ selected()

def gui.cataitems.ItemCompo.selected (   self)

Member Data Documentation

◆ compo

gui.cataitems.ItemCompo.compo

Definition at line 118 of file cataitems.py.

Referenced by gui.cataitems.ItemCompo.getChildren().

◆ emitting

◆ label

gui.cataitems.ItemCompo.label

Definition at line 120 of file cataitems.py.

Referenced by gui.CItems.Cell.moveBy(), and gui.CItems.Cell.show().

◆ root


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