1 19 20 package org.netbeans.editor.ext.java; 21 22 import org.netbeans.editor.BaseTokenCategory; 23 import org.netbeans.editor.BaseTokenID; 24 import org.netbeans.editor.TokenID; 25 import org.netbeans.editor.BaseImageTokenID; 26 import org.netbeans.editor.TokenContext; 27 import org.netbeans.editor.TokenContextPath; 28 import org.netbeans.editor.Utilities; 29 30 38 39 public class JavaLayerTokenContext extends TokenContext { 40 41 43 public static final int METHOD_ID = 1; 45 46 50 51 public static final BaseTokenID METHOD 53 = new BaseTokenID("method", METHOD_ID); 55 public static final JavaLayerTokenContext context = new JavaLayerTokenContext(); 57 58 public static final TokenContextPath contextPath = context.getContextPath(); 59 60 61 private JavaLayerTokenContext() { 62 super("java-layer-"); 64 try { 65 addDeclaredTokenIDs(); 66 } catch (Exception e) { 67 Utilities.annotateLoggable(e); 68 } 69 70 } 71 72 } 73 74 | Popular Tags |