NBTExplorer/NBTModel/Data/Nodes/NodeCapabilities.cs

33 lines
704 B
C#
Raw Normal View History

2012-08-31 05:29:32 +00:00
using System;
namespace NBTExplorer.Model
{
[Flags]
public enum NodeCapabilities
{
None = 0,
Cut = 0x1,
Copy = 0x2,
PasteInto = 0x4,
Rename = 0x8,
Edit = 0x10,
Delete = 0x20,
CreateTag = 0x40,
Search = 0x80,
2012-09-02 03:59:53 +00:00
Reorder = 0x100,
2012-11-11 18:52:12 +00:00
Refresh = 0x200,
2012-08-31 05:29:32 +00:00
}
2012-11-15 05:27:35 +00:00
[Flags]
public enum GroupCapabilities
{
Single = 0x0,
SiblingSameType = 0x1,
SiblingMixedType = 0x2 | SiblingSameType,
MultiSameType = 0x4 | SiblingSameType,
MultiMixedType = 0x8 | MultiSameType | SiblingMixedType,
ElideChildren = 0x10,
All = MultiMixedType | ElideChildren,
}
2012-08-31 05:29:32 +00:00
}