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

Public Member Functions

def __init__
 
def isExpandable
 
def addNode
 
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 138 of file cataitems.py.

Constructor & Destructor Documentation

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

Definition at line 139 of file cataitems.py.

140  def __init__(self,node,root):
141  Item.Item.__init__(self)
142  self.node=node
143  self.root=root
144  self.label=node.getName()

Member Function Documentation

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

Definition at line 148 of file cataitems.py.

References gui.cataitems.ItemNode.node.

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

149  def addNode(self,appli):
150  appli.addNode(self.node)
def gui.cataitems.ItemNode.getChildren (   self)

Definition at line 151 of file cataitems.py.

152  def getChildren(self):
153  sublist=[]
154  return sublist
def gui.cataitems.ItemNode.isExpandable (   self)

Definition at line 145 of file cataitems.py.

146  def isExpandable(self):
147  return True
def gui.cataitems.ItemNode.selected (   self)

Definition at line 155 of file cataitems.py.

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

156  def selected(self):
157  if not self.emitting:
158  self.emitting=1
159  CONNECTOR.Emit(self.root,"selected",self)
160  self.emitting=0

Member Data Documentation

gui.cataitems.ItemNode.emitting

Definition at line 157 of file cataitems.py.

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

gui.cataitems.ItemNode.label

Definition at line 143 of file cataitems.py.

gui.cataitems.ItemNode.node

Definition at line 141 of file cataitems.py.

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

gui.cataitems.ItemNode.root

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