129
|
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 * Port to the D programming language:
|
|
11 * Frank Benoit <benoit@tionex.de>
|
|
12 *******************************************************************************/
|
|
13 module dwtx.jface.text.revisions.IRevisionRulerColumn;
|
|
14
|
|
15 import dwt.dwthelper.utils;
|
|
16
|
|
17 import dwtx.jface.text.source.IVerticalRulerColumn;
|
|
18 import dwtx.jface.text.source.IVerticalRulerInfo;
|
|
19 import dwtx.jface.text.source.IVerticalRulerInfoExtension;
|
|
20
|
|
21 /**
|
|
22 * A vertical ruler column capable of displaying revision (annotate) information.
|
|
23 *
|
|
24 * In order to provide backward compatibility for clients of
|
|
25 * <code>IRevisionRulerColumn</code>, extension interfaces are used as a means
|
|
26 * of evolution. The following extension interfaces exist:
|
|
27 * <ul>
|
|
28 * <li>{@link IRevisionRulerColumnExtension} since
|
|
29 * version 3.3 allowing to register a selection listener on revisions and a configurable rendering mode.
|
|
30 * </li>
|
|
31 * </ul>
|
|
32 *
|
|
33 * @since 3.2
|
|
34 * @see RevisionInformation
|
|
35 * @see IRevisionRulerColumnExtension
|
|
36 */
|
|
37 public interface IRevisionRulerColumn : IVerticalRulerColumn, IVerticalRulerInfo, IVerticalRulerInfoExtension {
|
|
38 /**
|
|
39 * Sets the revision information.
|
|
40 *
|
|
41 * @param info the new revision information, or <code>null</code> to reset the ruler
|
|
42 */
|
|
43 void setRevisionInformation(RevisionInformation info);
|
|
44 }
|