public InteractorStyle(Style s, String n, String javaStyle, InteractorAllocator ia) { style = s; name = SymbolManager.theSymbolManager.registerSymbol(n); allocateInteractor = ia; isDefault = false; interactorName = null; this.javaStyle = javaStyle; }
public static bool AddSupportedStyle(String interactor, Style style, String stylename, String javaStyle, InteractorAllocator ia) { Dictionary<String, InteractorStyle> styledict; styledict = GetInteractorStyleDictionary(interactor); if (styledict == null) styledict = new Dictionary<string, InteractorStyle>(); theInteractorStyleDictionary[interactor] = styledict; InteractorStyle istyle = new InteractorStyle(style, stylename, javaStyle, ia); styledict.Add(stylename, istyle); return true; }
// // Added supported style/name/interactorbuild group to the list // of supported styles for the given named interactor (node name). // public static bool AddSupportedStyle(String interactor, Style style, String stylename, InteractorAllocator ia) { return AddSupportedStyle(interactor, style, stylename, null, ia); }