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;
16 * Query object to let operations callback the actions. Example is a callback to
17 * ask if a existing method should be replaced.
19 public interface IRequestQuery {
22 public static final int CANCEL = 0;
24 public static final int NO = 1;
26 public static final int YES = 2;
28 public static final int YES_ALL = 3;
31 * Do the callback. Returns YES, NO, YES_ALL or CANCEL
33 int doQuery(IMember member);