@Dependent public class AppendDecisionShortcut extends AbstractAppendNodeShortcut implements KeyboardShortcut<AbstractCanvasHandler>
| Constructor and Description |
|---|
AppendDecisionShortcut(ToolboxDomainLookups toolboxDomainLookups,
org.kie.workbench.common.stunner.core.registry.impl.DefinitionsCacheRegistry definitionsCacheRegistry,
GeneralCreateNodeAction generalCreateNodeAction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAppendNodeOfDefinition(Object definition) |
boolean |
matchesPressedKeys(KeyboardEvent.Key... pressedKeys) |
boolean |
matchesSelectedElement(Element selectedElement) |
executeActionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteAction@Inject public AppendDecisionShortcut(ToolboxDomainLookups toolboxDomainLookups, org.kie.workbench.common.stunner.core.registry.impl.DefinitionsCacheRegistry definitionsCacheRegistry, GeneralCreateNodeAction generalCreateNodeAction)
public boolean matchesPressedKeys(KeyboardEvent.Key... pressedKeys)
matchesPressedKeys in interface KeyboardShortcut<AbstractCanvasHandler>public boolean matchesSelectedElement(Element selectedElement)
matchesSelectedElement in interface KeyboardShortcut<AbstractCanvasHandler>public boolean canAppendNodeOfDefinition(Object definition)
canAppendNodeOfDefinition in class AbstractAppendNodeShortcutCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.