| /********************************************************************* |
| * Copyright (c) 2005, 2019 SAP SE |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * Contributors: |
| * SAP SE - initial API, implementation and documentation |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| **********************************************************************/ |
| package org.eclipse.graphiti.examples.tutorial; |
| |
| import org.eclipse.graphiti.ui.platform.AbstractImageProvider; |
| |
| public class TutorialImageProvider extends AbstractImageProvider { |
| |
| // The prefix for all identifiers of this image provider |
| protected static final String PREFIX = "org.eclipse.graphiti.examples.tutorial."; //$NON-NLS-1$ |
| |
| // The image identifier for an EReference. |
| public static final String IMG_EREFERENCE = PREFIX + "ereference"; //$NON-NLS-1$ |
| |
| @Override |
| protected void addAvailableImages() { |
| // register the path for each image identifier |
| addImageFilePath(IMG_EREFERENCE, "icons/ereference.gif"); //$NON-NLS-1$ |
| } |
| } |