@Dependent public class AppendDecisionShortcut extends AbstractAppendNodeShortcut implements KeyboardShortcut<AbstractCanvasHandler>
Constructor and Description |
---|
AppendDecisionShortcut(ToolboxDomainLookups toolboxDomainLookups,
DefinitionsCacheRegistry definitionsCacheRegistry,
GeneralCreateNodeAction generalCreateNodeAction) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAppendNodeOfDefinition(Object definition) |
boolean |
matchesPressedKeys(KeyboardEvent.Key... pressedKeys) |
boolean |
matchesSelectedElement(Element selectedElement) |
executeAction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeAction
@Inject public AppendDecisionShortcut(ToolboxDomainLookups toolboxDomainLookups, DefinitionsCacheRegistry definitionsCacheRegistry, @Default 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 AbstractAppendNodeShortcut
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.