Commit | Line | Data |
---|---|---|
73005152 | 1 | /********************************************************************** |
c8422608 | 2 | * Copyright (c) 2005, 2012 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 color resource. |
c8422608 | 17 | * |
df0b8ff4 | 18 | * @version 1.0 |
73005152 | 19 | * @author sveyrier |
73005152 BH |
20 | */ |
21 | public interface IColor { | |
22 | ||
23 | /** | |
24 | * Returns the contained color. Returned object must be an instance of org.eclipse.swt.graphics.Color if used with | |
25 | * the org.eclipse.linuxtools.tmf.ui.views.uml2sd.NGC graphical context | |
c8422608 | 26 | * |
73005152 BH |
27 | * @return the color |
28 | */ | |
29 | public Object getColor(); | |
30 | ||
31 | /** | |
32 | * Disposes the color | |
33 | */ | |
34 | public void dispose(); | |
35 | ||
36 | } |