Package p6 :: Package ui :: Package pages :: Module store :: Class StorePage
[show private | hide private]
[frames | no frames]

Type StorePage

object --+                        
         |                        
    Object --+                    
             |                    
    EvtHandler --+                
                 |                
            Window --+            
                     |            
                 Panel --+        
                         |        
                   PyPanel --+    
                             |    
                    XrcWizPage --+
                                 |
                                StorePage


Displays a page which validates and stores the item.
Method Summary
  __init__(self, parent, headline)
  onChanged(self, event)
Event handler for onChanged events; fired by ccWx when the page is displayed.
  postStore(self, event)
Re-enables the UI and publishes a p6.storage.events.PostStore event.
  resetStatus(self, event)
Event handler for p6.ui.events.IResetStatus events.
  store(self)
Publishes a p6.storage.events.StoreWork event; storage providers should listen for this event.
  updateStatus(self, event)
Event handler for p6.ui.events.IUpdateStatus events.
  validateItem(self)
Publishes a p6.storage.events.ValidateWork event which allows metadata providers to register errors before the upload occurs.
    Inherited from XrcWizPage
  onChanging(self, event)
  validate(self, event)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
str PAGE_XRC = '\n<resource>\n  <object class="wxPanel" name...
str XRCID = 'STORE_PROGRESS'
    Inherited from XrcWizPage
Implements __implemented__ = <implementedBy ccwx.xrcwiz.XrcWizPage>
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...

Instance Method Details

__init__(self, parent, headline='Uploading')
(Constructor)

Parameters:
parent - Parent window
           (type=wx.Window)
headline - Title to display above the wizard page
           (type=String)
Overrides:
ccwx.xrcwiz.XrcWizPage.__init__

onChanged(self, event)

Event handler for onChanged events; fired by ccWx when the page is displayed. Disables the next button, and calls validate, then store.
Overrides:
ccwx.xrcwiz.XrcWizPage.onChanged

postStore(self, event)

Re-enables the UI and publishes a p6.storage.events.PostStore event.

resetStatus(self, event)

Event handler for p6.ui.events.IResetStatus events.

store(self)

Publishes a p6.storage.events.StoreWork event; storage providers should listen for this event.

updateStatus(self, event)

Event handler for p6.ui.events.IUpdateStatus events.

validateItem(self)

Publishes a p6.storage.events.ValidateWork event which allows metadata providers to register errors before the upload occurs.

Class Variable Details

PAGE_XRC

Type:
str
Value:
'''
<resource>
  <object class="wxPanel" name="STORE_PROGRESS">
    <object class="wxFlexGridSizer">
      <cols>1</cols>
      <growablecols>0</growablecols>
      <growablerows>4</growablerows>
      <vgap>10</vgap>
...                                                                    

XRCID

Type:
str
Value:
'STORE_PROGRESS'                                                       

Generated by Epydoc 2.1 on Fri Jun 24 12:01:24 2005 http://epydoc.sf.net