Exemplo n.º 1
0
        private void ToggleAsDefault()
        {
            SingletonManager <StyleTemplateManager> .Instance.ToggleAsDefaultTemplate(EditObject);

            ItemsPanel.RefreshItems();
            HeaderPanel.Refresh();
        }
Exemplo n.º 2
0
 protected virtual void AddHeader()
 {
     HeaderPanel = ComponentPool.Get <HeaderPanelType>(PropertiesPanel);
     HeaderPanel.Init(EditObject);
     HeaderPanel.OnSaveAsset += SaveAsset;
     HeaderPanel.OnEdit      += StartEditTemplate;
     HeaderPanel.OnSave      += SaveChanges;
     HeaderPanel.OnNotSave   += NotSaveChanges;
 }
Exemplo n.º 3
0
 private void ToggleAsDefault()
 {
     TemplateManager.StyleManager.ToggleAsDefaultTemplate(EditObject);
     ItemsPanel.RefreshItems();
     HeaderPanel.Init(EditObject);
 }