Examples of doKeyPressed()


Examples of org.dyno.visual.swing.plugin.spi.CompositeAdapter.doKeyPressed()

      if (isMoved) {
        WidgetSelection selection = new WidgetSelection(root);
        Component child = selection.get(0);
        WidgetAdapter childAdapter = WidgetAdapter.getWidgetAdapter(child);
        CompositeAdapter parentAdapter = (CompositeAdapter) childAdapter.getParentAdapter();
        IUndoableOperation operation = parentAdapter.doKeyPressed(e);
        if (operation != null) {
          IOperationHistory operationHistory = PlatformUI.getWorkbench().getOperationSupport().getOperationHistory();
          operation.addContext(getUndoContext());
          try {
            operationHistory.execute(operation, null, null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.