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

Public Member Functions

def __init__
 
def addNode
 
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

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

Detailed Description

Definition at line 161 of file cataitems.py.

Constructor & Destructor Documentation

def gui.cataitems.ItemComposedNode.__init__ (   self,
  node,
  root 
)

Definition at line 162 of file cataitems.py.

163  def __init__(self,node,root):
164  Item.Item.__init__(self)
165  self.node=node
166  self.root=root
167  self.label=node.getName()

Member Function Documentation

def gui.cataitems.ItemComposedNode.addNode (   self,
  appli 
)

Definition at line 168 of file cataitems.py.

References gui.cataitems.ItemNode.node, and gui.cataitems.ItemComposedNode.node.

Referenced by gui.GraphViewer.GraphViewer.popup().

169  def addNode(self,appli):
170  appli.addNode(self.node)
def gui.cataitems.ItemComposedNode.getChildren (   self)

Definition at line 174 of file cataitems.py.

175  def getChildren(self):
176  sublist=[]
177  return sublist
def gui.cataitems.ItemComposedNode.isExpandable (   self)

Definition at line 171 of file cataitems.py.

172  def isExpandable(self):
173  return True
def gui.cataitems.ItemComposedNode.selected (   self)

Definition at line 178 of file cataitems.py.

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

179  def selected(self):
180  if not self.emitting:
181  self.emitting=1
182  CONNECTOR.Emit(self.root,"selected",self)
183  self.emitting=0

Member Data Documentation

gui.cataitems.ItemComposedNode.emitting

Definition at line 180 of file cataitems.py.

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

gui.cataitems.ItemComposedNode.label

Definition at line 166 of file cataitems.py.

gui.cataitems.ItemComposedNode.node

Definition at line 164 of file cataitems.py.

Referenced by gui.cataitems.ItemComposedNode.addNode(), gui.CItems.Cell.customEvent(), and gui.CItems.Cell.selected().

gui.cataitems.ItemComposedNode.root

Definition at line 165 of file cataitems.py.

Referenced by 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: