Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
 //
 // 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);
 }