package jetbrains.mps.ide.editor.util;

/*Generated by MPS */

import jetbrains.mps.annotations.GeneratedClass;
import jetbrains.mps.ide.editor.util.renderer.BaseRenderer;
import org.jetbrains.annotations.Nullable;
import javax.swing.Icon;

@GeneratedClass(node = "r:4e6037e6-9135-44f8-9403-04d79fc40f4a(jetbrains.mps.ide.editor.util)/7177783642781187645", model = "r:4e6037e6-9135-44f8-9403-04d79fc40f4a(jetbrains.mps.ide.editor.util)")
public class CustomizedNavigatableRenderer extends BaseRenderer<CustomizedNavigatable> {
  @Override
  protected String getElementText(CustomizedNavigatable element) {
    return element.getText();
  }
  @Nullable
  @Override
  protected String getContainerText(CustomizedNavigatable element, final String name) {
    return element.getContainerText();
  }
  @Override
  protected Icon getIcon(CustomizedNavigatable element) {
    return element.getIcon();
  }
}
