UndoableOperationContext.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
00006
00007
00008
00009
00010
00011
00012
00013 public class UndoableOperationContext implements IUndoContext {
00014
00015 private final static String label = "UndoableOperationContext";
00016
00017 @Override
00018 public String getLabel() {
00019 return label;
00020 }
00021
00022 @Override
00023 public boolean matches(IUndoContext context) {
00024 return context.getLabel() == label;
00025 }
00026
00027 }