The CmdProjectLibraryRemoveElement class.
More...
#include <cmdprojectlibraryremoveelement.h>
template<typename ElementType>
class librepcb::editor::CmdProjectLibraryRemoveElement< ElementType >
The CmdProjectLibraryRemoveElement class.
◆ CmdProjectLibraryRemoveElement()
template<typename ElementType >
◆ ~CmdProjectLibraryRemoveElement()
template<typename ElementType >
◆ performExecute()
template<typename ElementType >
Execute the command the first time.
- Note
- This method must be implemented in all derived classes. If the first time execution is exactly identical to an "redo" action, you can simple call librepcb::editor::UndoCommand::performRedo() in the implementation of this method.
- Return values
-
true | If the command has done some changes |
false | If the command has done nothing (the command can be deleted) |
Implements UndoCommand.
◆ performUndo()
template<typename ElementType >
Undo the command.
- Note
- This method must be implemented in all derived classes.
Implements UndoCommand.
◆ performRedo()
template<typename ElementType >
Redo the command.
- Note
- This method must be implemented in all derived classes.
Implements UndoCommand.
◆ addElement() [1/5]
template<typename ElementType >
◆ removeElement() [1/5]
template<typename ElementType >
◆ addElement() [2/5]
◆ addElement() [3/5]
◆ addElement() [4/5]
◆ addElement() [5/5]
◆ removeElement() [2/5]
◆ removeElement() [3/5]
◆ removeElement() [4/5]
◆ removeElement() [5/5]
◆ mLibrary
template<typename ElementType >
◆ mElement
template<typename ElementType >
The documentation for this class was generated from the following files: