This GUITreeEditor shows the DOM tree for the GUI. More...
Inherits Component, and Listener.
Public Member Functions | |
GUITreeEditor (MagicGUIBuilder &builder) | |
void | paint (juce::Graphics &) override |
void | resized () override |
void | setValueTree (juce::ValueTree &refTree) |
void | updateTree () |
void | setSelectedNode (const juce::ValueTree &node) |
This GUITreeEditor shows the DOM tree for the GUI.
The order can be dragged within and nodes be selected to edit them in the PropertiesEditor. It also allows copy and paste via CMD+C/V of sub trees.
GUITreeEditor | ( | MagicGUIBuilder & | builder | ) |
References GUITreeEditor::setValueTree().
|
override |
|
override |
void setValueTree | ( | juce::ValueTree & | refTree | ) |
Referenced by GUITreeEditor::GUITreeEditor(), and GUITreeEditor::updateTree().
void updateTree | ( | ) |
References MagicGUIBuilder::getConfigTree(), and GUITreeEditor::setValueTree().
Referenced by ToolBox::stateWasReloaded().
void setSelectedNode | ( | const juce::ValueTree & | node | ) |
Referenced by ToolBox::setSelectedNode().