Esempio n. 1
0
    def create_and_or_show_PM_if_wanted(self, showPropMgr=True):
        """
        Create the property manager object if one doesn't already exist 
        and then show the propMgr if wanted by the user. 
        @param showPropMgr: If True, show the property manager 
        @type showPropMgr: boolean
        """
        EditCommand.create_and_or_show_PM_if_wanted(self,
                                                    showPropMgr=showPropMgr)

        self.propMgr.updateMessage("Use appropriate command in the command "\
                                   "toolbar to create or modify a CNT Object"\
                                   "<br>"
                               )
    def create_and_or_show_PM_if_wanted(self, showPropMgr=True):
        """
        Create the property manager object if one doesn't already exist 
        and then show the propMgr if wanted by the user. 
        @param showPropMgr: If True, show the property manager 
        @type showPropMgr: boolean
        """
        EditCommand.create_and_or_show_PM_if_wanted(self,
                                                    showPropMgr=showPropMgr)

        self.propMgr.updateMessage("Specify two points in the 3D Graphics " \
                                   "Area to define the endpoints of the "\
                                   "nanotube."
                               )
    def create_and_or_show_PM_if_wanted(self, showPropMgr = True):
        """
        Create the property manager object if one doesn't already exist 
        and then show the propMgr if wanted by the user. 
        @param showPropMgr: If True, show the property manager 
        @type showPropMgr: boolean
        """
        EditCommand.create_and_or_show_PM_if_wanted(
            self,
            showPropMgr = showPropMgr)

        self.propMgr.updateMessage("Specify two points in the 3D Graphics " \
                                   "Area to define the endpoints of the "\
                                   "DNA duplex."
                               )
 def create_and_or_show_PM_if_wanted(self, showPropMgr = True):
     """
     Create the property manager object if one doesn't already exist
     and then show the propMgr if wanted by the user.
     @param showPropMgr: If True, show the property manager
     @type showPropMgr: boolean
     """
     EditCommand.create_and_or_show_PM_if_wanted(
         self,
         showPropMgr = showPropMgr)
     
     self.propMgr.updateMessage("Use appropriate command in the command "\
                                "toolbar to create or modify a Protein Object"\
                                "<br>"
                            )