Version: 8.3.0
gui.Items.ControlLinksItem Class Reference
Inheritance diagram for gui.Items.ControlLinksItem:
Collaboration diagram for gui.Items.ControlLinksItem:

Public Member Functions

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

 item
 
 label
 
- Public Attributes inherited from gui.Item.Item
 label
 
 emitting
 

Detailed Description

Item for all control links of a composed node

Definition at line 65 of file Items.py.

Constructor & Destructor Documentation

def gui.Items.ControlLinksItem.__init__ (   self,
  item 
)

Definition at line 67 of file Items.py.

67 
68  def __init__(self,item):
69  Item.Item.__init__(self)
70  self.item=item
71  self.label="Control Links"

Member Function Documentation

def gui.Items.ControlLinksItem.addLink (   self,
  link 
)

Definition at line 84 of file Items.py.

84 
85  def addLink(self,link):
86  CONNECTOR.Emit(self,"add",link)
def gui.Items.ControlLinksItem.getChildren (   self)

Definition at line 77 of file Items.py.

77 
78  def getChildren(self):
79  sublist=[]
80  for n in self.item.node.edGetDirectDescendants():
81  for p in n.getOutNodes():
82  sublist.append(ControlLinkItem(n,p))
83  return sublist
def gui.Items.ControlLinksItem.getIconName (   self)

Definition at line 72 of file Items.py.

72 
73  def getIconName(self):
return "folder"
def gui.Items.ControlLinksItem.isExpandable (   self)

Definition at line 74 of file Items.py.

74 
75  def isExpandable(self):
76  return True

Member Data Documentation

gui.Items.ControlLinksItem.item

Definition at line 69 of file Items.py.

gui.Items.ControlLinksItem.label

Definition at line 70 of file Items.py.


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