当前位置: 首页>>代码示例>>Python>>正文


Python EditCommand_PM.show方法代码示例

本文整理汇总了Python中command_support.EditCommand_PM.EditCommand_PM.show方法的典型用法代码示例。如果您正苦于以下问题:Python EditCommand_PM.show方法的具体用法?Python EditCommand_PM.show怎么用?Python EditCommand_PM.show使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在command_support.EditCommand_PM.EditCommand_PM的用法示例。


在下文中一共展示了EditCommand_PM.show方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: show

# 需要导入模块: from command_support.EditCommand_PM import EditCommand_PM [as 别名]
# 或者: from command_support.EditCommand_PM.EditCommand_PM import show [as 别名]
 def show(self):
     """
     Show this PM 
     As of 2007-11-20, it also shows the Sequence Editor widget and hides 
     the history widget. This implementation may change in the near future
     """
     EditCommand_PM.show(self) 
     self.updateListWidgets()    
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:10,代码来源:BuildDna_PropertyManager.py

示例2: show

# 需要导入模块: from command_support.EditCommand_PM import EditCommand_PM [as 别名]
# 或者: from command_support.EditCommand_PM.EditCommand_PM import show [as 别名]
 def show(self):
     """
     Overrides superclass show method
     """
     env.history.statusbar_msg("")
     self._updateProteinListForShow()
     self._showProteinParametersAndSequenceEditor()
     EditCommand_PM.show(self)
     self.updateMessage()
     return
开发者ID:alaindomissy,项目名称:nanoengineer,代码行数:12,代码来源:BuildProtein_PropertyManager.py

示例3: show

# 需要导入模块: from command_support.EditCommand_PM import EditCommand_PM [as 别名]
# 或者: from command_support.EditCommand_PM.EditCommand_PM import show [as 别名]
    def show(self):
        """
        Show this PM
        As of 2007-11-20, it also shows the Sequence Editor widget and hides
        the history widget. This implementation may change in the near future
        """
        EditCommand_PM.show(self)

        self.updateMessage("Use appropriate command in the command "\
                               "toolbar to create or modify a DNA Object"\
                               "<br>" )
开发者ID:alaindomissy,项目名称:nanoengineer,代码行数:13,代码来源:BuildDna_PropertyManager.py

示例4: show

# 需要导入模块: from command_support.EditCommand_PM import EditCommand_PM [as 别名]
# 或者: from command_support.EditCommand_PM.EditCommand_PM import show [as 别名]
    def show(self):
        """
        Show the  motor Property Manager.
        """
        EditCommand_PM.show(self)
        #It turns out that if updateCosmeticProps is called before
        #EditCommand_PM.show, the 'preview' properties are not updated
        #when you are editing an existing R.Motor. Don't know the cause at this
        #time, issue is trivial. So calling it in the end -- Ninad 2007-10-03
        if self.command and self.command.struct:
            self.command.struct.updateCosmeticProps(previewing = True)

        self.updateAttachedAtomListWidget()
开发者ID:elfion,项目名称:nanoengineer,代码行数:15,代码来源:MotorPropertyManager.py

示例5: show

# 需要导入模块: from command_support.EditCommand_PM import EditCommand_PM [as 别名]
# 或者: from command_support.EditCommand_PM.EditCommand_PM import show [as 别名]
    def show(self):
        """
        Show the PM. Extends superclass method.
        @note: _update_UI_do_updates() gets called immediately after this and
               updates PM widgets with their correct values/settings.
        """

        env.history.statusbar_msg("")
        EditCommand_PM.show(self)

        # NOTE: Think about moving this msg to _update_UI_do_updates() where
        # custom msgs can be created based on the current selection, etc.
        # Mark 2008-12-14
        msg = "Select <b>Insert Nanotube</b> to create a nanotube or " "select an existing nantube to modify it."
        self.updateMessage(msg)
        return
开发者ID:alaindomissy,项目名称:nanoengineer,代码行数:18,代码来源:BuildNanotube_PropertyManager.py

示例6: show

# 需要导入模块: from command_support.EditCommand_PM import EditCommand_PM [as 别名]
# 或者: from command_support.EditCommand_PM.EditCommand_PM import show [as 别名]
    def show(self):
        """
        Show the Plane Property Manager.
        """
        EditCommand_PM.show(self)
        #It turns out that if updateCosmeticProps is called before 
        #EditCommand_PM.show, the 'preview' properties are not updated 
        #when you are editing an existing plane. Don't know the cause at this
        #time, issue is trivial. So calling it in the end -- Ninad 2007-10-03

        if self.editCommand.struct:

            plane = self.editCommand.struct 
            plane.updateCosmeticProps(previewing = True)
            if plane.imagePath:
                self.imageDisplayFileChooser.setText(plane.imagePath)
            self.imageDisplayCheckBox.setChecked(plane.display_image) 
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:19,代码来源:PlanePropertyManager.py

示例7: show

# 需要导入模块: from command_support.EditCommand_PM import EditCommand_PM [as 别名]
# 或者: from command_support.EditCommand_PM.EditCommand_PM import show [as 别名]
    def show(self):
        """
        Show the Plane Property Manager.
        """
        EditCommand_PM.show(self)
        #It turns out that if updateCosmeticProps is called before
        #EditCommand_PM.show, the 'preview' properties are not updated
        #when you are editing an existing plane. Don't know the cause at this
        #time, issue is trivial. So calling it in the end -- Ninad 2007-10-03

        if self.command.struct:

            plane = self.command.struct
            plane.updateCosmeticProps(previewing = True)
            if plane.imagePath:
                self.imageDisplayFileChooser.setText(plane.imagePath)
            self.imageDisplayCheckBox.setChecked(plane.display_image)

            #Make sure that the plane placement option is always set to
            #'Custom' when the Plane PM is shown. This makes sure that bugs like
            #2949 won't occur. Let the user change the plane placement option
            #explicitely
            button = self.pmPlacementOptions.getButtonById(3)
            button.setChecked(True)
开发者ID:alaindomissy,项目名称:nanoengineer,代码行数:26,代码来源:PlanePropertyManager.py

示例8: show

# 需要导入模块: from command_support.EditCommand_PM import EditCommand_PM [as 别名]
# 或者: from command_support.EditCommand_PM.EditCommand_PM import show [as 别名]
 def show(self):
     self.showProteinParametersAndSequenceEditor(self.win)
     EditCommand_PM.show(self)        
     
     return
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:7,代码来源:BuildProtein_PropertyManager.py


注:本文中的command_support.EditCommand_PM.EditCommand_PM.show方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。