public SaveOutputThread(ParserPanel _enclosing, string filename, JProgressBar progress, JDialog dialog, JButton button, IList <IList <IHasWord> > sentences)
 {
     this._enclosing = _enclosing;
     this.filename   = filename;
     this.progress   = progress;
     this.dialog     = dialog;
     this.button     = button;
     this.sentences  = sentences;
 }
Esempio n. 2
0
 /// <summary>Creates new Parser Frame.</summary>
 /// <param name="parserFilename">
 /// path to the serialized parser to load during
 /// initialization
 /// </param>
 /// <param name="dataFilename">path to the data file to load during initialization</param>
 public Parser(string parserFilename, string dataFilename)
 {
     InitComponents();
     parserPanel = new ParserPanel();
     GetContentPane().Add("Center", parserPanel);
     if (parserFilename != null)
     {
         parserPanel.LoadParser(parserFilename);
     }
     if (dataFilename != null)
     {
         parserPanel.LoadFile(dataFilename);
     }
     Pack();
 }
 internal TimerListener(ParserPanel _enclosing)
 {
     this._enclosing = _enclosing;
 }
 public ParseThread(ParserPanel _enclosing, IList <IHasWord> sentence)
 {
     this._enclosing = _enclosing;
     this.sentence   = sentence;
 }
 internal LoadParserThread(ParserPanel _enclosing, string zipFilename, string filename)
 {
     this._enclosing  = _enclosing;
     this.zipFilename = zipFilename;
     this.filename    = filename;
 }
 public _MouseMotionAdapter_902(ParserPanel _enclosing)
 {
     this._enclosing = _enclosing;
 }
 public _MouseAdapter_895(ParserPanel _enclosing)
 {
     this._enclosing = _enclosing;
 }
 public _FocusAdapter_888(ParserPanel _enclosing)
 {
     this._enclosing = _enclosing;
 }