}
public void update(Observable o, Object arg) {
if (arg == null) {
this.clearSelection();
SelectionModel model = (SelectionModel) o;
if (!model.isSelectionEmpty()) {
Iterator<SelectionItem> itemsIt = model.getCurrentSegments().iterator();
while (itemsIt.hasNext()) {
SelectionItem selectItem = itemsIt.next();
if (selectItem.isSelected()) {
this.components.get(selectItem.getIndexSegement()).selectPlot();
}