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

Public Member Functions

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

Public Attributes

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

Detailed Description

Item for composed nodes folder

Definition at line 247 of file cataitems.py.

Constructor & Destructor Documentation

◆ __init__()

def gui.cataitems.ComposedNodesItem.__init__ (   self,
  composedMap,
  root 
)

Definition at line 249 of file cataitems.py.

249  def __init__(self,composedMap,root):
250  Item.Item.__init__(self)
251  self.composedMap=composedMap
252  self.label="ComposedNodes"
253  self.root=root
254 

Member Function Documentation

◆ getChildren()

def gui.cataitems.ComposedNodesItem.getChildren (   self)

Reimplemented from gui.Item.Item.

Definition at line 261 of file cataitems.py.

261  def getChildren(self):
262  sublist=[]
263  for node in list(self.composedMap.values()):
264  itemnode=ItemComposedNode(node,self.root)
265  sublist.append(itemnode)
266  return sublist
267 

References gui.cataitems.ComposedNodesItem.composedMap, 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.

◆ getIconName()

def gui.cataitems.ComposedNodesItem.getIconName (   self)

Reimplemented from gui.Item.Item.

Definition at line 255 of file cataitems.py.

255  def getIconName(self):
256  return "folder"
257 

◆ isExpandable()

def gui.cataitems.ComposedNodesItem.isExpandable (   self)

Reimplemented from gui.Item.Item.

Definition at line 258 of file cataitems.py.

258  def isExpandable(self):
259  return True
260 

Member Data Documentation

◆ composedMap

gui.cataitems.ComposedNodesItem.composedMap

Definition at line 251 of file cataitems.py.

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

◆ label

gui.cataitems.ComposedNodesItem.label

Definition at line 252 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: