mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Display conditions - Added basic models
Display conditions - Added externally registerable condition operators Display conditions - Added GreaterThan condition for testing
This commit is contained in:
1 parent
448d94915c
commit
f9d26a8ba3
12 files changed
+248
-10
No files matched your search
@@ -57,7 +57,8 @@ namespace Artemis.UI.Shared.Services
|
||||
if (existing != null)
|
||||
{
|
||||
if (existing.PluginInfo != pluginInfo)
|
||||
throw new ArtemisPluginException($"Cannot register property editor for type {supportedType.Name} because an editor was already registered by {pluginInfo.Name}");
|
||||
throw new ArtemisPluginException($"Cannot register data model input for type {supportedType.Name} " +
|
||||
$"because an editor was already registered by {pluginInfo.Name}");
|
||||
return existing;
|
||||
}
|
||||
|
||||
@@ -78,7 +79,8 @@ namespace Artemis.UI.Shared.Services
|
||||
if (existing != null)
|
||||
{
|
||||
if (existing.PluginInfo != pluginInfo)
|
||||
throw new ArtemisPluginException($"Cannot register property editor for type {supportedType.Name} because an editor was already registered by {pluginInfo.Name}");
|
||||
throw new ArtemisPluginException($"Cannot register data model display for type {supportedType.Name} " +
|
||||
$"because an editor was already registered by {pluginInfo.Name}");
|
||||
return existing;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user