Examples of CutOperation


Examples of org.dyno.visual.swing.undo.CutOperation

      adapter.setHotspotPoint(new Point(child.getWidth()/2, child.getHeight()/2));
      designer.getClipboard().add(adapter);
    }
    IOperationHistory operationHistory = PlatformUI.getWorkbench()
        .getOperationSupport().getOperationHistory();
    IUndoableOperation operation = new CutOperation(designer.getSelectedComponents());
    operation.addContext(designer.getUndoContext());
    try {
      operationHistory.execute(operation, null, null);
    } catch (ExecutionException e) {
      VisualSwingPlugin.getLogger().error(e);
    }
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.