]>
Commit | Line | Data |
---|---|---|
1b2798f6 EK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2000, 2008 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 | * @noimplement This interface is not intended to be implemented by clients. | |
27 | * @noextend This interface is not intended to be extended by clients. | |
28 | */ | |
29 | public interface IWorkingCopyProvider { | |
30 | ||
31 | /** | |
32 | * Returns <code>true</code> if the content provider returns working | |
33 | * copy elements; otherwise <code>false</code> is returned. | |
34 | * | |
35 | * @return whether working copy elements are provided. | |
36 | */ | |
37 | public boolean providesWorkingCopies(); | |
38 | } |