#if UNITY_2019_4_OR_NEWER
using com.zibra.liquid.Foundation.Editor;
using UnityEditor;
using UnityEngine.UIElements;
namespace com.zibra.liquid.Plugins.Editor
{
///
/// Base window tab implementation for
///
internal abstract class BaseTab : VisualElement
{
///
/// Created tab with the content of provided uxml file.
///
/// Project related uxml/uss file path without extensions.
protected BaseTab(string path)
{
UIToolkitEditorUtility.CloneTreeAndApplyStyle(this, path);
}
///
/// Tab root.
///
public VisualElement Root => this;
}
}
#endif