public void UpdatePropertyList(DrawElement obj) { // Depends on Object.... //if (ElementTracker.Instance.TrackObj != obj) { obj.Factory.PopulatePropertyList(obj.Property); FactoryManager.getInstance().SetSelectedFactory(obj.Factory); } }
// MUST Overide this method to reflect concrete property public virtual void UpdateProperty(DrawElement obj) { if (obj == null) { return; } UpdatePropertyList(obj); m_GridView.Invalidate(); m_Control.Invalidate(); }
// Remove item from the mList public void Remove(DrawElement item) { mList.Remove(item); }