/**
  * This returns the label text for the adapted class.
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated NOT
  */
 @Override
 public String getText(Object object) {
   ViewContainerReference viewContainerReference = (ViewContainerReference) object;
   String label = viewContainerReference.getName();
   if (label == null) {
     label += "";
   }
   if (viewContainerReference.getViewContainer() != null) {
     label += " : " + viewContainerReference.getViewContainer().getName();
   }
   return label == null || label.length() == 0
       ? getString("_UI_ViewContainerReference_type")
       : getString("_UI_ViewContainerReference_type") + " " + label;
 }
  /**
   * This returns ViewContainerReference.gif.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated NOT
   */
  @Override
  public Object getImage(Object object) {
    ViewContainerReference viewContainerReference = (ViewContainerReference) object;
    if (viewContainerReference.getViewContainer() != null) {
      Object viewContainerImage =
          getAdapterFactoryLabelProvider().getImage(viewContainerReference.getViewContainer());

      // Add an overlay to indicate it's a reference to this ViewContainer
      List<Object> images = new ArrayList<Object>(2);
      images.add(viewContainerImage);
      images.add(getResourceLocator().getImage("full/ovr16/ViewContainerReferenceOverlay"));
      Object viewContainerReferenceImage = new ComposedImage(images);
      return overlayImage(object, viewContainerReferenceImage);
    } else {
      return overlayImage(
          object, getResourceLocator().getImage("full/obj16/ViewContainerReference"));
    }
  }