Version: 8.3.0
gui.sessions.Sessions Class Reference
Inheritance diagram for gui.sessions.Sessions:
Collaboration diagram for gui.sessions.Sessions:

Public Member Functions

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

 label
 
 orb
 
 port
 
 emitting
 
- Public Attributes inherited from gui.Item.Item
 label
 
 emitting
 

Detailed Description

Definition at line 28 of file sessions.py.

Constructor & Destructor Documentation

def gui.sessions.Sessions.__init__ (   self,
  port 
)

Definition at line 29 of file sessions.py.

29 
30  def __init__(self,port):
31  Item.Item.__init__(self)
32  self.label="Sessions"
33  self.orb=CORBA.ORB_init(sys.argv, CORBA.ORB_ID)
34  self.port=port

Member Function Documentation

def gui.sessions.Sessions.getChildren (   self)

Definition at line 35 of file sessions.py.

References gui.sessions.Sessions.orb, gui.sessions.Sessions.port, gui.Items.ItemPort.port, gui.CItems.ControlItem.port, gui.Items.ItemInGate.port, gui.Items.ItemOutGate.port, and gui.CItems.PortItem.port.

35 
36  def getChildren(self):
37  sublist=[]
38  port=self.port
39  while 1:
40  port=port+1
41  try:
42  session=Session(self,self.orb,port)
43  sublist.append(session)
44  except:
45  #traceback.print_exc()
46  break
47  return sublist
def gui.sessions.Sessions.getIconName (   self)

Definition at line 54 of file sessions.py.

54 
55  def getIconName(self):
56  return "folder"
def gui.sessions.Sessions.isExpandable (   self)

Definition at line 57 of file sessions.py.

57 
58  def isExpandable(self):
59  return True
def gui.sessions.Sessions.selected (   self)

Definition at line 48 of file sessions.py.

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

48 
49  def selected(self):
50  if not self.emitting:
51  self.emitting=1
52  CONNECTOR.Emit(self,"selected",self)
53  self.emitting=0

Member Data Documentation

gui.sessions.Sessions.emitting

Definition at line 50 of file sessions.py.

gui.sessions.Sessions.label

Definition at line 31 of file sessions.py.

gui.sessions.Sessions.orb

Definition at line 32 of file sessions.py.

Referenced by gui.sessions.Sessions.getChildren().

gui.sessions.Sessions.port

Definition at line 33 of file sessions.py.

Referenced by gui.sessions.Sessions.getChildren().


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