KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > texteditor > IDocumentProviderExtension3


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.ui.texteditor;
12
13
14 /**
15  * Extension interface for {@link org.eclipse.ui.texteditor.IDocumentProvider}. The method
16  * <code>isSynchronized</code> replaces the original <code>getSynchronizationStamp</code> method.
17  *
18  * @since 3.0
19  */

20 public interface IDocumentProviderExtension3 {
21
22     /**
23      * Returns whether the information provided for the given element is in sync with the element.
24      *
25      * @param element the element
26      * @return <code>true</code> if the information is in sync with the element, <code>false</code> otherwise
27      */

28     boolean isSynchronized(Object JavaDoc element);
29 }
30
Popular Tags