Changes in src/sas/guiframe/plugin_base.py [373d4ee:f21d496] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/plugin_base.py
r373d4ee rf21d496 34 34 """ 35 35 36 def __init__(self, name="Test_plugin" , standalone=True):36 def __init__(self, name="Test_plugin"): 37 37 """ 38 38 Abstract class for gui_manager Plugins. … … 42 42 ## Plug-in name. It will appear on the application menu. 43 43 self.sub_menu = name 44 #standalone flag45 self.standalone = standalone46 44 ## Reference to the parent window. Filled by get_panels() below. 47 45 self.parent = None … … 263 261 pass 264 262 265 def set_default_perspective(self):266 """267 Call back method that True to notify the parent that the current plug-in268 can be set as default perspective.269 when returning False, the plug-in is not candidate for an automatic270 default perspective setting271 """272 if self.standalone:273 return True274 return False275 276 263 def set_state(self, state=None, datainfo=None): 277 264 """
Note: See TracChangeset
for help on using the changeset viewer.