75 ctxMenu.AddSeparator( 1 );
111 switch( aItem->
Type() )
133 if( aUpdateRTree &&
dynamic_cast<SCH_ITEM*
>( aItem ) )
141 bool aDirtyConnectivity =
true )
156 wxCHECK_RET( editFrame, wxT(
"editFrame is null" ) );
163 wxASSERT( editFrame );
171 UNDO_REDO::CHANGED, aAppend,
178 UNDO_REDO::CHANGED, aAppend,
179 aDirtyConnectivity );
184 static_cast<SCH_ITEM*
>( aItem ), aType,
185 aAppend, aDirtyConnectivity );
205 return VECTOR2I( aCoord.x, -aCoord.y );
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...
The base class for drawable items used by schematic library symbols.
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, EDA_ITEM *aItem, 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...