01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.texteditor;
11:
12: /**
13: * Extension interface for {@link org.eclipse.ui.texteditor.IDocumentProvider}. The method
14: * <code>isSynchronized</code> replaces the original <code>getSynchronizationStamp</code> method.
15: *
16: * @since 3.0
17: */
18: public interface IDocumentProviderExtension3 {
19:
20: /**
21: * Returns whether the information provided for the given element is in sync with the element.
22: *
23: * @param element the element
24: * @return <code>true</code> if the information is in sync with the element, <code>false</code> otherwise
25: */
26: boolean isSynchronized(Object element);
27: }
|