Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 22866c1c9faaa2ef16defbf5c09a43a4833ff87d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**********************************************************************
Copyright (c) 2000, 2003 IBM Corp. and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Common Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/cpl-v10.html

Contributors:
	IBM Corporation - Initial implementation
**********************************************************************/
package org.eclipse.core.filebuffers;


import org.eclipse.core.runtime.IPath;

import org.eclipse.jface.text.source.IAnnotationModel;


/**
 * Factory for text file buffer annotation models. Used by the text file buffer
 * manager to create the annotation model for a new text file buffer.
 * 
 * @since 3.0
 */
public interface IAnnotationModelFactory {
	
	/**
	 * Creates and returns a new annotation model.
	 * 
	 * @return a new annotation model
	 */
	IAnnotationModel createAnnotationModel(IPath location);
}

Back to the top