blob: 5e360456c135e6dcc71acce6133b1b3232e38eda (
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
39
40
|
/*******************************************************************************
* 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.behavior;
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.behavior.";
// The image identifier for an EReference.
public static final String IMG_STATE = PREFIX + "state";
public static final String IMG_TRPOINT = PREFIX + "trpoint";
public static final String IMG_ENTRYPOINT = PREFIX + "entrypoint";
public static final String IMG_EXITPOINT = PREFIX + "exitpoint";
public static final String IMG_CP = PREFIX + "cp";
public static final String IMG_TRANSITION = PREFIX + "transition";
@Override
protected void addAvailableImages() {
addImageFilePath(IMG_STATE, "icons/State.gif");
addImageFilePath(IMG_TRPOINT, "icons/TrPoint.gif");
addImageFilePath(IMG_ENTRYPOINT, "icons/EntryPoint.gif");
addImageFilePath(IMG_EXITPOINT, "icons/ExitPoint.gif");
addImageFilePath(IMG_CP, "icons/ChoicePoint.gif");
addImageFilePath(IMG_TRANSITION, "icons/Transition.gif");
}
}
|