Version: 8.3.0
gui.cataitems.NodesItem Class Reference
Inheritance diagram for gui.cataitems.NodesItem:
Collaboration diagram for gui.cataitems.NodesItem:

Public Member Functions

def __init__
 
def getIconName
 
def isExpandable
 
def getChildren
 
- Public Member Functions inherited from gui.Item.Item
def __init__
 
def isExpandable
 
def getChildren
 
def father
 
def getIconName
 
def panel
 
def box
 
def selected
 
def dblselected
 

Public Attributes

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

Detailed Description

Item for nodes folder

Definition at line 226 of file cataitems.py.

Constructor & Destructor Documentation

def gui.cataitems.NodesItem.__init__ (   self,
  nodesMap,
  root 
)

Definition at line 228 of file cataitems.py.

229  def __init__(self,nodesMap,root):
230  Item.Item.__init__(self)
231  self.nodesMap=nodesMap
232  self.label="Nodes"
233  self.root=root

Member Function Documentation

def gui.cataitems.NodesItem.getChildren (   self)

Definition at line 240 of file cataitems.py.

References 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, and gui.cataitems.NodesItem.root.

241  def getChildren(self):
242  sublist=[]
243  for node in self.nodesMap.values():
244  itemnode=ItemNode(node,self.root)
245  sublist.append(itemnode)
246  return sublist
def gui.cataitems.NodesItem.getIconName (   self)

Definition at line 234 of file cataitems.py.

235  def getIconName(self):
236  return "folder"
def gui.cataitems.NodesItem.isExpandable (   self)

Definition at line 237 of file cataitems.py.

238  def isExpandable(self):
239  return True

Member Data Documentation

gui.cataitems.NodesItem.label

Definition at line 231 of file cataitems.py.

gui.cataitems.NodesItem.nodesMap

Definition at line 230 of file cataitems.py.

gui.cataitems.NodesItem.root

Definition at line 232 of file cataitems.py.

Referenced by gui.cataitems.NodesItem.getChildren(), gui.cataitems.ComposedNodesItem.getChildren(), and gui.Items.ItemPort.selected().


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