Search in sources :

Example 1 with ContentProposalViewerKeyHandler

use of org.yakindu.sct.ui.editor.proposals.ContentProposalViewerKeyHandler in project statecharts by Yakindu.

the class StatechartDiagramEditor method createContentProposalViewerKeyHandler.

protected void createContentProposalViewerKeyHandler() {
    ContentProposalViewerKeyHandler contentProposalHandler = new ContentProposalViewerKeyHandler(getGraphicalViewer());
    contentProposalHandler.setParent(new DiagramGraphicalViewerKeyHandler(getGraphicalViewer()).setParent(getKeyHandler()));
    getGraphicalViewer().setKeyHandler(contentProposalHandler);
}
Also used : DiagramGraphicalViewerKeyHandler(org.eclipse.gmf.runtime.diagram.ui.internal.parts.DiagramGraphicalViewerKeyHandler) ContentProposalViewerKeyHandler(org.yakindu.sct.ui.editor.proposals.ContentProposalViewerKeyHandler)

Aggregations

DiagramGraphicalViewerKeyHandler (org.eclipse.gmf.runtime.diagram.ui.internal.parts.DiagramGraphicalViewerKeyHandler)1 ContentProposalViewerKeyHandler (org.yakindu.sct.ui.editor.proposals.ContentProposalViewerKeyHandler)1