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

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

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

Detailed Description

Item for components folder

Definition at line 205 of file cataitems.py.

Constructor & Destructor Documentation

def gui.cataitems.ComponentsItem.__init__ (   self,
  compoMap,
  root 
)

Definition at line 207 of file cataitems.py.

208  def __init__(self,compoMap,root):
209  Item.Item.__init__(self)
210  self.compoMap=compoMap
211  self.label="Components"
212  self.root=root

Member Function Documentation

def gui.cataitems.ComponentsItem.getChildren (   self)

Definition at line 219 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, and gui.cataitems.ComponentsItem.root.

220  def getChildren(self):
221  sublist=[]
222  for compo in self.compoMap.values():
223  itemcompo=ItemCompo(compo,self.root)
224  sublist.append(itemcompo)
225  return sublist
def gui.cataitems.ComponentsItem.getIconName (   self)

Definition at line 213 of file cataitems.py.

214  def getIconName(self):
215  return "folder"
def gui.cataitems.ComponentsItem.isExpandable (   self)

Definition at line 216 of file cataitems.py.

217  def isExpandable(self):
218  return True

Member Data Documentation

gui.cataitems.ComponentsItem.compoMap

Definition at line 209 of file cataitems.py.

gui.cataitems.ComponentsItem.label

Definition at line 210 of file cataitems.py.

gui.cataitems.ComponentsItem.root

Definition at line 211 of file cataitems.py.

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


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