ICategoryTreeParent
com.jsmacrosce.jsmacros.client.gui.settings.ICategoryTreeParent
Receives category-selection requests from a settings category tree, in addition to the inherited container operations.
A script can forward an ordered path using the array parameter:
js
function selectSettingsCategory(parent, segments) {
parent.selectCategory(Java.to(segments, 'java.lang.String[]'));
}Here, parent is an ICategoryTreeParent supplied by the editor or container.