use of org.obeonetwork.dsl.environment.BindingInfo in project InformationSystem by ObeoNetwork.
the class BindingInfoItemProvider method getText.
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
@Override
public String getText(Object object) {
String label = " ";
BindingInfo bindingInfo = (BindingInfo) object;
if (bindingInfo.getLeft() != null) {
label += labelProvider.getText(bindingInfo.getLeft());
} else {
label += "undefined";
}
label += " - ";
if (bindingInfo.getRight() != null) {
label += labelProvider.getText(bindingInfo.getRight());
} else {
label += "undefined";
}
return " ".equals(label) ? getString("_UI_BindingInfo_type") : getString("_UI_BindingInfo_type") + " " + label;
}
Aggregations