1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.internal.corext.codemanipulation;
13 import net.sourceforge.phpdt.core.IMember;
17 * Query object to let operations callback the actions.
18 * Example is a callback to ask if a existing method should be replaced.
20 public interface IRequestQuery {
23 public static final int CANCEL= 0;
24 public static final int NO= 1;
25 public static final int YES= 2;
26 public static final int YES_ALL= 3;
29 * Do the callback. Returns YES, NO, YES_ALL or CANCEL
31 int doQuery(IMember member);