예제 #1
0
        private void validationContext_Ended(object sender, EventArgs e)
        {
            // refresh root.
            LayerLister lister = Globals.MEFContainer.GetExportedValue <LayerLister>();

            lister.TreeControlAdapter.Refresh(m_rootLayers);
        }
예제 #2
0
 public LayeringCommands(
     ICommandService commandService,
     IContextRegistry contextRegistry,
     LayerLister layerLister)
 {
     m_commandService = commandService;
     m_contextRegistry = contextRegistry;
     m_layerLister = layerLister;
 }
예제 #3
0
 public LayeringCommands(
     ICommandService commandService,
     IContextRegistry contextRegistry,
     LayerLister layerLister)
 {
     m_commandService  = commandService;
     m_contextRegistry = contextRegistry;
     m_layerLister     = layerLister;
 }
예제 #4
0
        public void RefreshRoot()
        {
            // refresh root.
            LayerLister lister = Globals.MEFContainer.GetExportedValue <LayerLister>();

            if (lister != null)
            {
                lister.TreeControlAdapter.Refresh(m_layerRoot);
            }
        }