Commit | Line | Data |
---|---|---|
73005152 | 1 | /********************************************************************** |
df0b8ff4 BH |
2 | * Copyright (c) 2005, 2006 IBM Corporation and others. |
3 | * Copyright (c) 2011, 2012 Ericsson. | |
4 | * | |
73005152 BH |
5 | * All rights reserved. This program and the accompanying materials |
6 | * are made available under the terms of the Eclipse Public License v1.0 | |
7 | * which accompanies this distribution, and is available at | |
8 | * http://www.eclipse.org/legal/epl-v10.html | |
73005152 BH |
9 | * |
10 | * Contributors: | |
11 | * IBM - Initial API and implementation | |
12 | * Bernd Hufmann - Updated for TMF | |
13 | **********************************************************************/ | |
14 | package org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings; | |
15 | ||
16 | /** | |
df0b8ff4 BH |
17 | * Interface for handling a color resource. |
18 | * | |
19 | * @version 1.0 | |
73005152 BH |
20 | * @author sveyrier |
21 | * | |
22 | */ | |
23 | public interface IColor { | |
24 | ||
25 | /** | |
26 | * Returns the contained color. Returned object must be an instance of org.eclipse.swt.graphics.Color if used with | |
27 | * the org.eclipse.linuxtools.tmf.ui.views.uml2sd.NGC graphical context | |
28 | * | |
29 | * @return the color | |
30 | */ | |
31 | public Object getColor(); | |
32 | ||
33 | /** | |
34 | * Disposes the color | |
35 | */ | |
36 | public void dispose(); | |
37 | ||
38 | } |