TraceOperationApprover.java
Go to the documentation of this file.00001 package edu.rice.cs.hpc.traceviewer.operation;
00002
00003 import org.eclipse.core.commands.operations.IOperationApprover;
00004 import org.eclipse.core.commands.operations.IOperationHistory;
00005 import org.eclipse.core.commands.operations.IUndoableOperation;
00006 import org.eclipse.core.runtime.IAdaptable;
00007 import org.eclipse.core.runtime.IStatus;
00008 import org.eclipse.core.runtime.Status;
00009
00010 public class TraceOperationApprover implements IOperationApprover {
00011
00012 @Override
00013 public IStatus proceedRedoing(IUndoableOperation operation,
00014 IOperationHistory history, IAdaptable info) {
00015 return Status.OK_STATUS;
00016 }
00017
00018 @Override
00019 public IStatus proceedUndoing(IUndoableOperation operation,
00020 IOperationHistory history, IAdaptable info) {
00021 return Status.OK_STATUS;
00022 }
00023
00024 }