public void updatePropertiesPanel(final boolean force) { final PackagingElement<?> selected = getSelection().getElementIfSingle(); if (!force && Comparing.equal(selected, mySelectedElementInfo.myElement)) { return; } mySelectedElementInfo.save(); mySelectedElementInfo = new SelectedElementInfo<PackagingElement<?>>(selected); mySelectedElementInfo.showPropertiesPanel(); }
public void initTree() { myBuilder.initRootNode(); mySelectedElementInfo.showPropertiesPanel(); }