1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/clipboardHandler.h"
2#ifndef _clipboardHandler
3#define _clipboardHandler
30 typedef std::shared_ptr<ClipboardHandler>
Ptr;
static PasteClipboardCommand::Ptr pasteCmd(const SceneItem::Ptr &parentItem)
virtual void preCopy_()=0
Utility method to perform any cleanup before the copy operation is executed.
ClipboardHandler(const ClipboardHandler &)=default
Default copy constructor.
static UndoableCommand::Ptr pasteCmd(const Selection &parentItems)
static UndoableCommand::Ptr cutCmd(const Selection &selection)
std::shared_ptr< ClipboardHandler > Ptr
virtual bool hasItemsToPaste_()=0
virtual UndoableCommand::Ptr copyCmd_(const Selection &selection)=0
virtual UndoableCommand::Ptr copyCmd_(const SceneItem::Ptr &item)
virtual UndoableCommand::Ptr pasteCmd_(const Selection &parentItems)=0
ClipboardHandler()=default
Constructor.
virtual ~ClipboardHandler()=default
Destructor.
static bool hasItemsToPaste(const Rtid &rtid)
virtual UndoableCommand::Ptr cutCmd_(const SceneItem::Ptr &item)
static bool canBeCut(const SceneItem::Ptr &item)
static UndoableCommand::Ptr copyCmd(const Selection &selection)
virtual void preCut_()=0
Utility method to perform any cleanup before the cut operation is executed.
virtual bool canBeCut_(const SceneItem::Ptr &item)=0
static Ptr clipboardHandler(Rtid)
virtual PasteClipboardCommand::Ptr pasteCmd_(const SceneItem::Ptr &parentItem)=0
virtual UndoableCommand::Ptr cutCmd_(const Selection &selection)=0
std::shared_ptr< PasteClipboardCommand > Ptr
std::shared_ptr< SceneItem > Ptr
Selection list for objects in the scene.
std::shared_ptr< UndoableCommand > Ptr
Definition of macros for symbol visibility.