blob: 50d3a9209cd64693744475bf2f62abcbc8870a2a [file] [log] [blame]
/*****************************************************************************
* Copyright (c) 2016 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* CEA LIST Initial API and implementation
*****************************************************************************/
package org.eclipse.papyrus.moka.engine.uml.debug.ui.data.presentation;
import org.eclipse.papyrus.moka.engine.uml.debug.ui.UMLDebugPlugin;
import org.eclipse.swt.graphics.Image;
public class ExecutionContextVariableLabelProvider extends UMLDebugLabelProvider {
public static final String CONTEXT_ICON = "resources/icons/context.gif";
@Override
public Image getImage(Object element) {
if(element != null){
return UMLDebugPlugin.getDefault().getImageRegistry().get(CONTEXT_ICON);
}
return null;
}
}