blob: 22f3a5416c7be6fe15b6f4b32558fa0786945dc3 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 Willink Transformations and others.
* 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:
* Adolfo Sanchez-Barbudo Herrera - initial API and implementation
*******************************************************************************/
/*
* generated by Xtext 2.10.0
*/
package org.eclipse.qvtd.doc.ui.labeling;
import com.google.inject.Inject;
import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider;
/**
* Provides labels for EObjects.
*
* See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider
*/
public class MiniOCLCSLabelProvider extends DefaultEObjectLabelProvider {
@Inject
public MiniOCLCSLabelProvider(AdapterFactoryLabelProvider delegate) {
super(delegate);
}
// Labels and icons can be computed like this:
// String text(Greeting ele) {
// return "A greeting to " + ele.getName();
// }
//
// String image(Greeting ele) {
// return "Greeting.gif";
// }
}