Exemplo n.º 1
0
            public void Restore(TreeMapPane pane)
            {
                if (m_SelectedItem != null)
                {
                    if (pane.m_TreeMap.HasMetric(m_SelectedItem))
                    {
                        pane.OpenMetricData(m_SelectedItem, true);
                    }
                    else
                    {
                        pane.ShowAllObjects(m_SelectedItem, true);
                    }
                }
                else if (m_GroupName != null)
                {
                    Treemap.Group group = pane.m_TreeMap.FindGroup(m_GroupName);

                    if (group != null)
                    {
                        pane.OnClickGroup(group);
                    }
                    else
                    {
                        pane.ShowAllObjects(null, true);
                    }
                }

                pane.m_EventListener.OnRepaint();
            }
Exemplo n.º 2
0
        void OpenGroupData(Treemap.Group group)
        {
            var lr = new Database.LinkRequestTable();

            lr.LinkToOpen           = new Database.TableLink();
            lr.LinkToOpen.TableName = ObjectAllTable.TableName;
            lr.SourceTable          = null;
            lr.SourceColumn         = null;
            lr.SourceRow            = -1;
            OpenLinkRequest(lr, false, group._name, false);
        }
Exemplo n.º 3
0
 public void OnClickGroup(Treemap.Group a)
 {
     m_TreeMap.SelectGroup(a);
     OpenGroupData(a);
 }