Package org.eclipse.core.commands.operations

Examples of org.eclipse.core.commands.operations.IUndoContext.matches()


    // in our context.
    if (uiInfo != null) {
      IUndoContext originatingContext = (IUndoContext) Util.getAdapter(uiInfo,
          IUndoContext.class);
      if (originatingContext != null
          && !(originatingContext.matches(context))) {
        return false;
      }
    }

    return true;
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.