use of com.sldeditor.ui.tree.SLDTreeTools in project sldeditor by robward-scisys.
the class SingleSymbolUI method getSymbolTree.
/**
* Gets the symbol tree.
*
* @return the symbol tree
*/
public SLDTree getSymbolTree() {
if (sldTree == null) {
SLDTreeTools sldTreeTools = new SLDTreeTools();
sldTree = SLDTreeManager.getInstance().createSLDTree(getRendererList(), sldTreeTools);
// Register for updates to the SLD tree structure
SelectedSymbol.getInstance().setTreeUpdateListener(sldTree);
// Register for notifications when user clicks on the SLD tree
sldTree.addSymbolSelectedListener((SymbolizerSelectedInterface) getSymbolizerDetailsPanel());
}
return sldTree;
}
Aggregations