Examples of VerilogOutlineElement


Examples of net.sourceforge.veditor.parser.verilog.VerilogOutlineElementFactory.VerilogOutlineElement

   * Gets the element's image
   */
  public Image getImage()
  {
    if (m_Element instanceof VerilogOutlineElement) {
      VerilogOutlineElement e = (VerilogOutlineElement) m_Element;
      return VerilogPlugin.getPlugin().getImage(e.GetImageName());
    }
    return null;
  }
View Full Code Here

Examples of net.sourceforge.veditor.parser.verilog.VerilogOutlineElementFactory.VerilogOutlineElement

  }
 
  public Image getImage()
  {
    if (m_Element instanceof VerilogOutlineElement) {
      VerilogOutlineElement e = (VerilogOutlineElement) m_Element;
      return VerilogPlugin.getPlugin().getImage(e.GetImageName());
    }
    return null;
  }
View Full Code Here

Examples of net.sourceforge.veditor.parser.verilog.VerilogOutlineElementFactory.VerilogOutlineElement

   * @param Type element's type
   * @return
   */
  protected String convertToString(OutlineElement element){
    if (element instanceof VerilogOutlineElement) {
      VerilogOutlineElement verilogElement = (VerilogOutlineElement) element;
      return verilogElement.getLongName();
    }
    //something very wrong
    return element.toString();
  }
View Full Code Here

Examples of net.sourceforge.veditor.parser.verilog.VerilogOutlineElementFactory.VerilogOutlineElement

   * @param type Type string
   * @return Image name to be used for this type
   */
  protected String getImageNameForType(OutlineElement element){
    if (element instanceof VerilogOutlineElement) {
      VerilogOutlineElement verilogElement = (VerilogOutlineElement) element;
      return verilogElement.GetImageName();
    }
    //default
    return OBJ_IMAGE;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.