KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > text > revisions > IRevisionRulerColumn


1 /*******************************************************************************
2  * Copyright (c) 2006 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.jface.text.revisions;
12
13 import org.eclipse.jface.text.source.IVerticalRulerColumn;
14 import org.eclipse.jface.text.source.IVerticalRulerInfo;
15 import org.eclipse.jface.text.source.IVerticalRulerInfoExtension;
16
17 /**
18  * A vertical ruler column capable of displaying revision (annotate) information.
19  *
20  * In order to provide backward compatibility for clients of
21  * <code>IRevisionRulerColumn</code>, extension interfaces are used as a means
22  * of evolution. The following extension interfaces exist:
23  * <ul>
24  * <li>{@link IRevisionRulerColumnExtension} since
25  * version 3.3 allowing to register a selection listener on revisions and a configurable rendering mode.
26  * </li>
27  * </ul>
28  *
29  * @since 3.2
30  * @see RevisionInformation
31  * @see IRevisionRulerColumnExtension
32  */

33 public interface IRevisionRulerColumn extends IVerticalRulerColumn, IVerticalRulerInfo, IVerticalRulerInfoExtension {
34     /**
35      * Sets the revision information.
36      *
37      * @param info the new revision information, or <code>null</code> to reset the ruler
38      */

39     void setRevisionInformation(RevisionInformation info);
40 }
Popular Tags