public abstract class AddCommandFactoryBase extends CommandFactoryBase
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
oneShot
If true, the command should create just one element
before auto-stopping, otherwise, it should keep building
commands until explicitely stopped
|
protected SVGModel |
owner
The SVG model to which the element will be added
|
status| Constructor and Description |
|---|
AddCommandFactoryBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyCssContextStyle(org.vectomatic.dom.svg.impl.SVGElement element) |
protected void |
createCommand(org.vectomatic.dom.svg.OMSVGElement svgElement) |
void |
start(Object requester)
Invoked when the user selects this command factory (through
the command toolbar, the context menu, or implicitely by editing
a field in the inspector).
|
getStatus, stop, updateStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstantiatorprotected SVGModel owner
protected boolean oneShot
public void start(Object requester)
ICommandFactorystart in interface ICommandFactorystart in class CommandFactoryBaserequester - The object requesting this command to startprotected void createCommand(org.vectomatic.dom.svg.OMSVGElement svgElement)
protected void applyCssContextStyle(org.vectomatic.dom.svg.impl.SVGElement element)
Copyright © 2018. All Rights Reserved.