Commit | Line | Data |
---|---|---|
73005152 | 1 | /********************************************************************** |
57a2a5ca | 2 | * Copyright (c) 2005, 2013 IBM Corporation, Ericsson |
73005152 BH |
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 | |
c8422608 AM |
7 | * |
8 | * Contributors: | |
9 | * IBM - Initial API and implementation | |
10 | * Bernd Hufmann - Updated for TMF | |
73005152 | 11 | **********************************************************************/ |
c8422608 | 12 | |
73005152 BH |
13 | package org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings; |
14 | ||
15 | /** | |
df0b8ff4 | 16 | * Interface for handling a font resource. |
c8422608 | 17 | * |
df0b8ff4 | 18 | * @version 1.0 |
73005152 | 19 | * @author sveyrier |
73005152 BH |
20 | */ |
21 | public interface IFont { | |
22 | ||
23 | /** | |
24 | * Returns the contained font. Returned object must be an instance of org.eclipse.swt.graphics.Font if used with the | |
25 | * org.eclipse.linuxtools.tmf.ui.views.uml2sd.NGC graphical context | |
c8422608 | 26 | * |
73005152 BH |
27 | * @return the font |
28 | */ | |
57a2a5ca | 29 | Object getFont(); |
73005152 BH |
30 | |
31 | /** | |
32 | * Disposes the font | |
33 | */ | |
57a2a5ca | 34 | void dispose(); |
73005152 BH |
35 | |
36 | } |