blob: b4dd0c63a4e81336af7af4741acee2530db9d22d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*******************************************************************************
* Copyright (c) 2010 protos software gmbh (http://www.protos.de).
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* CONTRIBUTORS:
* Thomas Schuetz and Henrik Rentz-Reichert (initial contribution)
*
*******************************************************************************/
package org.eclipse.etrice.ui.structure;
import org.eclipse.graphiti.ui.platform.AbstractImageProvider;
public class ImageProvider extends AbstractImageProvider {
// The prefix for all identifiers of this image provider
protected static final String PREFIX = "org.eclipse.etrice.ui.structure.";
// The image identifier for an EReference.
public static final String IMG_PORT = PREFIX + "port";
public static final String IMG_SPP = PREFIX + "spp";
public static final String IMG_REF = PREFIX + "ref";
public static final String IMG_BINDING = PREFIX + "binding";
public static final String IMG_LAYER_CONNECTION = PREFIX + "layer_connection";
@Override
protected void addAvailableImages() {
addImageFilePath(IMG_PORT, "icons/Port.gif");
addImageFilePath(IMG_SPP, "icons/SPP.gif");
addImageFilePath(IMG_REF, "icons/ActorRef.gif");
addImageFilePath(IMG_BINDING, "icons/Binding.gif");
addImageFilePath(IMG_LAYER_CONNECTION, "icons/LayerConnection.gif");
}
}
|