71 auto& ctxMenu =
m_menu->GetMenu();
75 ctxMenu.AddSeparator( 1 );
111 switch( aItem->
Type() )
134 if( aUpdateRTree &&
dynamic_cast<SCH_ITEM*
>( aItem ) )
144 bool aDirtyConnectivity =
true )
159 wxCHECK_RET( editFrame, wxT(
"editFrame is null" ) );
166 wxASSERT( editFrame );
174 UNDO_REDO::CHANGED, aAppend,
181 UNDO_REDO::CHANGED, aAppend,
182 aDirtyConnectivity );
187 static_cast<SCH_ITEM*
>( aItem ), aType,
188 aAppend, aDirtyConnectivity );
static TOOL_ACTION cancelInteractive
A base class for most all the KiCad significant classes used in schematics and boards.
KICAD_T Type() const
Returns the type of object.
EDA_ITEM * GetParent() const
bool HasFlag(EDA_ITEM_FLAGS aFlag) const
virtual void Update(const VIEW_ITEM *aItem, int aUpdateFlags) const
For dynamic VIEWs, inform the associated VIEW that the graphical representation of this item has chan...
Define a library symbol object.
Schematic editor (Eeschema) main window.
SCH_SCREEN * GetScreen() const override
Return a pointer to a BASE_SCREEN or one of its derivatives.
void SaveCopyInUndoList(SCH_SCREEN *aScreen, SCH_ITEM *aItemToCopy, UNDO_REDO aTypeCommand, bool aAppend, bool aDirtyConnectivity=true)
Create a copy of the current schematic item, and put it in the undo list.
Base class for any item which can be embedded within the SCHEMATIC container class,...
static bool ShowAlways(const SELECTION &aSelection)
The default condition function (always returns true).
The symbol library editor main window.
void SaveCopyInUndoList(const wxString &aDescription, LIB_SYMBOL *aSymbol, UNDO_REDO aUndoType=UNDO_REDO::LIBEDIT)
Create a copy of the current symbol, and save it in the undo list.
#define SELECTED_BY_DRAG
Item was algorithmically selected as a dragged item.
@ FRAME_SCH_SYMBOL_EDITOR
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
UNDO_REDO
Undo Redo considerations: Basically we have 3 cases New item Deleted item Modified item there is also...