private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
s.defaultReadObject();
hasKey=HasKeyImpl.deserialize(s,this);
//initUndo();
tasks = new LinkedList();
objectEventManager = new ObjectEventManager();
objectSelectionEventManager = new ObjectSelectionEventManager();
scheduleEventManager = new ScheduleEventManager();
multipleTransactionManager = new MultipleTransactionManager();
projectListenerList=new EventListenerList();
taskOutlines=new OutlineCollectionImpl(Settings.numHierarchies(),this);