import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.window.Window;
import org.eclipse.nebula.widgets.nattable.NatTable;
+import org.eclipse.nebula.widgets.nattable.command.VisualRefreshCommand;
import org.eclipse.nebula.widgets.nattable.config.AbstractRegistryConfiguration;
import org.eclipse.nebula.widgets.nattable.config.CellConfigAttributes;
import org.eclipse.nebula.widgets.nattable.config.ConfigRegistry;
btnCollapseAll.setEnabled(isTree);
btnExpandAll.setEnabled(isTree);
natTable.doCommand(new ClientAreaResizeCommand(natTable));
+ natTable.doCommand(new VisualRefreshCommand());
}
public void createTable(boolean treeView){