Skip to content

Commit

Permalink
Shorten class names in config editor
Browse files Browse the repository at this point in the history
  • Loading branch information
hylkevds committed Sep 13, 2023
1 parent a599e4e commit 8203f0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ public class Server extends AbstractConfigurable<Void, Void> {
label = "Auth",
description = "The method to use for authentication",
optional = false)
@EditorSubclass.EdOptsSubclass(iface = AuthMethod.class, nameField = "authClass")
@EditorSubclass.EdOptsSubclass(iface = AuthMethod.class, nameField = "authClass", shortenClassNames = true)
private AuthMethod authMethod;

@ConfigurableField(editor = EditorList.class,
label = "Data Models", description = "A list of data models, loaded in the given order.")
@EditorList.EdOptsList(editor = EditorSubclass.class)
@EditorSubclass.EdOptsSubclass(iface = DataModel.class)
@EditorSubclass.EdOptsSubclass(iface = DataModel.class, shortenClassNames = true)
private List<DataModel> dataModels;

/**
Expand Down

0 comments on commit 8203f0d

Please sign in to comment.