本文整理汇总了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()
示例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
示例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>" )
示例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()
示例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
示例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)
示例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)
示例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