2022-05-09 07:23:27 -04:00
|
|
|
|
using JetBrains.Annotations;
|
|
|
|
|
|
|
|
|
|
namespace TriInspector
|
2021-12-07 10:20:36 -05:00
|
|
|
|
{
|
|
|
|
|
public abstract class TriCustomDrawer
|
|
|
|
|
{
|
|
|
|
|
internal int Order { get; set; }
|
2022-05-21 04:17:47 -04:00
|
|
|
|
internal bool? ApplyOnArrayElement { get; set; }
|
2021-12-07 10:20:36 -05:00
|
|
|
|
|
2022-05-09 07:23:27 -04:00
|
|
|
|
[PublicAPI]
|
|
|
|
|
public virtual void Initialize(TriPropertyDefinition propertyDefinition)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[PublicAPI]
|
2022-01-19 04:57:42 -05:00
|
|
|
|
public virtual string CanDraw(TriProperty property)
|
|
|
|
|
{
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-07 10:20:36 -05:00
|
|
|
|
public abstract TriElement CreateElementInternal(TriProperty property, TriElement next);
|
|
|
|
|
}
|
|
|
|
|
}
|