Skip to content

Commit

Permalink
#5401 fix TreeView
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed May 3, 2024
1 parent 259411d commit 5cc32d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ public class TreeviewPage extends VuetifyPage {
public static VueCheckbox caseSensitiveSearchCheckbox;

@JDITreeView(
core = "#SelectableIconsTreeview .v-treeview",
full = "mdi-bookmark",
not = "mdi-bookmark-outline"
core = "#SelectableIconsTreeview .v-treeview",
full = "mdi-bookmark",
not = "mdi-bookmark-outline"
)
public static TreeView selectableIconsTreeView;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.FIELD})
// @todo #5401 Check requirements and usage
public @interface JDITreeView {
@MarkupLocator String core() default "";
@MarkupLocator String coreNodes() default "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ public void clear() {
}

protected TreeViewNode create(UIElement base) {
TreeViewNode created = new TreeViewNode().setCore(TreeViewNode.class, base);
TreeViewNode created = new
TreeViewNode(this.checkboxFullyMarkedClass, this.checkboxNotMarkedClass, this.nodesInNodeLocator)
.setCore(TreeViewNode.class, base);
created.setName(String.format("TreeView %s", created.getValue()));
return created;
}
Expand Down

0 comments on commit 5cc32d6

Please sign in to comment.