diff options
author | Bruce Smith <bruce@nanorex.com> | 2008-08-15 18:26:42 +0000 |
---|---|---|
committer | Bruce Smith <bruce@nanorex.com> | 2008-08-15 18:26:42 +0000 |
commit | a29bc33790c60feebbe633866e43bade91ac2d23 (patch) | |
tree | bbb10144df9bb95ff77e1f19afe1631ba40f3012 | |
parent | e734aa94c47e7032d156ffc38b0d2f977731f16f (diff) | |
download | nanoengineer-a29bc33790c60feebbe633866e43bade91ac2d23.tar.gz nanoengineer-a29bc33790c60feebbe633866e43bade91ac2d23.zip |
remove commented-out code and docstring content
-rw-r--r-- | cad/src/cnt/temporary_commands/NanotubeLineMode.py | 10 | ||||
-rwxr-xr-x | cad/src/commands/Move/Move_Command.py | 6 | ||||
-rw-r--r-- | cad/src/dna/temporary_commands/DnaLineMode.py | 11 | ||||
-rw-r--r-- | cad/src/temporary_commands/LineMode.py | 10 |
4 files changed, 2 insertions, 35 deletions
diff --git a/cad/src/cnt/temporary_commands/NanotubeLineMode.py b/cad/src/cnt/temporary_commands/NanotubeLineMode.py index a1fd46448..f19b0fabf 100644 --- a/cad/src/cnt/temporary_commands/NanotubeLineMode.py +++ b/cad/src/cnt/temporary_commands/NanotubeLineMode.py @@ -97,17 +97,7 @@ class NanotubeLineMode(LineMode): # not used as of 080111, see docstring """ [no longer used as of 080111, see details below] Encapsulates the LineMode functionality. -## Example: [the following info is out of date as of before 080801] -## User is working in selectMolsMode, Now he enters a temporary mode -## called CntLine mode, where, he clicks two points in the 3Dworkspace -## and expects to create a CNT using the points he clicked as endpoints. -## Internally, the program returns to the previous mode after two clicks. -## The temporary mode sends this information to the method defined in -## the previous mode called acceptParamsFromTemporaryMode and then the -## previous mode (selectMolsMode) can use it further to create a dna @see: L{LineMode} -## @see: selectMolsMode.provideParamsForTemporaryMode comments for -## related TODOs. @see: InsertNanotube_EditCommand.getCursorText() NOTE: [2008-01-11] diff --git a/cad/src/commands/Move/Move_Command.py b/cad/src/commands/Move/Move_Command.py index 0d23635b2..1b16e2c35 100755 --- a/cad/src/commands/Move/Move_Command.py +++ b/cad/src/commands/Move/Move_Command.py @@ -1,4 +1,4 @@ -# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. +# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details. """ Move_Command.py @@ -14,7 +14,7 @@ For example: to override them). @version: $Id$ -@copyright: 2004-2007 Nanorex, Inc. See LICENSE file for details. +@copyright: 2004-2008 Nanorex, Inc. See LICENSE file for details. History: @@ -236,7 +236,6 @@ class Move_basicCommand(SelectChunks_basicCommand): # following was revised by bruce 080801 self.commandSequencer.callRequestCommand( 'RotateAboutPoint', - ## provide_arguments = self.provideParamsForTemporaryMode, arguments = (2,), # number of mouse click points to accept accept_results = self._acceptRotateAboutPointResults ) @@ -269,7 +268,6 @@ class Move_basicCommand(SelectChunks_basicCommand): self.propMgr.updateMessage(msg) # following was revised by bruce 080801 self.commandSequencer.callRequestCommand( 'LineMode', - ## provide_arguments = self.provideParamsForTemporaryMode, arguments = (2,), # number of mouse click points to accept accept_results = self._acceptLineModePoints ) diff --git a/cad/src/dna/temporary_commands/DnaLineMode.py b/cad/src/dna/temporary_commands/DnaLineMode.py index 3aabb7638..d204a1ec7 100644 --- a/cad/src/dna/temporary_commands/DnaLineMode.py +++ b/cad/src/dna/temporary_commands/DnaLineMode.py @@ -177,18 +177,7 @@ class DnaLineMode(LineMode): # not used as of 080111, see docstring """ [no longer used as of 080111, see details below] Encapsulates the LineMode functionality. -## Example: [the following info is out of date as of before 080801] -## User is working in selectMolsMode, Now he enters a temporary mode -## called DnaLine mode, where, he clicks two points in the 3Dworkspace -## and expects to create a DNA using the points he clicked as endpoints. -## Internally, the program returns to the previous mode after two clicks. -## The temporary mode sends this information to the method defined in -## the previous mode called acceptParamsFromTemporaryMode and then the -## previous mode (selectMolsMode) can use it further to create a dna @see: L{LineMode} -## @see: selectMolsMode.provideParamsForTemporaryMode comments for -## related TODOs. -## @see: DnaDuplex_EditCommand.provideParamsForTemporaryMode @see: DnaDuplex_EditCommand.getCursorText NOTE: [2008-01-11] diff --git a/cad/src/temporary_commands/LineMode.py b/cad/src/temporary_commands/LineMode.py index c88b36939..0ce1cff65 100644 --- a/cad/src/temporary_commands/LineMode.py +++ b/cad/src/temporary_commands/LineMode.py @@ -45,17 +45,7 @@ class LineMode_GM( Select_GraphicsMode ): as endpoints and then returns to the previous mode when the mouseClickLimit specified by the user is reached. -## Example use: [note: the following info is out of date as of before 080801] -## User is working in selectMolsMode, Now he enters a temporary mode -## called DnaLine mode, where, he clicks two points in the 3Dworkspace -## and expects to create a DNA using the points he clicked as endpoints. -## Internally, the program returns to the previous mode after two clicks. -## The temporary mode sends this information to the method defined in -## the previous mode called acceptParamsFromTemporaryMode and then the -## previous mode (selectMolsMode) can use it further to create a dna @see: L{DnaLineMode} -## @see: selectMolsMode.provideParamsForTemporaryMode comments for -## related TODOs. TODO: -Need further documentation. |