Package org.rstudio.studio.client.common.icons.code

Examples of org.rstudio.studio.client.common.icons.code.CodeIcons


       return this.type;
   }-*/;   
  
   public final ImageResource getIcon()
   {
      CodeIcons icons = CodeIcons.INSTANCE;
      switch(getType())
      {
      case UNKNOWN:
         return icons.keyword();
      case VARIABLE:
         return icons.variable();
      case FUNCTION:
      case CONSTRUCTOR:
      case DESTRUCTOR:
         return icons.function();
      case CLASS:
      case STRUCT:
         return icons.clazz();
      case NAMESPACE:
         return icons.namespace();
      case ENUM:
         return icons.enumType();
      case ENUM_VALUE:
         return icons.enumValue();
      case KEYWORD:
         return icons.keyword();
      case MACRO:
         return icons.macro();
      default:
         return icons.keyword();
      }
   }
View Full Code Here

TOP

Related Classes of org.rstudio.studio.client.common.icons.code.CodeIcons

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.