def toolbox_metaclass(self): return PlacementTool(self.view, item_factory=self._namespace_item_factory( items.MetaclassItem, UML.Class, 'metaclass', name='Class'), handle_index=SE, after_handler=self._after_handler)
def toolbox_history_pseudostate(self): def set_state(item): item.subject.kind = 'shallowHistory' return PlacementTool(self.view, item_factory=self._item_factory( items.HistoryPseudostateItem, UML.Pseudostate, set_state), handle_index=SE, after_handler=self._after_handler)
def toolbox_initial_pseudostate(self): def set_state(item): item.subject.kind = 'initial' return PlacementTool(self.view, item_factory=self._item_factory( items.InitialPseudostateItem, UML.Pseudostate, set_state), handle_index=SE, after_handler=self._after_handler)
def toolbox_actor(self): return PlacementTool(self.view, item_factory=self._namespace_item_factory( items.ActorItem, UML.Actor), handle_index=SE, after_handler=self._after_handler)
def toolbox_final_state(self): return PlacementTool(self.view, item_factory=self._item_factory( items.FinalStateItem, UML.FinalState), handle_index=SE, after_handler=self._after_handler)
def toolbox_ellipse(self): return PlacementTool(self.view, item_factory=self._item_factory(items.Ellipse), handle_index=SE, after_handler=self._after_handler)
def toolbox_stereotype(self): return PlacementTool(self.view, item_factory=self._namespace_item_factory( items.ClassItem, UML.Stereotype), handle_index=SE, after_handler=self._after_handler)
def toolbox_profile(self): return PlacementTool(self.view, item_factory=self._namespace_item_factory( items.PackageItem, UML.Profile), handle_index=SE, after_handler=self._after_handler)
def toolbox_connector(self): return PlacementTool(self.view, item_factory=self._item_factory( items.ConnectorItem), after_handler=self._after_handler)
def toolbox_implementation(self): return PlacementTool(self.view, item_factory=self._item_factory( items.ImplementationItem), after_handler=self._after_handler)
def toolbox_generalization(self): return PlacementTool(self.view, item_factory=self._item_factory( items.GeneralizationItem), after_handler=self._after_handler)
def toolbox_dependency(self): return PlacementTool(self.view, item_factory=self._item_factory( items.DependencyItem), after_handler=self._after_handler)
def toolbox_comment_line(self): return PlacementTool(self.view, item_factory=self._item_factory( items.CommentLineItem), after_handler=self._after_handler)
def toolbox_comment(self): return PlacementTool(self.view, item_factory=self._item_factory( items.CommentItem, UML.Comment), handle_index=SE, after_handler=self._after_handler)
def toolbox_usecase_association(self): return PlacementTool(self.view, item_factory=self._item_factory( items.AssociationItem), after_handler=self._after_handler)
def toolbox_include(self): return PlacementTool(self.view, item_factory=self._item_factory( items.IncludeItem), after_handler=self._after_handler)
def toolbox_flow(self): return PlacementTool(self.view, item_factory=self._item_factory(items.FlowItem), after_handler=self._after_handler)
def toolbox_interaction(self): return PlacementTool(self.view, item_factory=self._namespace_item_factory( items.InteractionItem, UML.Interaction), handle_index=SE, after_handler=self._after_handler)
def toolbox_message(self): return PlacementTool(self.view, item_factory=self._item_factory( items.MessageItem), after_handler=self._after_handler)
def toolbox_extension(self): return PlacementTool(self.view, item_factory=self._item_factory( items.ExtensionItem), after_handler=self._after_handler)
def toolbox_line(self): return PlacementTool(self.view, item_factory=self._item_factory(items.Line), after_handler=self._after_handler)