public void setMainWindow(MainWindow mw) { this.mw = mw; textView.setMainWindow(mw); xmlView.setMainWindow(mw); treeView.setMainWindow(mw); idleThread = new IdleThread(mw); idleThread.start(); }
private void notifyViews(Update upd) { idleThread.resetTimer(); textView.textFromXMLView(getContent()); mw.setFileStatus(true); mw.setGotInput(true); }