Commit | Line | Data |
---|---|---|
73005152 BH |
1 | /********************************************************************** |
2 | * Copyright (c) 2005, 2006, 2011 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 | * $Id: IFont.java,v 1.2 2006/09/20 20:56:27 ewchan Exp $ | |
8 | * | |
9 | * Contributors: | |
10 | * IBM - Initial API and implementation | |
11 | * Bernd Hufmann - Updated for TMF | |
12 | **********************************************************************/ | |
13 | package org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings; | |
14 | ||
15 | /** | |
16 | * @author sveyrier | |
17 | * | |
18 | */ | |
19 | public interface IFont { | |
20 | ||
21 | /** | |
22 | * Returns the contained font. Returned object must be an instance of org.eclipse.swt.graphics.Font if used with the | |
23 | * org.eclipse.linuxtools.tmf.ui.views.uml2sd.NGC graphical context | |
24 | * | |
25 | * @return the font | |
26 | */ | |
27 | public Object getFont(); | |
28 | ||
29 | /** | |
30 | * Disposes the font | |
31 | */ | |
32 | public void dispose(); | |
33 | ||
34 | } |