+ if(av!=null)
+ {
+ af.viewport.historyList = av.historyList;
+ af.viewport.redoList = av.redoList;
+ }
+ else
+ {
+ viewportsAdded.put(view.getSequenceSetId(), af.viewport);
+ }
+
+ PaintRefresher.Register(af.alignPanel, view.getSequenceSetId());
+ }