private void setLocatable(Locatable locatable) {
this.locatable = locatable;
topPanel.setLocatable(locatable);
DataLocation loc = locatable.getLocation();
if (loc != null) {
DataLocationPanel panel = panelFactory.getPanel(loc);
locationDisplayer.showDataLocationPanel(panel);
fireTypeSelectionChange(loc.getDataLocationType());
} else {
fireTypeSelectionChange(null);
}