Package org.dyno.visual.swing.borders.undo

Examples of org.dyno.visual.swing.borders.undo.BorderSwitchOperation


 
  @Override
  public void run() {
    Border border = target.getBorder();
    if (border == null || border.getClass() != borderClass) {
      IUndoableOperation operation = new BorderSwitchOperation(target, factory);
      WidgetAdapter targetAdapter = WidgetAdapter.getWidgetAdapter(target);
      operation.addContext(targetAdapter.getUndoContext());
      IOperationHistory history = PlatformUI.getWorkbench().getOperationSupport().getOperationHistory();
      try {
        history.execute(operation, null, null);
        setChecked(true);
      } catch (ExecutionException e) {
View Full Code Here

TOP

Related Classes of org.dyno.visual.swing.borders.undo.BorderSwitchOperation

Copyright © 2018 www.massapicom. 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.