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

Public Member Functions

def __init__
 
def isExpandable
 
def getChildren
 
def selected
 
- 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

 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

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

Definition at line 116 of file cataitems.py.

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

Member Function Documentation

def gui.cataitems.ItemCompo.getChildren (   self)

Definition at line 125 of file cataitems.py.

References gui.cataitems.Obj.root, gui.cataitems.ItemService.root, gui.cataitems.ItemType.root, and gui.cataitems.ItemCompo.root.

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

Definition at line 122 of file cataitems.py.

123  def isExpandable(self):
124  return True
def gui.cataitems.ItemCompo.selected (   self)

Definition at line 132 of file cataitems.py.

References gui.cataitems.Obj.emitting, gui.cataitems.ItemService.emitting, gui.cataitems.ItemType.emitting, and gui.cataitems.ItemCompo.emitting.

133  def selected(self):
134  if not self.emitting:
135  self.emitting=1
136  CONNECTOR.Emit(self.root,"selected",self)
137  self.emitting=0

Member Data Documentation

gui.cataitems.ItemCompo.compo

Definition at line 118 of file cataitems.py.

gui.cataitems.ItemCompo.emitting

Definition at line 134 of file cataitems.py.

Referenced by gui.Items.ItemComposedNode.dblselected(), gui.sessions.Sessions.selected(), gui.sessions.Session.selected(), gui.cataitems.ItemCompo.selected(), gui.cataitems.ItemNode.selected(), gui.Items.ItemComposedNode.selected(), gui.cataitems.ItemComposedNode.selected(), gui.Items.ItemPort.selected(), and gui.Items.ItemNode.selected().

gui.cataitems.ItemCompo.label

Definition at line 120 of file cataitems.py.

gui.cataitems.ItemCompo.root

Definition at line 119 of file cataitems.py.

Referenced by gui.cataitems.ItemCompo.getChildren(), gui.cataitems.TypesItem.getChildren(), 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: