The R Project SVN R

Rev

Rev 1230 | Rev 5458 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1230 Rev 3765
Line 3... Line 3...
3
  Project: 
3
  Project: 
4
  
4
  
5
  JAVA Source file for the class Tracer
5
  JAVA Source file for the class Tracer
6
  
6
  
7
  COPYRIGHT (C), 1998, Thomas Baier
7
  COPYRIGHT (C), 1998, Thomas Baier
-
 
8
  
-
 
9
 *  This program is free software; you can redistribute it and/or modify
-
 
10
 *  it under the terms of the GNU General Public License as published by
-
 
11
 *  the Free Software Foundation; either version 2 of the License, or
8
  ALL RIGHTS RESERVED.
12
 *  (at your option) any later version.
-
 
13
 *
-
 
14
 *  This program is distributed in the hope that it will be useful,
-
 
15
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
-
 
16
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-
 
17
 *  GNU General Public License for more details.
-
 
18
 *
-
 
19
 *  You should have received a copy of the GNU General Public License
-
 
20
 *  along with this program; if not, write to the Free Software
-
 
21
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
9
  
22
  
10
  $Source: /scratch/CVS-ARCHIVE/R/doc/html/search/Tracer.java,v $
23
  $Source: /scratch/CVS-ARCHIVE/R/doc/html/search/Tracer.java,v $
11
  
24
  
12
  $Revision: 1.1 $
25
  $Revision: 1.2 $
13
 
26
 
14
  $Date: 1998/05/15 10:38:10 $
27
  $Date: 1999/03/04 17:15:19 $
15
  
28
  
16
  $Author: leisch $
29
  $Author: leisch $
17
 
30
 
18
==============================================================================*/
31
==============================================================================*/
19
 
32
 
Line 58... Line 71...
58
  
71
  
59
    HISTORY:   98-05-10: created
72
    HISTORY:   98-05-10: created
60
  ----------------------------------------------------------------------------*/
73
  ----------------------------------------------------------------------------*/
61
  public static void write (String string)
74
  public static void write (String string)
62
  {
75
  {
63
    // create a trace window
76
    //create a trace window
64
    //    if (cTracer == null) {
77
//       if (cTracer == null) {
65
    //      cTracer = new Tracer ();
78
 //        cTracer = new Tracer ();
66
    //    }
79
 //      }
67
 
80
    
68
    //    cTracer._write (string);
81
 //      cTracer._write (string);
69
 
82
 
70
    return;
83
    return;
71
  }
84
  }
72
 
85
 
73
 
86
 
Line 83... Line 96...
83
  
96
  
84
    HISTORY:   98-05-10: created
97
    HISTORY:   98-05-10: created
85
  ----------------------------------------------------------------------------*/
98
  ----------------------------------------------------------------------------*/
86
  public static void start ()
99
  public static void start ()
87
  {
100
  {
88
    if (cTracer != null) {
101
  //  if (cTracer != null) {
89
      cTracer.show ();
102
  //    cTracer.show ();
90
    }
103
 //   }
91
 
104
 
92
    return;
105
    return;
93
  }
106
  }
94
 
107
 
95
 
108
 
Line 102... Line 115...
102
    PARAMS:    
115
    PARAMS:    
103
    THROWS:    
116
    THROWS:    
104
    RETURNS:   void
117
    RETURNS:   void
105
  
118
  
106
    HISTORY:   98-05-10: created
119
    HISTORY:   98-05-10: created
-
 
120
               98-11-14: replaced deprecated hide() with setVisible()
107
  ----------------------------------------------------------------------------*/
121
  ----------------------------------------------------------------------------*/
108
  public static void stop ()
122
  public static void stop ()
109
  {
123
  {
110
    if (cTracer != null) {
124
  //  if (cTracer != null) {
111
      cTracer.hide ();
125
   //   cTracer.setVisible (false);
112
    }
126
    //}
113
 
127
 
114
    return;
128
    return;
115
  }
129
  }
116
 
130
 
117
 
131
 
Line 170... Line 184...
170
    PARAMS:    
184
    PARAMS:    
171
    THROWS:    
185
    THROWS:    
172
    RETURNS:   void
186
    RETURNS:   void
173
  
187
  
174
    HISTORY:   98-05-10: created
188
    HISTORY:   98-05-10: created
-
 
189
               98-11-14: replaced deprecated appendText() with append()
175
  ----------------------------------------------------------------------------*/
190
  ----------------------------------------------------------------------------*/
176
  private void _write (String string)
191
  private void _write (String string)
177
  {
192
  {
178
    iOutput.appendText (string);
193
    iOutput.append (string);
179
 
194
 
180
    return;
195
    return;
181
  }
196
  }
182
 
197
 
183
 
198
 
Line 197... Line 212...
197
/*==============================================================================
212
/*==============================================================================
198
 
213
 
199
  HISTORY:
214
  HISTORY:
200
  
215
  
201
  $Log: Tracer.java,v $
216
  $Log: Tracer.java,v $
202
  Revision 1.1  1998/05/15 10:38:10  leisch
217
  Revision 1.2  1999/03/04 17:15:19  leisch
-
 
218
  various bugfixes
-
 
219
 
-
 
220
  Revision 1.1.4.1  1999/03/02 15:19:58  leisch
-
 
221
  search used only kewords, no titles
-
 
222
 
-
 
223
  Revision 1.3  1998/11/14 23:33:25  baier
203
  New: Search Engine
224
  adjusted to JDK 1.1
204
 
225
 
205
  Revision 1.2  1998/05/10 22:57:14  baier
226
  Revision 1.2  1998/05/10 22:57:14  baier
206
  tracer window disabled
227
  tracer window disabled
207
 
228
 
208
  Revision 1.1  1998/05/10 02:44:44  baier
229
  Revision 1.1  1998/05/10 02:44:44  baier