예제 #1
0
 public PaletteCommands(
     ICommandService commandService,
     IContextRegistry contextRegistry,
     PaletteService paletteService)
 {
     m_commandService = commandService;
     m_contextRegistry = contextRegistry;
     m_paletteService = paletteService;
 }
예제 #2
0
            public PaletteTreeAdapter(PaletteService paletteService, StringSearchInputUI searchInput)
            {
                m_paletteService = paletteService;
                m_searchInput    = searchInput;

                if (ItemChanged == null)
                {
                    return;                      // inhibit compiler warning
                }
                if (Reloaded == null)
                {
                    return;
                }
            }
예제 #3
0
            public PaletteTreeAdapter(PaletteService paletteService, StringSearchInputUI searchInput,
                                      IComparer <string> categoryComparer)
            {
                m_paletteService = paletteService;
                m_searchInput    = searchInput;
                m_categories     = new SortedDictionary <string, List <object> >(categoryComparer);

                if (ItemChanged == null)
                {
                    return;                      // inhibit compiler warning
                }
                if (Reloaded == null)
                {
                    return;
                }
            }
예제 #4
0
            public PaletteTreeAdapter(PaletteService paletteService, StringSearchInputUI searchInput,
                IComparer<string> categoryComparer)
            {
                m_paletteService = paletteService;
                m_searchInput = searchInput;
                m_categories = new SortedDictionary<string, List<object>>(categoryComparer);

                if (ItemChanged == null) return; // inhibit compiler warning
                if (Reloaded == null) return;
            }
예제 #5
0
            public PaletteTreeAdapter(PaletteService paletteService, StringSearchInputUI searchInput)
            {
                m_paletteService = paletteService;
                m_searchInput = searchInput;

                if (ItemChanged == null) return; // inhibit compiler warning
                if (Reloaded == null) return;
            }