blob: dc38e6552ba29603149fa947c761ed6d77d25d58 [file] [log] [blame]
/*
* generated by Xtext
*/
/*------------------------------------------------------------------------------
-
- Copyright (c) 2013, 2015 Intecs SpA
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v2.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v20.html
-
- Contributors:
-
- Stefano Puri stefano.puri@intecs.it
-
- Initial API and implementation and/or initial documentation
------------------------------------------------------------------------------*/
package org.polarsys.chess.xtext.ui.labeling
import com.google.inject.Inject
/**
* Provides labels for EObjects.
*
* See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider
*/
class FlaDslLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider {
@Inject
new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) {
super(delegate);
}
// Labels and icons can be computed like this:
// def text(Greeting ele) {
// 'A greeting to ' + ele.name
// }
//
// def image(Greeting ele) {
// 'Greeting.gif'
// }
}