| /******************************************************************************* |
| * Copyright (c) 2000, 2007 IBM Corporation and others. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| |
| *******************************************************************************/ |
| package org.eclipse.dltk.internal.corext.refactoring.reorg; |
| |
| |
| public interface IReorgQueries { |
| public static final int CONFIRM_DELETE_GETTER_SETTER= 1; |
| public static final int CONFIRM_DELETE_EMPTY_CUS= 2; |
| public static final int CONFIRM_DELETE_REFERENCED_ARCHIVES= 3; |
| public static final int CONFIRM_DELETE_FOLDERS_CONTAINING_SOURCE_FOLDERS= 4; |
| public static final int CONFIRM_READ_ONLY_ELEMENTS= 5; |
| public static final int CONFIRM_OVERWRITTING= 6; |
| public static final int CONFIRM_SKIPPING= 7; |
| public static final int CONFIRM_DELETE_LINKED_PARENT= 8; |
| |
| /* |
| * The ID is used to uniquely identify a query. It's also useful for testing. |
| */ |
| IConfirmQuery createYesYesToAllNoNoToAllQuery(String queryTitle, boolean allowCancel, int queryID); |
| |
| /* |
| * The ID is used to uniquely identify a query. It's also useful for testing. |
| */ |
| IConfirmQuery createYesNoQuery(String queryTitle, boolean allowCancel, int queryID); |
| |
| /* |
| * The ID is used to uniquely identify a query. It's also useful for testing. |
| */ |
| IConfirmQuery createSkipQuery(String queryTitle, int queryID); |
| } |