예제 #1
0
            public void Restore(TreeMapPane pane)
            {
                if (!m_SelectedItem.Equals(default(Treemap.ObjectMetric)))
                {
                    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(default(Treemap.ObjectMetric), true);
                    }
                }

                pane.m_EventListener.OnRepaint();
            }
예제 #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);
        }
예제 #3
0
 public void OnClickGroup(Treemap.Group a)
 {
     m_TreeMap.SelectGroup(a);
     OpenGroupData(a);
 }