W-CF Documentation - v11.0.0
Preparing search index...
core/cmd/InsertDeleteElements
AbstractInsertDeleteElements
Class AbstractInsertDeleteElements
Abstract
Hierarchy (
View Summary
)
AbstractCommand
AbstractInsertDeleteElements
DeleteElements
InsertElements
Index
Constructors
constructor
Properties
m
App
m
Element
Parents
m
Elements
m
Elements
Deleted
m
Element
Undo
Data
m
Node
Parents
Methods
delete
Elements
dispose
execute
insert
Elements
is
Available
is
Significant
is
Undoable
redo
undo
Constructors
constructor
new
AbstractInsertDeleteElements
(
pApp
:
Application
,
pElements
:
readonly
SceneElement
[]
,
)
:
AbstractInsertDeleteElements
Parameters
pApp
:
Application
pElements
:
readonly
SceneElement
[]
Returns
AbstractInsertDeleteElements
Properties
Protected
m
App
mApp
:
Application
Protected
m
Element
Parents
mElementParents
:
(
SceneElement
|
null
)
[]
Protected
m
Elements
mElements
:
SceneElement
[]
Protected
m
Elements
Deleted
mElementsDeleted
:
boolean
Protected
m
Element
Undo
Data
mElementUndoData
:
(
object
|
null
)
[]
Protected
m
Node
Parents
mNodeParents
:
(
Node
|
null
)
[]
Methods
Protected
delete
Elements
deleteElements
()
:
void
Returns
void
dispose
dispose
()
:
void
Returns
void
Abstract
execute
execute
(
pParameter
:
unknown
)
:
Promise
<
boolean
>
Executes the command. Returns false if the execution was canceled/aborted.
Parameters
pParameter
:
unknown
Returns
Promise
<
boolean
>
Protected
insert
Elements
insertElements
(
pAddToScene
:
boolean
)
:
void
Parameters
pAddToScene
:
boolean
Returns
void
is
Available
isAvailable
()
:
boolean
Returns
boolean
is
Significant
isSignificant
()
:
boolean
Returns
boolean
is
Undoable
isUndoable
()
:
boolean
Returns
boolean
redo
redo
()
:
Promise
<
void
>
Returns
Promise
<
void
>
undo
undo
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
m
App
m
Element
Parents
m
Elements
m
Elements
Deleted
m
Element
Undo
Data
m
Node
Parents
Methods
delete
Elements
dispose
execute
insert
Elements
is
Available
is
Significant
is
Undoable
redo
undo
W-CF Documentation - v11.0.0
Loading...
Executes the command. Returns false if the execution was canceled/aborted.