Draft: Edit, Remove all the empty pass functions

Remove unused functions. Since GuiTools objects inherit from the GuiTools class, they do not need those placeholders.
This commit is contained in:
carlopav
2021-05-24 23:10:55 +02:00
parent 4050f3ff69
commit aa7dddeecc
4 changed files with 0 additions and 98 deletions

View File

@@ -73,12 +73,6 @@ class ArchWallGuiTools(GuiTools):
if vz.Length > 0:
obj.Height = vz.Length
def get_edit_point_context_menu(self, obj, node_idx):
pass
def evaluate_context_menu_action(self, edit_command, obj, node_idx, action):
pass
class ArchWindowGuiTools(GuiTools):
@@ -112,12 +106,6 @@ class ArchWindowGuiTools(GuiTools):
for obj in obj.Hosts:
obj.recompute()
def get_edit_point_context_menu(self, obj, node_idx):
pass
def evaluate_context_menu_action(self, edit_command, obj, node_idx, action):
pass
class ArchStructureGuiTools(GuiTools):
@@ -138,12 +126,6 @@ class ArchStructureGuiTools(GuiTools):
nodes[node_idx] = v
obj.Nodes = nodes
def get_edit_point_context_menu(self, obj, node_idx):
pass
def evaluate_context_menu_action(self, edit_command, obj, node_idx, action):
pass
def get_object_style(self, obj):
return (obj.ViewObject.DisplayMode,
obj.ViewObject.NodeSize,
@@ -177,12 +159,6 @@ class ArchSpaceGuiTools(GuiTools):
if node_idx == 0:
obj.ViewObject.TextPosition = v
def get_edit_point_context_menu(self, obj, node_idx):
pass
def evaluate_context_menu_action(self, edit_command, obj, node_idx, action):
pass
class ArchPanelCutGuiTools(GuiTools):
@@ -202,12 +178,6 @@ class ArchPanelCutGuiTools(GuiTools):
if node_idx == 0:
obj.TagPosition = v
def get_edit_point_context_menu(self, obj, node_idx):
pass
def evaluate_context_menu_action(self, edit_command, obj, node_idx, action):
pass
class ArchPanelSheetGuiTools(GuiTools):
@@ -227,11 +197,4 @@ class ArchPanelSheetGuiTools(GuiTools):
else:
obj.Group[node_idx-1].Placement.Base = v
def get_edit_point_context_menu(self, obj, node_idx):
pass
def evaluate_context_menu_action(self, edit_command, obj, node_idx, action):
pass
## @}