1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.jdt.ui; 12 13 /** 14 * Interface used for Java element content providers to indicate that 15 * the content provider can return working copy elements for members 16 * below compilation units. 17 * 18 * <p> 19 * This interface is not intended to be implemented by clients. 20 * </p> 21 * 22 * @see org.eclipse.jdt.ui.StandardJavaElementContentProvider 23 * 24 * @since 2.0 25 */ 26 public interface IWorkingCopyProvider { 27 28 /** 29 * Returns <code>true</code> if the content provider returns working 30 * copy elements; otherwise <code>false</code> is returned. 31 * 32 * @return whether working copy elements are provided. 33 */ 34 public boolean providesWorkingCopies(); 35 } 36