Package gui :: Module export_bmrb :: Class Export_bmrb_window
[hide private]
[frames] | no frames]

Class Export_bmrb_window

source code


The BMRB export window.

Instance Methods [hide private]
 
__init__(self, gui)
Set up the export window.
source code
 
action_cancel(self, event=None)
Cancel the export.
source code
 
action_export(self, event=None)
Write out the NMR-STAR formatted data.
source code
 
action_preview(self, event=None)
Preview the NMR-STAR formatted data.
source code
 
add_buttons(self, sizer)
Build and add the bottom buttons.
source code
 
add_header(self, sizer)
Build and add the header to the sizer.
source code
 
add_pipe(self, sizer)
Build and add the data pipe selection element.
source code
 
handler_close(self, event)
Event handler for the close window action.
source code
list of str
is_complete(self)
Determine if the data input is complete.
source code
 
observer_register(self, remove=False)
Register and unregister methods with the observer objects.
source code
wx.Sizer instance
setup_frame(self)
Set up the relax controller frame.
source code
 
update_pipes(self, event=None)
Update the spin view data pipe selector.
source code
Method Details [hide private]

__init__(self, gui)
(Constructor)

source code 

Set up the export window.

Parameters:
  • gui (wx.Frame instance) - The GUI object.

action_cancel(self, event=None)

source code 

Cancel the export.

Parameters:
  • event (wx event) - The wx event.

action_export(self, event=None)

source code 

Write out the NMR-STAR formatted data.

Parameters:
  • event (wx event) - The wx event.

action_preview(self, event=None)

source code 

Preview the NMR-STAR formatted data.

Parameters:
  • event (wx event) - The wx event.

add_buttons(self, sizer)

source code 

Build and add the bottom buttons.

Parameters:
  • sizer (wx.Sizer instance) - The sizer element to pack the buttons into.

add_header(self, sizer)

source code 

Build and add the header to the sizer.

Parameters:
  • sizer (wx.Sizer instance) - The sizer element to pack the header into.

add_pipe(self, sizer)

source code 

Build and add the data pipe selection element.

Parameters:
  • sizer (wx.Sizer instance) - The sizer element to pack the buttons into.

handler_close(self, event)

source code 

Event handler for the close window action.

Parameters:
  • event (wx event) - The wx event.

is_complete(self)

source code 

Determine if the data input is complete.

Returns: list of str
A list of all the missing components.

observer_register(self, remove=False)

source code 

Register and unregister methods with the observer objects.

Parameters:
  • remove (False) - If set to True, then the methods will be unregistered.

setup_frame(self)

source code 

Set up the relax controller frame.

Returns: wx.Sizer instance
The sizer object.

update_pipes(self, event=None)

source code 

Update the spin view data pipe selector.

Parameters:
  • event (wx event) - The wx event.