Commit | Line | Data |
---|---|---|
73005152 | 1 | /********************************************************************** |
2c7fb5af | 2 | * Copyright (c) 2005, 2015 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 | |
2bdf0193 | 13 | package org.eclipse.tracecompass.tmf.ui.views.uml2sd.drawings; |
73005152 BH |
14 | |
15 | /** | |
df0b8ff4 | 16 | * Interface for handling a image resource. |
c8422608 | 17 | * |
df0b8ff4 | 18 | * @version 1.0 |
73005152 | 19 | * @author sveyrier |
c8422608 | 20 | * |
73005152 BH |
21 | */ |
22 | public interface IImage { | |
23 | ||
24 | /** | |
25 | * Returns the contained image. Returned object must be an instance of org.eclipse.swt.graphics.Image if used with | |
2c7fb5af | 26 | * the org.eclipse.tracecompass.tmf.ui.views.uml2sd.NGC graphical context |
c8422608 | 27 | * |
73005152 BH |
28 | * @return the color |
29 | */ | |
57a2a5ca | 30 | Object getImage(); |
73005152 BH |
31 | |
32 | /** | |
33 | * Disposes the image | |
34 | */ | |
57a2a5ca | 35 | void dispose(); |
73005152 BH |
36 | |
37 | } |