Package net.sourceforge.veditor

Examples of net.sourceforge.veditor.VerilogPlugin


 
  /* (non-Javadoc)
   * @see org.eclipse.jface.viewers.LabelProvider#getImage(java.lang.Object)
   */
  public Image getImage(Object element) {
    VerilogPlugin plugin = VerilogPlugin.getPlugin();
    Image results = null;

    // if the element is an outline element
    if (element instanceof OutlineElement) {
      OutlineElement outlineElement = (OutlineElement) element;
      String imageName = getImageNameForType(outlineElement);
      results=plugin.getImage(imageName);     
    }   
   
    return results;
  }
View Full Code Here


   *
   * @param template the template, ignored in this implementation
   * @return the default template image
   */
  protected Image getTemplateImage(Template template) {   
    VerilogPlugin plugin=VerilogPlugin.getPlugin();
   
    return plugin.getImage(TEMPLATE_IMAGE);       
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.veditor.VerilogPlugin

Copyright © 2018 www.massapicom. 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.