BufferOperationContext.java
Go to the documentation of this file.00001 package edu.rice.cs.hpc.traceviewer.operation;
00002
00003 import org.eclipse.core.commands.operations.IUndoContext;
00004
00005 public class BufferOperationContext implements IUndoContext
00006 {
00007 private final static String label = "BufferOperationContext";
00008 @Override
00009 public String getLabel() {
00010 return label;
00011 }
00012
00013 @Override
00014 public boolean matches(IUndoContext context) {
00015 return context.getLabel()==label;
00016 }
00017
00018 }