public abstract class AbstractCanvasShortcutsControlImpl extends AbstractCanvasHandlerRegistrationControl<AbstractCanvasHandler> implements CanvasControl.SessionAware<EditorSession>, KeyboardControl.KeyShortcutCallback
CanvasControl.SessionAware<S extends ClientSession>| Modifier and Type | Field and Description |
|---|---|
protected EditorSession |
editorSession |
canvasHandler| Constructor and Description |
|---|
AbstractCanvasShortcutsControlImpl(javax.enterprise.inject.Instance<KeyboardShortcut> keyboardShortcutActions) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(EditorSession session) |
void |
onKeyShortcut(KeyboardEvent.Key... keys) |
void |
register(Element element) |
Element |
selectedNodeElement() |
String |
selectedNodeId() |
checkEventContext, checkNotRegistered, clear, deregister, deregister, doClear, doDestroy, doInit, getRegisteredElements, isRegistered, isRegistered, registerHandler, updatedestroy, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, initprotected EditorSession editorSession
@Inject public AbstractCanvasShortcutsControlImpl(javax.enterprise.inject.Instance<KeyboardShortcut> keyboardShortcutActions)
public void register(Element element)
register in interface CanvasRegistrationControl<AbstractCanvasHandler,Element>public void bind(EditorSession session)
bind in interface CanvasControl.SessionAware<EditorSession>public void onKeyShortcut(KeyboardEvent.Key... keys)
onKeyShortcut in interface KeyboardControl.KeyShortcutCallbackpublic String selectedNodeId()
public Element selectedNodeElement()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.