summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNinad Sathaye <ninad@nanorex.com>2008-09-17 18:17:52 +0000
committerNinad Sathaye <ninad@nanorex.com>2008-09-17 18:17:52 +0000
commitfb3b89972c6f037266aec40ae363d59b6ef6c556 (patch)
tree193f6f9fd58256f5ade5b695c219ffbea82289ce
parentdcfee4ea429e6947555503277d73403d87eac1cf (diff)
downloadnanoengineer-theirix-fb3b89972c6f037266aec40ae363d59b6ef6c556.tar.gz
nanoengineer-theirix-fb3b89972c6f037266aec40ae363d59b6ef6c556.zip
FlyoutToolbar_class for more commands; updated command_porting_status for some
-rwxr-xr-xcad/src/commands/Fuse/FuseChunks_Command.py1
-rw-r--r--cad/src/commands/LinearMotorProperties/LinearMotor_EditCommand.py2
-rw-r--r--cad/src/commands/PartLibrary/PartLibrary_Command.py9
-rw-r--r--cad/src/commands/Paste/PasteFromClipboard_Command.py4
4 files changed, 16 insertions, 0 deletions
diff --git a/cad/src/commands/Fuse/FuseChunks_Command.py b/cad/src/commands/Fuse/FuseChunks_Command.py
index 0ccca943b..291737388 100755
--- a/cad/src/commands/Fuse/FuseChunks_Command.py
+++ b/cad/src/commands/Fuse/FuseChunks_Command.py
@@ -61,6 +61,7 @@ class FuseChunks_Command(Move_Command, fusechunksBase):
# class constants
PM_class = FusePropertyManager
GraphicsMode_class = FuseChunks_GraphicsMode
+ FlyoutToolbar_class = FuseFlyout
commandName = 'FUSECHUNKS'
featurename = "Fuse Chunks Mode"
diff --git a/cad/src/commands/LinearMotorProperties/LinearMotor_EditCommand.py b/cad/src/commands/LinearMotorProperties/LinearMotor_EditCommand.py
index bb8edae79..95ff95c47 100644
--- a/cad/src/commands/LinearMotorProperties/LinearMotor_EditCommand.py
+++ b/cad/src/commands/LinearMotorProperties/LinearMotor_EditCommand.py
@@ -23,6 +23,8 @@ class LinearMotor_EditCommand(Motor_EditCommand):
The editCommand, depending on what client code needs it to do, may create
a new linear motor or it may be used for an existing linear motor.
"""
+ #Temporary attr 'command_porting_status. See baseCommand for details.
+ command_porting_status = None #fully ported.
PM_class = LinearMotorPropertyManager
cmd = greenmsg("Linear Motor: ")
diff --git a/cad/src/commands/PartLibrary/PartLibrary_Command.py b/cad/src/commands/PartLibrary/PartLibrary_Command.py
index 1212950d3..35deda705 100644
--- a/cad/src/commands/PartLibrary/PartLibrary_Command.py
+++ b/cad/src/commands/PartLibrary/PartLibrary_Command.py
@@ -43,12 +43,21 @@ class PartLibrary_Command(PasteFromClipboard_Command):
of an existing model. User can return to previous mode by hitting 'Escape'
key or pressing 'Done' button in this mode.
"""
+ #Temporary attr 'command_porting_status. See baseCommand for details.
+ command_porting_status = None #fully ported.
+
commandName = 'PARTLIB'
featurename = "Part Library"
from utilities.constants import CL_EDIT_GENERIC
command_level = CL_EDIT_GENERIC
GraphicsMode_class = PartLibrary_GraphicsMode
+
+ #Property Manager
+ PM_class = PartLibPropertyManager
+
+ #Flyout Toolbar
+ FlyoutToolbar_class = PartLibraryFlyout
def _createFlyoutToolBarObject(self):
"""
diff --git a/cad/src/commands/Paste/PasteFromClipboard_Command.py b/cad/src/commands/Paste/PasteFromClipboard_Command.py
index cb5f9e99d..e1e3a8761 100644
--- a/cad/src/commands/Paste/PasteFromClipboard_Command.py
+++ b/cad/src/commands/Paste/PasteFromClipboard_Command.py
@@ -48,6 +48,10 @@ class PasteFromClipboard_Command(BuildAtoms_Command):
current selected item in its 'Preview' box. User can return to previous mode
by hitting 'Escape' key or pressing 'Done' button in the Paste mode.
"""
+ #Temporary attr 'command_porting_status. See baseCommand for details.
+ command_porting_status = "NOT_PORTED: 2008-09-17: need PM_class, flyout class and need to port model_changed etc"
+
+
commandName = 'PASTE'
featurename = "Paste From Clipboard"
from utilities.constants import CL_EDIT_GENERIC